Radek Simko
0fe906fa8c
make copyrightfix
2026-02-17 13:56:34 +00:00
Liam Cervante
7ac2b7938e
Stacks: temporarily disable ephemeral outputs in Stack components ( #37823 )
2025-10-31 09:52:48 +01:00
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
2a1b4c3ed4
Update go-cty and HCL for 1.13 release ( #37298 )
2025-07-09 13:05:18 +02:00
Matej Risek
a9b67a6cdc
stacks: Don't require built-in providers to be listed under required providers. ( #37234 )
2025-06-18 17:02:27 +02:00
Liam Cervante
b6be635748
stacks migrate: allow resource mapping to include nested resources ( #37060 )
...
* stacks migrate: allow resource mapping to include nested resources
* make protobuf
2025-05-16 10:10:47 +02:00
Liam Cervante
a80220dcc9
stacks: rename .tfstack files to .tfcomponent ( #37013 )
...
* stacks: rename .tfstack files to .tfcomponent
* fix consistency issues
2025-05-15 08:33:13 +02:00
James Bardin
807e084130
final renaming for function results
2025-05-08 11:42:05 -04:00
James Bardin
a6ec17cb77
rename function results table
...
Remove "provider" from the function results fields since it's not going
to be exclusively used for providers any longer.
2025-05-07 16:03:43 -04:00
James Bardin
d016070564
move function results hashing to lang
...
We need to abstract the function results verification to use internally
too, so start by moving it out of the providers code.
2025-05-07 13:02:46 -04:00
Liam Cervante
dcff9e4d2c
stacks: improve test coverage for removed blocks ( #36914 )
...
* stacks: improve test coverage for removed blocks
* remove leftover comment
2025-04-24 09:22:50 +02:00
Liam Cervante
063757ff45
stacks: refactor plan, state, and removed tracking with tree structures for efficient lookups ( #36850 )
2025-04-16 14:05:51 +02:00
Liam Cervante
a06f82746a
stacks: update removed blocks to allow targeting of embedded stacks ( #36814 )
...
* stacks: update removed blocks to allow targeting of embedded stacks
* copywrite headers
2025-04-04 15:01:37 +02:00
Liam Cervante
fbd5a7930e
stacks: allow removed blocks to target components in nested stacks ( #36787 )
...
* stacks: allow removed blocks to target components in nested stacks
* make copywrite fix
* fix comments
2025-04-03 10:29:18 +02:00
Liam Cervante
c8044baf47
stacks: emit state updates for unclaimed components ( #36702 )
...
* stacks: allow multiple removed blocks to target the same component
* make linter happy
* stacks: emit state updates for unclaimed components
2025-04-02 08:39:10 +02:00
Liam Cervante
c16d466773
stacks: allow multiple removed blocks to target the same component ( #36693 )
...
* stacks: allow multiple removed blocks to target the same component
* make linter happy
2025-03-18 08:54:27 +01:00
Liam Cervante
d4d92ea0b9
Fix broken build due to merge conflicts ( #36679 )
2025-03-12 09:47:07 +00:00
Liam Cervante
3d014d82f3
stacks: fix errors processing index keys of removed blocks ( #36673 )
2025-03-12 10:33:18 +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
Liam Cervante
1c04516392
stacks: allow unknown variables during apply operations ( #36311 )
2025-01-20 12:18:35 +01:00
Liam Cervante
a384d2daa7
stacks: fix deferred data sources and unknown component applies ( #35876 )
2024-10-22 11:23:53 +02:00
Liam Cervante
7eb94fa7c8
stacks: fix tests broken now that ephemeral outputs aren't allowed
2024-10-11 10:23:10 +02:00
Liam Cervante
bfa320c7b0
stacks: represent ephemeral inputs and outputs as null ( #35824 )
...
* stacks: represent ephemeral inputs and outputs as null
* quick fix: remove unnecessary check
2024-10-08 16:46:31 +02:00
James Bardin
384f2d4fab
update collections to use for-range method
2024-10-04 11:22:44 -04:00
Liam Cervante
db132eefac
stacks: stacks destroy ordering should match Terraform ( #35748 )
...
* add tests that highlight known issues in the destroy mechanism
* stacks: stacks destroy ordering should match Terraform
2024-09-20 08:20:32 +02:00
Liam Cervante
b38fd17cf9
stacks: emit removal notices for empty components ( #35738 )
...
* stacks: emit removal notices for empty components
* fix tests and checks
2024-09-18 10:41:36 +02:00
Daniel Schmidt
e50a1ac824
stacks: fix dependency handling in component forget
2024-09-17 14:15:43 +02:00
Liam Cervante
3b30caa42b
stacks: mark input and output changes as no-ops when no changes ( #35725 )
2024-09-16 11:53:21 +02:00
Liam Cervante
d142486a40
stacks: expand plan and apply outputs for inputs ( #35724 )
2024-09-16 11:45:19 +02:00
Liam Cervante
73e3f8096b
stacks: complete stack output implementation for plan and apply ( #35723 )
2024-09-16 11:36:36 +02:00
Daniel Schmidt
f1b7faf901
stacks: remove TODO
2024-09-16 10:20:30 +02:00
Daniel Schmidt
ceb52e65bb
stacks: support forgetting components
2024-09-16 10:20:29 +02:00
Liam Cervante
99a94908e7
stacks: do not include removed block instances that do not exist in state ( #35693 )
...
* stacks: include a warning if a removed block targets a non-existent component
* check plan/apply stages separately
* no warning
2024-09-10 15:56:37 +02:00
Liam Cervante
6b2cc9c379
stacks: include existing instances for unknown removed and component blocks ( #35691 )
2024-09-10 08:59:04 +02:00
Liam Cervante
b22db510d4
stacks: error when removing a component still in config ( #35692 )
2024-09-10 08:50:09 +02:00
Liam Cervante
c00bee8bbd
stacks: add a test for removed blocks in embedded stacks ( #35681 )
...
* stacks: add a test for removed blocks in embedded stacks
* restore test files
2024-09-07 15:22:59 +02:00
Liam Cervante
cf49545b5a
stacks: include removed blocks during validate command ( #35680 )
2024-09-07 15:04:14 +02:00
Liam Cervante
6f9df8f5eb
stacks: ensure that all components in state are referenced in configuration ( #35677 )
...
* stacks: ensure that all components in state are referenced by a component or resource block
* fix compile error
2024-09-07 14:54:32 +02:00
Liam Cervante
f8fe397d88
stacks: add removed block functionality ( #35671 )
...
* stacks: add removed block functionality
* fix compile errors
2024-09-07 14:36:16 +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
James Bardin
20f66dffd0
fixup new test comparator
2024-08-22 09:40:47 -04:00
James Bardin
0b8fbfe323
ignore unexported state field in comparison
...
and unify the options used to compare changes in tests
2024-08-22 09:39:37 -04:00
Liam Cervante
f1ae07b1af
stacks: add support for provider functions in .tfstack.hcl files ( #35610 )
...
* stacks: fix bug preventing cross-provider move refactorings
* also make provider functions work
* stacks: add support for provider functions in .tfstack.hcl files
2024-08-22 09:28:39 +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
047c1af0b4
stacks: add tests for state manipulation failure cases ( #35589 )
2024-08-19 11:45:08 +02:00
Liam Cervante
bb73fb1d69
stacks: don't validate input variables during the apply phase ( #35561 )
2024-08-14 09:47:13 +02:00
Liam Cervante
5939efb798
stacks: add depends_on for embedded stacks and components ( #35549 )
2024-08-12 15:02:36 +02:00