Liam Cervante
411f18e6ac
ephemerals: allow root ephemeral outputs in stacks and test ( #37813 )
...
* ephemerals: allow root ephemeral outputs in stacks and test
* remember to set new opt for apply stage
2025-10-28 09:29:44 +01:00
Liam Cervante
7fadbe34de
write-only attributes: internal providers should set write-only attributes to null ( #36824 )
...
* write-only attributes: internal providers should set write-only attributes to null
* add changelog
* fix copywrite headers
2025-04-02 15:58:42 +02:00
Daniel Schmidt
bc901abcc5
stacks: test resource identity
2025-03-12 14:46:50 +01:00
Daniel Banck
b2b42c0fb4
Store resource identities in state (TF-23255) ( #36464 )
...
* Persist resource identity in Terraform state
* make syncdeps
* Move identity schema merging closer to the protocol
* mock GetResourceIdentitySchemas
* Fix identity refresh tests
* Add more tests
* Change grcpwrap upgrade identity
* Review feedback
* Remove unnecessary version conversion
* Check if GetResourceIdentitySchemas RPC call is implemented
* Update function signature docs
* Adapt protocol changes
* Check unimplemented error for identities in GetSchema
2025-03-11 20:58:44 +01:00
Daniel Banck
10c9b64007
Rename schema.Block to Body ( #36629 )
2025-03-04 16:33:43 +01:00
Liam Cervante
669e8ff1a6
stacks: skip full plan/apply cycles when deleting empty state ( #35831 )
2024-10-09 16:32:54 +02:00
Liam Cervante
d93e18d155
stacks: separate refresh and destroy stages during destroy plans ( #35744 )
...
* add tests that highlight known issues in the destroy mechanism
* separate refresh during destroy plans
* use the refresh outputs during destroy plans
* copywrite headers
2024-09-19 11:36:41 +02:00
Liam Cervante
436b72b63b
stacks: fix memory leak caused by unclosed providers ( #35678 )
...
* stacks: make the mock provider error if it's not cleaned up
* stacks: start and clean up unconfigured clients once
2024-09-07 14:22:16 +02:00
Liam Cervante
7163c4b6d5
stacks: fix destroy ordering of stacks destroy plans ( #35665 )
...
* stacks: remove unneeded required components functions
* stacks: refactor the mock provider for realism
* deferred actions: fix missing features in deletions
* stacks: fix destroy ordering of stacks destroy plans
* fix missing import
2024-09-05 12:10:24 +02:00
Liam Cervante
36f11851a6
stacks: refactor the mock provider for realism ( #35654 )
2024-09-05 11:29:15 +02:00
Liam Cervante
cb7bae3217
stacks: remove stale state during Stack apply operations ( #35639 )
2024-08-28 09:23:41 +02:00
Liam Cervante
964c64157c
stacks: fix bug preventing unconfigured clients within Terraform ( #35571 )
...
* stacks: fix bug preventing cross-provider move refactorings
* also make provider functions work
2024-08-22 09:20:47 +02:00
Liam Cervante
46393f2a92
stacks: apply automatic type conversion before comparing inputs ( #35530 )
...
* stacks: apply automatic type conversion before comparing inputs
* correct error message for missing ephemeral value during apply
2024-08-05 10:08:35 +02:00
Liam Cervante
87bbc47737
stacks: include plan mode in stacks plan format ( #35405 )
...
* stacks: include plan mode in stacks plan format
* fix tests
* fix missed files
2024-07-23 17:45:07 +02:00
Liam Cervante
3ecf7655ba
stacks: insert unknown values for missing outputs during applies ( #35463 )
...
* stacks: insert unknown values for missing outputs during apply operations
* fix tests
2024-07-17 08:44:39 +02:00
Liam Cervante
c0499647fa
stacks: include moved and removed in API ( #35360 )
...
* stacks: include moved and removed in API
* fix race test
2024-06-20 11:04:22 +02:00
Liam Cervante
517f9944f7
stacks: support deferred imports in stacks events ( #35334 )
...
* stacks: support deferred imports in stacks events
* fix indentation
* fix tests
2024-06-14 13:57:49 +02:00
Liam Cervante
fc390038f3
stacks: add tests for and refactor steps when a provider can't be configured ( #35294 )
2024-06-06 13:36:57 +02:00
Daniel Schmidt
59ead5356f
stacks: update RPC APIs with deferral information ( #35125 )
...
* stacks: add deferred resource instance planned change to protobuf
* stacks: add deferred resource instance to stack plan sequence
* stacks: add planned change for deferred actions
* stacks: refactor planned change resource instance planned
moving the components out of the main function definition so that we can reuse the implementation for deferred resource instances which wraps the message used for PlannedChangeResourceInstancePlanned
* stacks: track deferred changes in stackplan
* add simple tests
* fix tests
* address comments
---------
Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
2024-06-04 15:14:00 +02:00
Liam Cervante
bced645a4d
stacks: call terraform.Validate on stack component configs ( #34705 )
2024-02-21 10:58:44 +01:00
Liam Cervante
64b311d53a
stacks: apply sensitive marks to outputs from components ( #34684 )
...
* stacks: apply sensitive marks to outputs from components
* gen headers
* ensure consistent test ordering
2024-02-16 10:46:50 +01:00