opentofu/terraform/test-fixtures
James Bardin cfefeec926 walkDestroy is a form of "apply"
When computing the count value, make sure to include walkDestroy with
walkApply, as the former is only a special case of the latter.

When applying a saved plan, the computed count values are lost and we
can no longer query the state for those values. The apply walk was
already considered in the `resourceCountMax` function, but the destroy
walk was not.  This worked when destroying in a single operation
("terraform destroy"), since the state would still be updated with the
latest counts from the plan.
2018-04-10 11:46:29 -04:00
..
apply-blank terraform: orphans should call post-apply hook [GH-1938] 2015-06-25 20:11:29 -07:00
apply-cancel dos2unix 2014-07-28 10:43:00 -07:00
apply-cancel-block terraform: make sure Stop blocks until full completion 2017-01-26 15:10:30 -08:00
apply-cancel-provisioner terraform: switch to Context for stop, Stoppable provisioners 2017-01-26 15:03:27 -08:00
apply-cbd-count terraform: test applying tainted + deposed (passes) 2016-11-28 14:29:38 -08:00
apply-cbd-depends-non-cbd terraform: when promoting non-CBD to CBD, mark the config as such 2016-12-02 09:46:04 -05:00
apply-cbd-deposed-only terraform: new apply graph understands destroying deposed only 2016-11-28 14:34:24 -08:00
apply-compute terraform: fix tests 2014-07-22 08:29:49 -07:00
apply-computed-attr-ref-type-mismatch core: rerun resource validation before plan and apply 2016-07-01 13:12:57 -05:00
apply-count-dec terraform: nil out the Diff on a resource when expanding 2014-10-09 23:15:42 -07:00
apply-count-dec-one terraform: catch scenario where both "foo" and "foo.0" are in state 2015-03-01 21:28:41 -08:00
apply-count-tainted terraform: add count tainted apply test 2014-10-12 09:41:27 -07:00
apply-count-variable terraform: test case for variable count 2014-10-17 18:03:30 -07:00
apply-count-variable-ref terraform: test for referencing counts that are from vars 2016-08-31 11:54:14 -07:00
apply-data-basic terraform: test to ensure data sources work on Apply operation 2016-10-20 21:53:54 -07:00
apply-data-depends-on Prevent data sources from being aplied early 2016-12-12 10:35:10 -05:00
apply-depends-create-before terraform: test ordering when using create before with depedencies 2014-09-29 17:00:45 -07:00
apply-destroy terraform: test creates an actual logical dependence 2014-09-17 17:30:25 -07:00
apply-destroy-cbd core: add context test for #5096 2016-02-22 18:37:21 -06:00
apply-destroy-computed terraform: prune resources and variables 2015-07-20 08:57:34 -07:00
apply-destroy-cross-providers Add repro test case for bug #2892 2015-10-03 14:16:39 -07:00
apply-destroy-data-resource core: context test for destroying data resources 2016-05-23 15:21:00 -05:00
apply-destroy-deeply-nested-module core: add failing deeply nested orphan module test 2015-07-20 10:19:52 -05:00
apply-destroy-depends-on terraform: test that depends_on is used for destroy ordering 2016-10-25 11:05:48 -07:00
apply-destroy-mod-var-and-count core: Fix destroy when modules vars are used in resource counts 2016-05-18 13:32:49 -05:00
apply-destroy-mod-var-and-count-nested core: Fix destroy on nested module vars for count 2016-05-18 13:32:56 -05:00
apply-destroy-mod-var-provider-config core: Fix destroy when module vars used in provider config 2016-06-11 21:21:08 -05:00
apply-destroy-module-resource-prefix terraform: prefix destroy resources with module path [GH-2767] 2016-08-22 13:33:11 -07:00
apply-destroy-module-with-attrs terraform: Correct fix for destroy interp errors 2016-05-10 15:58:51 -05:00
apply-destroy-nested-module terraform: get nested oprhans in the transform 2015-07-19 13:53:31 -07:00
apply-destroy-nested-module-with-attrs dag: fix ReverseDepthFirstWalk when nodes remove themselves 2016-07-15 13:43:28 -06:00
apply-destroy-outputs dos2unix 2014-07-28 10:43:00 -07:00
apply-destroy-provisioner terraform: don't execute provisioners on destroy 2014-10-18 11:37:26 -07:00
apply-destroy-targeted-count terraform: destroy graph must connect edges for proper target ordering 2016-11-10 21:14:44 -08:00
apply-destroy-with-locals Add failing test for destroy with locals 2017-09-28 11:06:37 -04:00
apply-empty-module terraform: fix module output handling. Fixes #474 2014-11-24 19:18:52 -08:00
apply-error dos2unix 2014-07-28 10:43:00 -07:00
apply-error-create-before terraform: Testing failed apply with create_before_destroy 2014-09-29 15:20:03 -07:00
apply-escape terraform: test for interpolation escapes 2016-11-20 21:14:16 -08:00
apply-good dos2unix 2014-07-28 10:43:00 -07:00
apply-good-create-before terraform: test happy path create-before-destroy 2014-09-29 15:20:04 -07:00
apply-good-create-before-count terraform: new apply graph understands destroying deposed only 2016-11-28 14:34:24 -08:00
apply-good-create-before-update terraform: only depose state if we're doing the destroy side 2015-02-19 12:08:34 -08:00
apply-idattr dos2unix 2014-07-28 10:43:00 -07:00
apply-ignore-changes-create core: Fix issues with ignore_changes 2016-03-21 14:20:36 -05:00
apply-ignore-changes-dep terraform: another set of ignore_changes fixes 2016-07-08 16:48:23 -05:00
apply-ignore-changes-wildcard Add wildcard (match all) support to ignore_changes (#8599) 2016-09-02 15:44:35 +02:00
apply-interpolated-count failing test for interpolated count from plan 2018-03-09 19:04:39 -05:00
apply-local-val config: merge/append for local values 2017-09-01 17:51:13 -07:00
apply-map-var-override core: test coverage around map key regression 2015-11-24 16:00:02 -06:00
apply-map-var-through-module core: Use native HIL maps instead of flatmaps 2016-05-10 14:49:13 -04:00
apply-minimal terraform: minimal apply test case 2014-07-08 16:12:30 -07:00
apply-module terraform: test apply with modules 2014-09-23 17:13:50 -07:00
apply-module-bool terraform: module inputs/vars can be non-strings [GH-819] 2015-02-23 13:50:53 -08:00
apply-module-destroy-order terraform: destroy transform must happen globally 2015-05-02 18:21:00 -07:00
apply-module-grandchild-provider-inherit core: fix provider config inheritence for deeply nested modules (#6186) 2016-04-18 16:19:43 -07:00
apply-module-only-provider terraform: all providers for ProvidedBy() should be added 2015-06-26 12:00:02 -07:00
apply-module-orphan-provider-inherit terraform: module orphans providers should inherit config 2015-06-24 17:48:31 -07:00
apply-module-provider-alias terraform: missing provider should add missing aliases [GH-2023] 2015-06-24 20:58:52 -07:00
apply-module-provider-close-nested test case 2015-07-17 10:58:47 -07:00
apply-module-provider-inherit-alias terraform: test for alias inheritance [GH-4789] 2016-11-21 21:51:07 -08:00
apply-module-provider-inherit-alias-orphan terraform: test for alias inheritance [GH-4789] 2016-11-21 21:51:07 -08:00
apply-module-var-resource-count terraform: test case for destroying with a count [GH-527] 2015-02-20 10:02:52 -08:00
apply-multi-depose-create-before-destroy core: [refactor] store Deposed resource instances as a list 2015-03-04 12:25:59 -06:00
apply-multi-provider terraform: provider cache should append the provider name to it 2015-02-19 12:08:33 -08:00
apply-multi-provider-destroy terraform: destroy resources in dependent providers first 2016-12-10 20:11:24 -05:00
apply-multi-provider-destroy-child terraform: dependent provider resources are destroyed first in modules 2016-12-10 20:22:12 -05:00
apply-multi-ref add state an context tests 2017-04-08 15:37:15 -04:00
apply-multi-var terraform: test for reducing count and using splats 2015-06-23 18:25:08 -07:00
apply-multi-var-comprehensive Stop requiring multi-vars (splats) to be in array brackets 2017-05-23 11:22:37 -07:00
apply-multi-var-count-dec terraform: apply resource must depend on destroy deps 2016-12-03 23:54:29 -08:00
apply-multi-var-missing-state core: don't crash if no module state exists for multi var 2017-05-16 09:54:33 -07:00
apply-multi-var-order terraform: multi-var ordering is by count 2016-11-04 11:07:01 -07:00
apply-multi-var-order-interp terraform: multi-var ordering is by count 2016-11-04 11:07:01 -07:00
apply-output dos2unix 2014-07-28 10:43:00 -07:00
apply-output-add-after Add test attempting to reproduce #2598 2015-11-09 15:27:09 -05:00
apply-output-add-before Add test attempting to reproduce #2598 2015-11-09 15:27:09 -05:00
apply-output-depends-on terraform: output nodes reference depends_on values 2016-11-11 18:16:04 -08:00
apply-output-invalid terraform: guard output types. Fixes #593 2014-11-24 16:49:38 -08:00
apply-output-list terraform: guard output types. Fixes #593 2014-11-24 16:49:38 -08:00
apply-output-multi config: make the interp split pretty insane 2014-10-09 22:45:22 -07:00
apply-output-multi-index dos2unix 2014-07-28 10:43:00 -07:00
apply-output-orphan terraform: EvalDeleteOutput and context test 2015-04-29 11:27:12 -07:00
apply-output-orphan-module terraform: add test to verify orphan outputs in modules are removed 2016-11-01 22:42:41 -07:00
apply-provider-alias Support for multiple providers of the same type 2015-04-20 14:14:34 -07:00
apply-provider-alias-configure terraform: configure provider aliases in the new apply graph 2016-11-04 16:51:52 -07:00
apply-provider-computed terraform: tests to check behavior of computed provider configs 2015-06-23 22:02:56 -07:00
apply-provider-configure-disabled terraform: disable providers in new apply graph 2016-10-19 14:54:00 -07:00
apply-provider-warning core: fix crash on provider warning 2015-07-28 17:13:14 -05:00
apply-provisioner-compute terraform: add variables as graph nodes (no eval yet) 2015-04-30 16:27:20 -07:00
apply-provisioner-conninfo terraform: add variables as graph nodes (no eval yet) 2015-04-30 16:27:20 -07:00
apply-provisioner-destroy terraform: run destroy provisioners on destroy 2017-01-20 18:07:51 -08:00
apply-provisioner-destroy-continue terraform: on_failure for provisioners 2017-01-20 19:55:32 -08:00
apply-provisioner-destroy-fail terraform: on_failure for provisioners 2017-01-20 19:55:32 -08:00
apply-provisioner-destroy-locals always evaluate locals, even during destroy 2018-01-29 16:16:41 -05:00
apply-provisioner-destroy-module terraform: destroy resource should depend on destroy-time prov deps 2017-02-17 13:13:44 -08:00
apply-provisioner-destroy-multiple-locals add a more complex locals test 2018-01-30 10:47:17 -05:00
apply-provisioner-destroy-outputs Make sure outputs are removed when targeting 2018-01-31 13:51:40 -05:00
apply-provisioner-destroy-ref terraform: destroy ordering needs to handle destroy provisioner edges 2017-02-17 14:29:22 -08:00
apply-provisioner-diff terraform: ensure provisioner runs only on instance create 2014-09-22 11:15:22 -07:00
apply-provisioner-explicit-self-ref terraform: destroy edges should never point to self 2016-11-08 12:27:33 -08:00
apply-provisioner-fail dos2unix 2014-07-28 10:43:00 -07:00
apply-provisioner-fail-continue terraform: test on_failure with non-destroy provisioners 2017-01-20 20:05:28 -08:00
apply-provisioner-fail-create terraform: taint resources who error on create with provisioners 2014-10-16 23:19:07 -07:00
apply-provisioner-fail-create-before terraform: test provising fail create-before-destroy 2014-09-29 15:20:03 -07:00
apply-provisioner-interp-count core: interpolate the count config during the apply walk 2018-01-19 13:06:00 -08:00
apply-provisioner-module terraform: new apply graph creates provisioners in modules 2016-11-03 10:25:11 -07:00
apply-provisioner-multi-self-ref terraform: more self tests 2015-02-23 15:02:26 -08:00
apply-provisioner-multi-self-ref-count terraform: self.count works in interpolations [GH-5283] 2016-08-31 11:36:51 -07:00
apply-provisioner-multi-self-ref-single terraform: record dependency to self (other index) 2016-11-23 09:25:20 -08:00
apply-provisioner-resource-ref dos2unix 2014-07-28 10:43:00 -07:00
apply-provisioner-self-ref terraform: enable self vars 2015-02-23 14:56:02 -08:00
apply-ref-count terraform: add test explicitly for referencing count 2016-08-31 11:49:25 -07:00
apply-ref-existing terraform: remove pruning of module vars if they ref non-existing nodes 2016-11-04 17:47:20 -07:00
apply-resource-count-one-list core: Fix empty multi-variable type 2016-06-12 14:00:16 +02:00
apply-resource-count-zero-list core: Fix empty multi-variable type 2016-06-12 14:00:16 +02:00
apply-resource-depends-on-module terraform: depends_on can reference entire modules 2016-11-12 08:07:45 -08:00
apply-resource-depends-on-module-deep terraform: resources nested within a module must also be depended on 2016-11-12 15:38:28 -08:00
apply-resource-depends-on-module-empty terraform: test that dependencies in the state are enough to maintain 2016-11-12 15:22:48 -08:00
apply-resource-depends-on-module-in-module terraform: resources nested within a module must also be depended on 2016-11-12 15:38:28 -08:00
apply-resource-scale-in detect scaled in resources when evaluating *s 2018-04-03 10:00:45 -04:00
apply-taint dos2unix 2014-07-28 10:43:00 -07:00
apply-taint-dep terraform: test for various taint cases 2015-02-26 09:50:18 -08:00
apply-taint-dep-requires-new terraform: test for various taint cases 2015-02-26 09:50:18 -08:00
apply-tainted-targets core: Encode Targets in saved Planfile 2016-03-08 14:29:37 -06:00
apply-targeted core: fill out context tests for targeted ops 2015-03-31 14:49:38 -05:00
apply-targeted-count core: formalize resource addressing 2015-03-31 15:04:10 -05:00
apply-targeted-module core: module targeting 2015-05-05 21:58:48 -05:00
apply-targeted-module-dep core: move targets transform after flatten 2015-06-29 13:19:37 -05:00
apply-targeted-module-recursive core: -target option to also select resources in descendant modules 2017-06-16 16:36:08 -07:00
apply-targeted-module-resource core: module targeting 2015-05-05 21:58:48 -05:00
apply-targeted-module-unrelated-outputs core: Allow downstream targeting of certain node types 2017-05-11 11:57:46 -07:00
apply-terraform-env terraform: string through the context meta 2017-03-13 16:21:09 -07:00
apply-unknown dos2unix 2014-07-28 10:43:00 -07:00
apply-unknown-interpolate terraform: test fixture needs to use variable so its not pruned 2016-11-08 13:59:29 -08:00
apply-unstable core: test correct behavior of plan+apply with unstable values 2017-11-03 16:11:13 -07:00
apply-vars core: Allow lists and maps as variable overrides 2016-07-26 15:27:29 -05:00
apply-vars-env core: Allow lists and maps as variable overrides 2016-07-26 15:27:29 -05:00
context-required-version terraform: verify version requirements from configuration 2016-11-12 16:50:26 -08:00
context-required-version-module terraform: verify version requirements from configuration 2016-11-12 16:50:26 -08:00
destroy-module-with-provider remove module referencing existing provider 2017-11-07 22:05:52 -05:00
empty terraform: test that depends_on is used for destroy ordering 2016-10-25 11:05:48 -07:00
empty-with-child-module core: ResourceAddress.MatchesConfig method 2017-06-09 14:03:59 -07:00
graph-basic config: HCL loader 2014-08-11 09:58:53 -07:00
graph-builder-apply-basic terraform: test for referencetransform for modules 2016-10-19 13:38:50 -07:00
graph-builder-apply-count terraform: apply resource must depend on destroy deps 2016-12-03 23:54:29 -08:00
graph-builder-apply-dep-cbd terraform: CBD destroy nodes should not advertise themselves as normal 2017-02-07 11:49:50 -08:00
graph-builder-apply-double-cbd terraform: apply resource must depend on destroy deps 2016-12-03 23:54:29 -08:00
graph-builder-apply-module-destroy terraform: destroy edges should take into account module variables 2016-12-14 21:48:09 -08:00
graph-builder-apply-provisioner terraform: run destroy provisioners on destroy 2017-01-20 18:07:51 -08:00
graph-builder-apply-target-module terraform: outputs should not be included if not targeted 2017-02-13 12:52:45 -08:00
graph-builder-basic terraform: initial GraphBuilder impl 2015-02-19 12:07:54 -08:00
graph-builder-cbd-non-cbd terraform: test case for cycle of CBD depending on non-CBD 2015-02-19 12:08:33 -08:00
graph-builder-modules terraform: expand modules in our builder 2015-02-19 12:07:57 -08:00
graph-builder-multi-level-module terraform: flattening multi-level modules works 2015-05-07 13:08:59 -07:00
graph-builder-orphan-deps terraform: orphan dependencies should be inverted 2015-06-23 20:41:02 -07:00
graph-builder-plan-basic core: graph nodes and edges for local values 2017-08-21 15:15:25 -07:00
graph-builder-plan-target-module-provider terraform: don't include providers if not targeted 2017-02-17 09:21:29 -08:00
graph-count dos2unix 2014-07-28 10:43:00 -07:00
graph-count-var-resource terraform: dependencies in the graph from count properly show up 2014-10-02 13:54:04 -07:00
graph-cycle config: HCL loader 2014-08-11 09:58:53 -07:00
graph-depends-on dos2unix 2014-07-28 10:43:00 -07:00
graph-depends-on-count terraform: depends_on with count creates proper graph [GH-244] 2014-08-30 16:08:50 -07:00
graph-diff dos2unix 2014-07-28 10:43:00 -07:00
graph-diff-create-before terraform: Adding lifecycle config block 2014-09-29 15:20:02 -07:00
graph-diff-destroy dos2unix 2014-07-28 10:43:00 -07:00
graph-diff-module terraform: handle module dependencies with a diff 2014-09-26 09:20:01 -07:00
graph-diff-module-dep terraform: testing the destroy order of modules 2014-11-24 14:58:52 -08:00
graph-diff-module-dep-module terraform: Add more tests for cases we felt weren't well covered 2014-12-16 15:59:26 -08:00
graph-missing-deps terraform: error if config graph is missing dependencies 2015-02-19 12:07:51 -08:00
graph-module-orphan terraform: module orphans 2014-09-23 14:57:17 -07:00
graph-modules terraform: module dependencies in graph use full name (FOR THE FUTURE) 2015-04-30 17:19:01 -07:00
graph-node-module-expand terraform: module nodes expand 2015-02-19 12:07:57 -08:00
graph-node-module-flatten terraform: start FlattenGraph impl. 2015-04-30 20:46:54 -07:00
graph-outputs terraform: outputs show up in the graph 2015-02-19 12:08:02 -08:00
graph-provider-alias Support for multiple providers of the same type 2015-04-20 14:14:34 -07:00
graph-provider-prune terraform: test that unused providers are pruned 2014-09-24 16:02:42 -07:00
graph-provisioners config: HCL loader 2014-08-11 09:58:53 -07:00
graph-resource-expand terraform: turn resource expand into graph 2014-10-12 08:57:08 -07:00
graph-resource-expand-prov-deps terraform: provisioner dependencies are reflected in graph 2014-10-12 09:15:26 -07:00
graph-tainted terraform: graph tainted resources into the graph 2014-09-19 21:29:48 -06:00
import-provider terraform: Module option to Import to add module to graph 2016-05-11 13:02:37 -07:00
import-provider-alias don't add missing provider aliases to the graph 2017-11-06 14:21:28 -05:00
import-provider-module change import module inheritance test 2017-10-27 09:08:15 -04:00
import-provider-non-vars terraform: verify import providers only depend on vars 2016-11-09 15:09:13 -08:00
import-provider-vars terraform: import loads the context module by default 2016-11-09 15:08:22 -08:00
input-bad-var-default terraform: don't panic on input for bad default type [GH-1344] 2015-04-18 16:31:21 -07:00
input-hcl Allow the HCL input when prompted 2016-08-10 11:14:31 -04:00
input-interpolate-var Module variables not being interpolated 2016-05-23 13:44:09 -04:00
input-module-computed-output-element core: Add context test for empty lists as module outputs 2016-06-23 21:15:33 +01:00
input-module-data-vars test with bad interpolation during Input 2017-08-10 14:14:29 -04:00
input-provider terraform: ask for input for providers 2014-09-29 09:13:15 -07:00
input-provider-multi terraform: test input with multiple providers 2015-04-20 14:59:03 -07:00
input-provider-once terraform: Input should only be called on providers once 2015-02-20 15:35:57 -08:00
input-provider-vars terraform: add InputMode to determine what is asked for 2014-10-08 10:18:45 -07:00
input-provider-with-vars terraform: failling test case for a bug 2014-10-18 14:36:34 -07:00
input-provider-with-vars-and-module terraform: fix provider config inheritance during input 2015-04-10 16:28:47 -05:00
input-submodule-count Add failing test for invalid interpolation 2017-03-16 10:35:18 -04:00
input-var-default core: don't prompt for variables with defaults 2015-07-02 10:40:30 -05:00
input-var-partially-computed core: don't error on computed value during input walk 2015-08-12 14:23:33 -05:00
input-vars terraform: Input() asks for variable inputs 2014-09-28 23:37:36 -07:00
input-vars-unset terraform: add input mode to only ask for unset variables 2015-03-24 13:30:21 -07:00
interpolate-local core: evaluate locals and return them for interpolation 2017-08-21 15:15:25 -07:00
interpolate-multi-interp terraform: multi-var interpolation should use state for count 2016-10-13 17:57:11 -07:00
interpolate-multi-vars interpolate: Expand computed TypeList attributes properly 2015-08-27 13:02:02 +01:00
interpolate-path-module terraform: pulling out everything into Interpolater 2015-02-19 12:07:56 -08:00
interpolate-resource-variable terraform: splatting with computed values is computed [GH-2744] 2015-07-19 17:27:38 -07:00
interpolate-resource-variable-multi core: allow partially-unknown lists from splat syntax 2017-05-04 15:56:35 -07:00
issue-5254 terraform: issue 5254 test case (not yet working) 2016-02-24 10:55:55 -05:00
issue-7824 core: Do not assume HCL parser has touched vars 2016-07-27 17:14:47 -05:00
issue-9549 Add failing test for missing computed map entries 2016-11-09 14:28:15 -08:00
module-deps-explicit-provider core: build a module dependency tree from config+state 2017-06-09 14:03:59 -07:00
module-deps-explicit-provider-resource core: build a module dependency tree from config+state 2017-06-09 14:03:59 -07:00
module-deps-explicit-provider-unconstrained core: build a module dependency tree from config+state 2017-06-09 14:03:59 -07:00
module-deps-implicit-provider core: build a module dependency tree from config+state 2017-06-09 14:03:59 -07:00
module-deps-inherit-provider core: build a module dependency tree from config+state 2017-06-09 14:03:59 -07:00
nested-resource-count-plan core: Restore CountBoundaryTransformer to apply, add/adjust tests 2017-04-19 22:23:52 -07:00
new-good dos2unix 2014-07-28 10:43:00 -07:00
new-graph-cycle dos2unix 2014-07-28 10:43:00 -07:00
new-pc-cache dos2unix 2014-07-28 10:43:00 -07:00
new-provider-validate dos2unix 2014-07-28 10:43:00 -07:00
new-variables dos2unix 2014-07-28 10:43:00 -07:00
plan-cbd terraform: deposed shows up in plan, tests 2016-11-28 14:32:42 -08:00
plan-cbd-maintain-root core: respect roots in CBD transform 2015-05-13 17:53:42 -05:00
plan-cdb-depends-datasource Add test fixture for new CBD ancestor fix 2016-11-03 18:31:25 -04:00
plan-close-module-provider add test checking CloseProvider 2018-01-04 15:00:09 -05:00
plan-computed dos2unix 2014-07-28 10:43:00 -07:00
plan-computed-data-count Add a context test for a datasource with count 2016-09-03 13:08:41 -07:00
plan-computed-data-resource core: test to prove that data diffs are broken 2016-05-21 13:00:46 -07:00
plan-computed-list core: check sets for computed [GH-247] 2014-08-30 17:26:10 -07:00
plan-computed-multi-index terraform: allow indexing into a computed list for multi-count resources 2016-12-10 19:17:29 -05:00
plan-computed-value-in-map terraform: Add test case reproducing #7241 2016-07-08 16:43:42 +01:00
plan-count config: make the interp split pretty insane 2014-10-09 22:45:22 -07:00
plan-count-computed terraform: counts can't be computed 2014-10-02 16:21:17 -07:00
plan-count-computed-module terraform: detect compute counts and show a nicer error 2016-11-11 11:07:17 -08:00
plan-count-dec dos2unix 2014-07-28 10:43:00 -07:00
plan-count-inc dos2unix 2014-07-28 10:43:00 -07:00
plan-count-index terraform: count.index 2014-10-02 22:02:59 -07:00
plan-count-index-zero terraform: another test for count index 2014-10-02 22:07:23 -07:00
plan-count-module-static terraform: test a basic static var count passed into a module 2017-01-27 20:32:55 -08:00
plan-count-module-static-grandchild terraform: test static var being passed into grandchild for count 2017-01-27 20:38:07 -08:00
plan-count-one-index terraform: test count = 1 variable access 2014-10-02 17:24:22 -07:00
plan-count-splat-reference core: context test for partially-unknown splat lists 2017-05-04 16:55:32 -07:00
plan-count-var config: make the interp split pretty insane 2014-10-09 22:45:22 -07:00
plan-count-zero terraform: test count == zero 2014-10-02 17:18:40 -07:00
plan-data-resource-becomes-computed core: produce diff when data resource config becomes computed 2016-05-28 12:39:36 -07:00
plan-data-source-type-mismatch core: rerun resource validation before plan and apply 2016-07-01 13:12:57 -05:00
plan-destroy dos2unix 2014-07-28 10:43:00 -07:00
plan-destroy-interpolated-count walkDestroy is a form of "apply" 2018-04-10 11:46:29 -04:00
plan-diffvar dos2unix 2014-07-28 10:43:00 -07:00
plan-empty dos2unix 2014-07-28 10:43:00 -07:00
plan-escaped-var terraform: failing test case 2016-01-19 12:37:55 -08:00
plan-good dos2unix 2014-07-28 10:43:00 -07:00
plan-ignore-changes Adding ignore_changes lifecycle meta property 2015-10-14 16:34:27 -05:00
plan-ignore-changes-wildcard Add wildcard (match all) support to ignore_changes (#8599) 2016-09-02 15:44:35 +02:00
plan-ignore-changes-with-flatmaps Add a failing test for missing keys in diff 2017-03-20 17:44:37 -04:00
plan-list-order failing test with wrong interpolated list order 2016-12-15 13:23:50 -05:00
plan-local-value-count config: allow local value interpolations in count 2017-09-01 17:54:05 -07:00
plan-module-cycle terraform: prune tainted destroys if no tainted in state [GH-1475] 2015-04-14 10:48:45 -07:00
plan-module-deadlock core: fix deadlock w/ CBD + modules 2015-05-13 13:05:43 -05:00
plan-module-destroy terraform: destroy plans work with modules 2014-09-25 20:44:34 -07:00
plan-module-destroy-gh-1835 terraform: don't include variables in destroy node requirements 2015-05-06 20:13:19 -07:00
plan-module-destroy-multivar terraform: add edge for missing providers 2015-05-01 18:39:24 -07:00
plan-module-input terraform: variables to modules work 2014-09-23 16:49:38 -07:00
plan-module-input-computed terraform: computed input variables work to modules 2014-09-23 17:05:44 -07:00
plan-module-input-var terraform: test case for cascading input variables (variable to 2014-09-23 16:55:19 -07:00
plan-module-map-literal terraform: allow literal maps to be passed to modules 2016-07-06 09:52:32 -05:00
plan-module-multi-var terraform: fixing test case 2014-12-09 00:28:03 -08:00
plan-module-provider-defaults terraform: test for child module provider default 2014-09-24 14:04:54 -07:00
plan-module-provider-defaults-var terraform: add variables as graph nodes (no eval yet) 2015-04-30 16:27:20 -07:00
plan-module-provider-inherit terraform: change the graph a bit to better support providers with 2014-09-24 13:31:35 -07:00
plan-module-provider-inherit-deep terraform: test case for #11282 2017-01-24 12:56:13 -08:00
plan-module-provider-var terraform: add module vars after providers to see references 2016-12-13 21:22:21 -08:00
plan-module-var terraform: outputs should be properly calculated for modules now 2014-09-23 15:46:20 -07:00
plan-module-var-computed terraform: module w/ computed output works 2014-09-23 16:27:38 -07:00
plan-module-var-with-default-value core: Do not type check unset variables 2016-04-21 23:30:34 -05:00
plan-module-variable-from-splat core: Add context test for module var from splat 2016-07-13 11:23:56 -06:00
plan-module-wrong-var-type terraform: reference an output so it isn't pruned during plan 2016-11-08 13:59:28 -08:00
plan-module-wrong-var-type-nested Type check variables between modules (#6185) 2016-04-15 12:07:54 -07:00
plan-modules terraform: plan with modules work 2014-09-23 14:15:40 -07:00
plan-modules-remove terraform: module orphans 2014-09-23 14:57:17 -07:00
plan-modules-remove-provisioners core: fix bug detecting deeply nested module orphans 2016-02-09 10:35:46 -06:00
plan-nil dos2unix 2014-07-28 10:43:00 -07:00
plan-orphan dos2unix 2014-07-28 10:43:00 -07:00
plan-path-var terraform: test path variables 2014-10-07 20:09:30 -07:00
plan-prevent-destroy-bad core: add prevent_destroy lifecycle flag 2015-04-17 10:40:04 -05:00
plan-prevent-destroy-count-bad terraform: prevent_destroy works for decreasing count 2016-10-28 21:31:47 -04:00
plan-prevent-destroy-count-good terraform: prevent_destroy works for decreasing count 2016-10-28 21:31:47 -04:00
plan-prevent-destroy-good core: add prevent_destroy lifecycle flag 2015-04-17 10:40:04 -05:00
plan-provider terraform: test for variables in provider configs 2014-10-18 14:13:14 -07:00
plan-provider-init dos2unix 2014-07-28 10:43:00 -07:00
plan-provisioner-cycle terraform: validate graph on resource expansation to catch cycles 2016-10-30 14:27:08 -07:00
plan-shadow-uuid terraform: shadow errors with UUID() must be ignored 2016-11-14 10:20:26 -08:00
plan-taint dos2unix 2014-07-28 10:43:00 -07:00
plan-taint-ignore-changes terraform: add test to verify tainted resources don't process 2016-10-27 08:44:59 -04:00
plan-taint-interpolated-count core: Make copies when creating destroy nodes 2016-02-09 09:25:16 -06:00
plan-targeted core: fill out context tests for targeted ops 2015-03-31 14:49:38 -05:00
plan-targeted-cross-module terraform: TargetsTransformer should preserve module variables 2016-12-12 20:59:14 -08:00
plan-targeted-module-orphan core: Orphan addressing / targeting 2016-01-19 17:48:44 -06:00
plan-targeted-module-untargeted-variable terraform: Filter untargeted variable nodes 2016-07-29 16:55:30 -05:00
plan-targeted-module-with-provider terraform: don't include providers if not targeted 2017-02-17 09:21:29 -08:00
plan-targeted-orphan Add failing test for targeted destroy on orphan 2015-11-13 13:20:04 -06:00
plan-targeted-over-ten core: Orphan addressing / targeting 2016-01-19 17:48:44 -06:00
plan-targeted-with-tainted core: Encode Targets in saved Planfile 2016-03-08 14:29:37 -06:00
plan-untargeted-resource-output add failing test for invalid output with targets 2018-03-19 20:32:37 -04:00
plan-var-list-err terraform: acceptance test for validation error 2015-01-13 06:59:12 +01:00
provider-with-locals fix provider with local value test and docs 2017-09-29 17:14:07 -04:00
refresh-basic dos2unix 2014-07-28 10:43:00 -07:00
refresh-config-orphan core: Test for new refresh graph behaviour 2017-05-12 15:45:06 -07:00
refresh-data-module-var terraform: unknown value for variables not set 2017-03-17 15:33:33 -07:00
refresh-data-ref-data terraform: test that data sources can reference other data sources 2016-10-23 18:53:00 -07:00
refresh-data-resource-basic core: test that data sources are read during refresh 2016-05-23 15:21:00 -05:00
refresh-data-scale-inout core: Test for new refresh graph behaviour 2017-05-12 15:45:06 -07:00
refresh-module-computed-var terraform: module computed vars with splat vars don't error 2015-06-24 21:23:37 -07:00
refresh-module-input-computed-output terraform: refresh ignores variables with no values [GH-478] 2014-10-20 23:08:17 -07:00
refresh-module-orphan core: fix deadlock when dependable node replaced with non-dependable one 2015-08-10 15:50:36 -05:00
refresh-module-var-module terraform: update comment 2014-12-16 08:24:21 -08:00
refresh-modules terraform: update graph to build subgraphs for modules 2014-09-22 16:48:18 -07:00
refresh-no-state terraform: fix crash if outputs with no state [GH-358] 2014-10-03 15:57:43 -07:00
refresh-output terraform: return value for resource interpolation on refresh 2015-04-10 13:51:22 -07:00
refresh-output-partial terraform: don't fail refresh if output doesn't exist [GH-483] 2014-10-20 18:45:52 -07:00
refresh-resource-scale-inout core: Test for new refresh graph behaviour 2017-05-12 15:45:06 -07:00
refresh-targeted core: fill out context tests for targeted ops 2015-03-31 14:49:38 -05:00
refresh-targeted-count core: formalize resource addressing 2015-03-31 15:04:10 -05:00
refresh-unknown-provider terraform: fix bug with crash with no providers [GH-786] 2015-01-16 09:56:51 -08:00
refresh-vars dos2unix 2014-07-28 10:43:00 -07:00
smc-uservars config: HCL loader 2014-08-11 09:58:53 -07:00
state-filter terraform: StateFilter handles cases where ResourceState has no type 2017-01-21 10:24:03 -08:00
state-module-orphans terraform: State.ModuleOrphans 2015-02-19 12:07:52 -08:00
state-upgrade terraform: convert empty path to root path in V1 state 2017-03-21 11:37:12 -07:00
transform-config-mode-data terraform: ConfigTransformer has Unique and mode filters 2017-01-22 12:58:18 -08:00
transform-create-before-destroy-basic terraform: create before destroy 2015-02-19 12:08:07 -08:00
transform-create-before-destroy-twice terraform: CBD edge transpositions must happen atomically 2015-02-19 12:08:32 -08:00
transform-destroy-basic terraform: put destroy nodes into the graph 2015-02-19 12:08:03 -08:00
transform-destroy-depends-on terraform: test that depends_on is used for destroy ordering 2016-10-25 11:05:48 -07:00
transform-destroy-deps terraform: CBD edge transpositions must happen atomically 2015-02-19 12:08:32 -08:00
transform-destroy-edge-basic terraform: test the destroy edge transform 2016-10-19 13:38:52 -07:00
transform-destroy-edge-module terraform: destroy edge must include resources through outputs 2016-11-11 14:29:19 -08:00
transform-destroy-edge-module-only terraform: passing test for destroy edge for module only 2017-02-07 19:12:03 -08:00
transform-destroy-edge-multi terraform: more destroy edge tests 2016-10-19 13:38:52 -07:00
transform-destroy-edge-self-ref terraform: destroy edges should never point to self 2016-11-08 12:27:33 -08:00
transform-destroy-edge-splat terraform: CBD edge should ignore "index" 2017-02-07 10:53:12 -08:00
transform-destroy-prefix terraform: when pruning destroy, only match exact nodes, or exact counts 2015-04-14 13:17:08 -07:00
transform-destroy-prune-count terraform: prune destroy nodes for resources not in diff 2015-02-19 12:08:32 -08:00
transform-diff-basic terraform: rename Config to Module, tests for diff transform 2016-10-19 13:38:49 -07:00
transform-flat-config-basic terraform: FlatConfigTransformer 2016-10-19 13:38:53 -07:00
transform-flatten terraform: outputs connect properly 2015-05-01 11:26:58 -07:00
transform-module-var-basic terraform: module variable transform must do children later (tested) 2016-10-19 13:38:53 -07:00
transform-module-var-nested terraform: module variable transform must do children later (tested) 2016-10-19 13:38:53 -07:00
transform-orphan-basic terraform: start the transforms, adding orphans 2015-02-19 12:07:52 -08:00
transform-orphan-count terraform: transform for adding orphan resources + tests 2016-11-08 13:59:27 -08:00
transform-orphan-count-empty terraform: transform for adding orphan resources + tests 2016-11-08 13:59:27 -08:00
transform-orphan-modules terraform: module orphans 2015-02-19 12:07:52 -08:00
transform-orphan-output-basic terraform: add output orphan transformer 2015-04-29 11:18:58 -07:00
transform-provider-basic terraform: ProviderTransform to map resources to providers by dep 2015-02-19 12:07:53 -08:00
transform-provider-disable terraform: disable providers that are only used by modules 2015-04-08 21:14:19 -07:00
transform-provider-disable-keep terraform: test negative case for disable provider transformer 2015-04-08 21:39:56 -07:00
transform-provider-grandchild-inherit complete passing providers through modules 2017-11-07 09:41:57 -05:00
transform-provider-implicit-module test passing in implicitly used provider 2017-11-13 20:41:38 -05:00
transform-provider-inherit complete passing providers through modules 2017-11-07 09:41:57 -05:00
transform-provider-invalid error out when a referenced provider is missing 2017-11-13 20:41:38 -05:00
transform-provider-missing terraform: missing provider should add missing aliases [GH-2023] 2015-06-24 20:58:52 -07:00
transform-provider-missing-grandchild Add new test and update graph outputs 2017-11-02 15:00:06 -04:00
transform-provider-prune terraform: PruneProviderTransfomer 2015-02-19 12:07:54 -08:00
transform-provisioner-basic terraform: provisioner transforms 2015-02-19 12:07:58 -08:00
transform-provisioner-module terraform: new apply graph creates provisioners in modules 2016-11-03 10:25:11 -07:00
transform-provisioner-prune terraform: provisioner transforms 2015-02-19 12:07:58 -08:00
transform-resource-count-basic terraform: inner-count dependencies work [GH-1540] 2015-04-18 15:56:43 -07:00
transform-resource-count-deps terraform: inner-count dependencies work [GH-1540] 2015-04-18 15:56:43 -07:00
transform-resource-count-negative terraform: dynamic subgraph expansion for count 2015-02-19 12:07:57 -08:00
transform-root-basic terraform: validation in progress 2015-02-19 12:07:55 -08:00
transform-tainted-basic terraform: tainted transformer 2015-02-19 12:07:53 -08:00
transform-targets-basic core: targeted operations 2015-03-31 14:49:38 -05:00
transform-targets-destroy core: targeted operations 2015-03-31 14:49:38 -05:00
transform-targets-downstream core: Allow downstream targeting of certain node types 2017-05-11 11:57:46 -07:00
transform-trans-reduce-basic terraform: add TransitiveReductionTransformer 2015-02-27 19:18:04 -08:00
update-resource-provider test that Refresh updates Provider fields in state 2017-11-07 21:42:30 -05:00
uservars-map Allow map variables from json 2016-09-27 13:29:14 -04:00
validate-bad-count config: count can't be a SimpleVariable 2016-08-16 13:48:12 -07:00
validate-bad-module-output terraform: validation validates the submodules 2014-09-24 19:31:30 -07:00
validate-bad-pc dos2unix 2014-07-28 10:43:00 -07:00
validate-bad-pc-empty terraform: validate providers even without config block [GH-284] 2014-09-09 17:38:30 -07:00
validate-bad-prov-conf terraform: provisioner config is properly interpolated 2015-02-19 12:08:33 -08:00
validate-bad-rc dos2unix 2014-07-28 10:43:00 -07:00
validate-bad-var dos2unix 2014-07-28 10:43:00 -07:00
validate-computed-module-var-ref core: Another validate test for computed module var refs 2016-05-23 15:54:14 -05:00
validate-computed-var terraform: tests to check behavior of computed provider configs 2015-06-23 22:02:56 -07:00
validate-count-computed terraform: don't validate computed values in validate 2017-01-27 21:15:43 -08:00
validate-count-negative terraform: validate count is non-negative 2014-10-02 17:14:25 -07:00
validate-count-variable terraform: set count to 1 while validating [GH-442] 2014-10-17 18:18:28 -07:00
validate-cycle core: validate on verbose graph to detect some cycles earlier 2015-04-23 11:07:13 -05:00
validate-good dos2unix 2014-07-28 10:43:00 -07:00
validate-good-module terraform: validation validates the submodules 2014-09-24 19:31:30 -07:00
validate-module-bad-rc terraform: validation validates the submodules 2014-09-24 19:31:30 -07:00
validate-module-deps-cycle terraform: run prune destroy on validate 2015-05-05 12:11:49 -07:00
validate-module-pc-inherit terraform: providers inherit properly for validation 2014-09-24 21:38:23 -07:00
validate-module-pc-inherit-orphan terraform: orphan module should flatten 2015-05-14 20:54:33 -07:00
validate-module-pc-inherit-unused terraform: don't prune, but disable, inherited configs [GH-1447] 2015-04-09 08:48:08 -07:00
validate-module-pc-vars terraform: disable providers that are only used by modules 2015-04-08 21:14:19 -07:00
validate-required-var dos2unix 2014-07-28 10:43:00 -07:00
validate-resource-name-symbol terraform: warn if the name has special characters 2014-10-08 15:59:50 -07:00
validate-self-ref dos2unix 2014-07-28 10:43:00 -07:00
validate-self-ref-multi dos2unix 2014-07-28 10:43:00 -07:00
validate-self-ref-multi-all dos2unix 2014-07-28 10:43:00 -07:00
validate-targeted core: fix targeting in destroy w/ provisioners 2015-04-27 08:36:54 -05:00
validate-var-map-override-old terraform: user friendly error when using old map overrides 2016-12-09 15:58:24 -05:00
validate-var-no-default-explicit-type core: Support explicit variable type declaration 2016-01-24 11:40:02 -06:00
validate-variable-ref terraform: validation with unknown variables works [GH-432] 2014-10-16 15:54:56 -07:00
vars-basic terraform: add tests for variables 2016-08-17 11:28:58 -07:00
vars-basic-bool terraform: consistent variable values for booleans 2016-10-31 11:22:26 -07:00