Commit Graph

358 Commits (stacks-variable-validations)

Author SHA1 Message Date
Liam Cervante 9bbe34daa4
stacks: pre-destroy refresh should use a normal plan (#36696)
1 year ago
Liam Cervante c16d466773
stacks: allow multiple removed blocks to target the same component (#36693)
1 year ago
Daniel Schmidt bc901abcc5 stacks: test resource identity
1 year ago
Liam Cervante d4d92ea0b9
Fix broken build due to merge conflicts (#36679)
1 year ago
Liam Cervante 3d014d82f3
stacks: fix errors processing index keys of removed blocks (#36673)
1 year ago
Daniel Schmidt fec6e4b552 send resource identities to provider calls
1 year ago
Daniel Banck b2b42c0fb4
Store resource identities in state (TF-23255) (#36464)
1 year ago
Daniel Banck 10c9b64007
Rename schema.Block to Body (#36629)
1 year ago
James Bardin 3b3e4bf003 update the rest of the go:generate calls
1 year ago
Liam Cervante 1c04516392
stacks: allow unknown variables during apply operations (#36311)
1 year ago
Liam Cervante a5c9903bbe
deferred actions: don't plan partial resources during refresh and destroy (#36310)
1 year ago
Samsondeen aec7c3cc89
terraform test: allow computed/mocked values override during planning (#36227)
1 year ago
Daniel Schmidt 0ff1b77afa
standardize client capabilities
1 year ago
Daniel Schmidt 3a962e8e7e
ephemeral: add WriteOnlyAttributesAllowed client capability
1 year ago
Liam Cervante a384d2daa7
stacks: fix deferred data sources and unknown component applies (#35876)
2 years ago
James Bardin 57a2e545fb
Merge pull request #35834 from hashicorp/jbardin/ephemeral-close
2 years ago
Liam Cervante 7eb94fa7c8 stacks: fix tests broken now that ephemeral outputs aren't allowed
2 years ago
Daniel Schmidt 8ce424dbb5
Merge pull request #35826 from hashicorp/TF-18610
2 years ago
James Bardin 3a1a9408d9 fix Descendants spelling
2 years ago
Liam Cervante 669e8ff1a6
stacks: skip full plan/apply cycles when deleting empty state (#35831)
2 years ago
Liam Cervante bfa320c7b0
stacks: represent ephemeral inputs and outputs as null (#35824)
2 years ago
Daniel Schmidt d3e295da03
stacks: root level outputs should not allow ephemeral values
2 years ago
James Bardin 384f2d4fab update collections to use for-range method
2 years ago
UKEME BASSEY a56a4190aa
Merge pull request #35774 from hashicorp/TF-20569-prevent-panic-when-input-variable-is-sensitive
2 years ago
UKEME BASSEY 892a96e4b4 add test
2 years ago
UKEME BASSEY d89ee04e9e prevent panic when input or output variables are sensitive
2 years ago
Graham Davison 6883ab0ecf Updates for OTel SDK 1.30
2 years ago
James Bardin aea5c0cc18
Merge pull request #35750 from hashicorp/jbardin/ephemeral-proto
2 years ago
James Bardin 9c3dc8f73a ephemeral protocol rename
2 years ago
Liam Cervante db132eefac
stacks: stacks destroy ordering should match Terraform (#35748)
2 years ago
James Bardin 1a72b39d42 fill out remaining ephemeral implementations
2 years ago
Liam Cervante d93e18d155
stacks: separate refresh and destroy stages during destroy plans (#35744)
2 years ago
James Bardin 892172a185
Merge pull request #35727 from hashicorp/jbardin/ephemeral-resources
2 years ago
Liam Cervante b38fd17cf9
stacks: emit removal notices for empty components (#35738)
2 years ago
Liam Cervante e78294d42b
stacks: stop encoding values into msgpack twice (#35734)
2 years ago
Daniel Schmidt e50a1ac824
stacks: fix dependency handling in component forget
2 years ago
Liam Cervante 598648b66f
stacks: handle input and output state during delete plans (#35726)
2 years ago
Liam Cervante 3b30caa42b
stacks: mark input and output changes as no-ops when no changes (#35725)
2 years ago
Liam Cervante d142486a40
stacks: expand plan and apply outputs for inputs (#35724)
2 years ago
Liam Cervante 73e3f8096b
stacks: complete stack output implementation for plan and apply (#35723)
2 years ago
Daniel Schmidt f1b7faf901
stacks: remove TODO
2 years ago
Daniel Schmidt ceb52e65bb
stacks: support forgetting components
2 years ago
James Bardin 9e8c21866e ephemeral in stacks stubs
2 years ago
Liam Cervante 0ae6bc34c4
stacks: introduce shared functions for common tests (#35718)
2 years ago
Liam Cervante 99a94908e7
stacks: do not include removed block instances that do not exist in state (#35693)
2 years ago
Liam Cervante 6b2cc9c379
stacks: include existing instances for unknown removed and component blocks (#35691)
2 years ago
Liam Cervante b22db510d4
stacks: error when removing a component still in config (#35692)
2 years ago
Liam Cervante c00bee8bbd
stacks: add a test for removed blocks in embedded stacks (#35681)
2 years ago
Liam Cervante cf49545b5a
stacks: include removed blocks during validate command (#35680)
2 years ago
Liam Cervante 6f9df8f5eb
stacks: ensure that all components in state are referenced in configuration (#35677)
2 years ago
Liam Cervante f8fe397d88
stacks: add removed block functionality (#35671)
2 years ago
Liam Cervante 436b72b63b
stacks: fix memory leak caused by unclosed providers (#35678)
2 years ago
Liam Cervante b6ac98122b
stacks: refactor shared functionality in prep for removed blocks (#35670)
2 years ago
Liam Cervante 7163c4b6d5
stacks: fix destroy ordering of stacks destroy plans (#35665)
2 years ago
Liam Cervante 36f11851a6
stacks: refactor the mock provider for realism (#35654)
2 years ago
Liam Cervante 11f431196d
stacks: remove unneeded required components functions (#35648)
2 years ago
Liam Cervante cb7bae3217
stacks: remove stale state during Stack apply operations (#35639)
2 years ago
Liam Cervante 50233d7a78
stacks: support sensitive input values in planned changes (#35640)
2 years ago
Liam Cervante 40dc5c02d5
stacks: ensure providers that should not be configured cannot be (#35624)
2 years ago
James Bardin 20f66dffd0 fixup new test comparator
2 years ago
James Bardin 0b8fbfe323 ignore unexported state field in comparison
2 years ago
Liam Cervante f1ae07b1af
stacks: add support for provider functions in .tfstack.hcl files (#35610)
2 years ago
Liam Cervante 964c64157c
stacks: fix bug preventing unconfigured clients within Terraform (#35571)
2 years ago
Liam Cervante 7660d8d086
stacks: fix suggested command when lock file is out of date (#35616)
2 years ago
Liam Cervante 047c1af0b4
stacks: add tests for state manipulation failure cases (#35589)
2 years ago
Liam Cervante bb73fb1d69
stacks: don't validate input variables during the apply phase (#35561)
2 years ago
Liam Cervante 5939efb798
stacks: add depends_on for embedded stacks and components (#35549)
2 years ago
Liam Cervante 38033b5c45
stacks: sort diags in test before comparison (#35550)
2 years ago
Liam Cervante 915b174da3
stacks: split the terraform1 RPC package into per-service packages (#35513)
2 years ago
Liam Cervante 46393f2a92
stacks: apply automatic type conversion before comparing inputs (#35530)
2 years ago
Liam Cervante 0c67edd598
stacks: ensure input values for components don't change between plan and apply (#35489)
2 years ago
Liam Cervante 33c0ae7f09
stacks: add additional provider validation tests (#35471)
2 years ago
Liam Cervante e704da535e
stack: stacks should be applyable even if no components are (#35498)
2 years ago
Liam Cervante 87bbc47737
stacks: include plan mode in stacks plan format (#35405)
2 years ago
Martin Atkins 170cca1332 stacks+promising: Better error messages for promise resolution failure
2 years ago
Martin Atkins ec2510fc3d stacks: Track raw stack as separate messages in raw plan
2 years ago
Alisdair McDiarmid d828776757 stacks+rpcapi: Load prior state and plan separately
2 years ago
Liam Cervante 3ecf7655ba
stacks: insert unknown values for missing outputs during applies (#35463)
2 years ago
Daniel Schmidt 1d45d12f40
stacks: track resource deferrals in apply
2 years ago
Daniel Schmidt 591c3dea36
Merge pull request #35433 from hashicorp/TF-10919
2 years ago
Liam Cervante 634155f56b
stacks: extend diagnostic message to capture error from unscheduled component (#35434)
2 years ago
Daniel Schmidt 93cf093168
stacks: add new deferred plan status
2 years ago
Liam Cervante 8e47b5907c
stacks: provide more helpful diagnostics when providers types are mismatched (#35422)
2 years ago
Daniel Schmidt 4f401d9cd3
stacks: add dependency lock to new test case
2 years ago
Daniel Schmidt bf5037fa05
stacks: add test case
2 years ago
Daniel Schmidt 9f8ab0450c
stacks: fix move apply test
2 years ago
Daniel Schmidt 2a3c579693
stacks: use inspecting phase for provider config tests
2 years ago
Daniel Schmidt 05755422f3
stacks: pass dependency lock in tests
2 years ago
Daniel Schmidt 4433239da4
stacks: validate dependency lockfile in apply phase
2 years ago
Daniel Schmidt 0e5f7acda0
stacks: validate dependency lockfile in planning phase
2 years ago
Daniel Schmidt fb2f3ca276
stacks: refactor to get dependency locks through main
2 years ago
Daniel Schmidt 2ed6e1facd
stacks: validate lockfile containing all providers
2 years ago
Liam Cervante 587a7e88ff
stacks: include move, forget, import counts in apply summaries (#35391)
2 years ago
Liam Cervante 27f26bd1b5
stacks: emit specific moved notification during apply (#35387)
2 years ago
Daniel Schmidt ae05a0d27b
stacks: use plantimestamp from opts while planning
2 years ago
Daniel Schmidt a51938c246
stacks: move PlanTimestamp method for consistency
2 years ago
Daniel Schmidt 46999364f0
stacks: refactor for plantimestamp to come from the outside
2 years ago
Daniel Schmidt 49ba330fb5
stacks: force plan timestamp in module runtime
2 years ago
Daniel Schmidt b62a67394b
stacks: save plantimestamp to plan
2 years ago
Daniel Schmidt 8fa922f912
stacks: implement PlanTimestamp method on ExpressionScope
2 years ago