terraform/internal/stacks/stackruntime/testdata/mainbundle/test
Martin Atkins e74896bd24 stackruntime: Handle apply-time-specified input variables
When the topmost stack configuration declares an ephemeral input variable,
its values must be provided separately for each of the plan and apply
phases.

Therefore here we extend the API to allow specifying input variable values
during the apply phase, and add rules to check whether all of the
apply-time-required input variables have been specified and whether any
non-ephemeral variables are either unspecified or re-specified with equal
values during the apply phase.

This also extends the FindStackConfigurationComponents response to include
more metadata about the input variables and output values so that a caller
can know which ones are ephemeral. The name of that RPC function had
already become a little too specific with the inclusion of embedded stack
information and is even moreso now; we might choose to rename it to
something more generic like "AnalyzeStackConfiguration" in future, but
that'd be a breaking change and therefore requires more coordination.
2024-06-17 08:34:46 -07:00
..
checkable-objects round-trip check results through stack plans 2024-03-01 17:22:44 -08:00
deferrable-component stacks: update RPC APIs with deferral information (#35125) 2024-06-04 15:14:00 +02:00
deferred-component-for-each-from-component-of-invalid-type stacks: fix invalid filename (#35111) 2024-05-03 08:12:27 +01:00
empty stackruntime: Beginnings of Validate function 2023-11-15 12:38:51 -08:00
empty-component stacks: include resources in state when calculating required providers (#34645) 2024-02-15 10:45:47 +01:00
invalid-configuration stacks: call terraform.Validate on stack component configs (#34705) 2024-02-21 10:58:44 +01:00
multiple-providers stacks: add tests for and refactor steps when a provider can't be configured (#35294) 2024-06-06 13:36:57 +02:00
plan-no-value-for-required-variable stackruntime: Apply defaults to root variables 2024-03-04 16:20:17 -05:00
plan-undeclared-variable-in-component Fix nil pointer exception when planning stacks with undeclared variables (#34638) 2024-02-12 17:24:15 +01:00
plan-variable-defaults stackruntime: Treat unset and null equally 2024-03-07 15:49:39 -05:00
sensitive-output stacksruntime: Add sensitive outputs tests 2024-01-08 15:27:06 -05:00
sensitive-output-as-input stackruntime: Support sensitive component inputs 2024-01-08 15:27:06 -05:00
sensitive-output-nested stacksruntime: Add sensitive outputs tests 2024-01-08 15:27:06 -05:00
validate-embedded-stack-selfref stackruntime: Top-level "Validate" function 2023-11-15 12:38:51 -08:00
validate-undeclared-variable stackruntime: Top-level "Validate" function 2023-11-15 12:38:51 -08:00
variable-ephemeral stackruntime: Handle apply-time-specified input variables 2024-06-17 08:34:46 -07:00
variable-output-roundtrip stackruntime: Beginnings of Validate function 2023-11-15 12:38:51 -08:00
variable-output-roundtrip-nested stackruntime: Beginnings of Validate function 2023-11-15 12:38:51 -08:00
with-provider-config stackruntime: Starting up and configuring provider plugins 2023-11-15 12:38:54 -08:00
with-single-input stacks: add support for unknown for_each expressions in providers (#35267) 2024-06-04 16:26:23 +02:00
with-single-input-and-output stacks: return dynamic types when referencing partial components (#35254) 2024-06-04 15:32:50 +02:00
with-single-output stacks: validate the types of input variables during validation (#34722) 2024-02-26 11:36:19 +01:00
with-single-resource stacks/stackruntime: fix TestPlanWithSingleResource 2023-11-15 12:38:54 -08:00
with-single-resource-missing-provider stacks: include resources in state when calculating required providers (#34645) 2024-02-15 10:45:47 +01:00