Commit Graph

177 Commits (148b19b0d7e36b6f2b8a169d2cb7b6069ab5d00a)

Author SHA1 Message Date
Mutahhir Hayat 148b19b0d7 return validate value instead of dynamic value
2 years ago
Mutahhir Hayat d398fa50c6 handle overlooked error in test
2 years ago
Mutahhir Hayat cb28bf3379 remove unused test
2 years ago
Mutahhir Hayat e20891ac1d add tests for local values through data sources
2 years ago
Mutahhir Hayat 6bbc8cdc76 Add more tests for local values
2 years ago
Mutahhir Hayat 2667a0f2c3 cleanup comments
2 years ago
Mutahhir Hayat 5e12bdf048 Stack evaluation should also visit local values when walking the stack
2 years ago
Mutahhir Hayat be317d4d3a Make Stack and Stack config aware of local values
2 years ago
Mutahhir Hayat 6554ce6bfd Add planning test to test for locals usage
2 years ago
Mutahhir Hayat 129d58fed3 Create local value structs, including config and tests
2 years ago
Mutahhir Hayat d695f8197c Add local values test
2 years ago
kmoe b74715e5fb
stacks: fix invalid filename (#35111)
2 years ago
Daniel Schmidt 35f44b01f0
stacks: fix comment and add assertion for diagnostics
2 years ago
Daniel Schmidt aeb5b47723
stacks: remove unused test case
2 years ago
Daniel Schmidt f847360a40
stacks: component.CheckInstances now reports on for each value diagnostics
2 years ago
Daniel Schmidt c370e5e71d
stacks: use more precise name for variable
2 years ago
Daniel Schmidt 1afc9789ef
stacks: use UnknownForEachRepetitionData for instance map repetition data in for_each
2 years ago
Daniel Schmidt 91a18a6b30
stacks: fix typo
2 years ago
Daniel Schmidt 7d0c4cfc4d
stacks: early exit on invalid for_each values for components
2 years ago
Daniel Schmidt d1168ffa62
stacks: return instance value for wildcard component instances
2 years ago
Daniel Schmidt 6f95225a91
stacks: handle unknown dynamic values
2 years ago
Daniel Schmidt 3cbfd39721
stacks: validate unknown component for_each type
2 years ago
Daniel Schmidt 3a7150b27e
stacks: handle unknown values in component for_each
2 years ago
Martin Atkins 30e2fd6525 Handle marks a little more consistently
2 years ago
Nick Fagerlund 4d46cc81e3 Fix several deferred actions tests by setting DeferralAllowed
2 years ago
Nick Fagerlund 2b4147e0ba Add DeferralAllowed to stackeval.PlanOpts (temporary)
2 years ago
Nick Fagerlund d5be799cb9 End unknown_instances language experiment, in favor of whole-plan option
2 years ago
Alisdair McDiarmid f409639934
Merge pull request #34765 from hashicorp/alisdair/stack-root-input-variable-defaults
2 years ago
Alisdair McDiarmid f3ec86b17b stackruntime: Treat unset and null equally
2 years ago
Alisdair McDiarmid 0fe26468cd stackruntime: Apply defaults to root variables
2 years ago
CJ Horton 5a750561e6 round-trip check results through stack plans
2 years ago
Daniel Schmidt 49ad27f1c9
Merge pull request #34737 from hashicorp/stacks-for-each
2 years ago
Nick Fagerlund c9c24706aa
Merge pull request #34741 from hashicorp/nf/feb24-provider-addrs-in-statuses
2 years ago
Daniel Schmidt 2a0962328d
stacks: make error message more precise
2 years ago
Daniel Schmidt 8da61e2d20
stacks: reword for_each error message
2 years ago
Daniel Schmidt 217879e510
stacks: make component for_each more robust
2 years ago
Liam Cervante cec4b7b74c
stacks: validate providers based on types instead of local names (#34735)
2 years ago
Nick Fagerlund f58c71e77c Stacks: Update expectations in TestTerraformHook
2 years ago
Nick Fagerlund 7703a5aead Stacks: Add ProviderAddr field to ResourceInstanceStatusHookData
2 years ago
Nick Fagerlund 94ea534e40 Refactor terraform.Hook to use a resource-identifying wrapper struct
2 years ago
Liam Cervante 31a7fa88d5
stacks: validate provider configurations during static analysis (#34730)
2 years ago
Alisdair McDiarmid 1459825e53
Merge pull request #34725 from hashicorp/alisdair/configs-sourcebundle-parser
2 years ago
Alisdair McDiarmid 2c22c213e9 stackeval: More robust absolute source addrs
2 years ago
Alisdair McDiarmid 7a043fe54a stackeval: Another module source test case
2 years ago
Alisdair McDiarmid 7d956bbc11 stackeval: Fix module loader source addr building
2 years ago
Martin Atkins a45d4467f1 stackeval: Don't fail when data resource is removed
2 years ago
Liam Cervante b2cc7dbadf
stacks: validate the types of input variables during validation (#34722)
2 years ago
Liam Cervante 68fd15dfdd
stacks: expand reference scope of static validations (#34721)
2 years ago
Liam Cervante 831630fabe
stacks: the plan function should stop on validation errors (#34720)
2 years ago
Alisdair McDiarmid 97a220fb82 stacks: Use source bundle aware config parser
2 years ago