opentofu/terraform/test-fixtures
Martin Atkins 3309be9721 core: Allow data resource count to be unknown during refresh
The count for a data resource can potentially depend on a managed resource
that isn't recorded in the state yet, in which case references to it will
always return unknown.

Ideally we'd do the data refreshes during the plan phase as discussed in
#17034, which would avoid this problem by planning the managed resources
in the same walk, but for now we'll just skip refreshing any data
resources with an unknown count during refresh and defer that work to the
apply phase, just as we'd do if there were unknown values in the main
configuration for the data resource.
2019-04-25 14:22:57 -07:00
..
apply-blank terraform: orphans should call post-apply hook [GH-1938] 2015-06-25 20:11:29 -07:00
apply-cancel update apply test fixtures 2018-10-16 18:49:20 -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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
apply-compute core: update test fixtures 2018-10-16 18:49:20 -07: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 core: update various context apply tests for schema/fixtures 2018-10-16 18:49:20 -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 fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-depends-create-before core: Be more explicit in how we handle create_before_destroy 2018-10-16 19:14:11 -07:00
apply-destroy fixing context apply tests 2018-10-16 18:48:28 -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 update test fixtures 2018-10-16 18:49:20 -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 fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-destroy-provisioner fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-destroy-targeted-count update test fixtures 2018-10-16 18:49:20 -07: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 fixing context apply tests 2018-10-16 18:48:28 -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 update test fixtures 2018-10-16 18:49:20 -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 core: Ensure context tests comply with plan/apply safety checks 2019-02-11 17:26:50 -08:00
apply-ignore-changes-create core: Fix issues with ignore_changes 2016-03-21 14:20:36 -05:00
apply-ignore-changes-dep update apply tests 2018-10-16 18:48:28 -07:00
apply-ignore-changes-wildcard Add wildcard (match all) support to ignore_changes (#8599) 2016-09-02 15:44:35 +02:00
apply-inconsistent-with-plan core: Verify that objects don't change unexpectedly during apply 2019-02-06 11:40:30 -08:00
apply-interpolated-count update test fixtures 2018-10-16 18:49:20 -07:00
apply-issue19908 core: Retain prior state if update fails with no new state 2019-01-18 16:54:52 -08:00
apply-local-val config: merge/append for local values 2017-09-01 17:51:13 -07:00
apply-map-var-through-module update test fixtures 2018-10-16 18:49:20 -07: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 core: Fix TestContext2Apply_moduleDestroyOrder 2018-10-16 19:14:11 -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 core: provider alias inheritance 2018-10-16 18:49:20 -07:00
apply-module-provider-inherit-alias-orphan core: Fix TestContext2Apply_moduleOrphanInheritAlias 2018-10-16 19:14:11 -07:00
apply-module-var-resource-count update test fixtures 2018-10-16 18:49:20 -07: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 core: Add schema mocks to more of the context apply tests 2018-10-16 18:49:20 -07:00
apply-multi-provider-destroy-child update test fixtures 2018-10-16 18:49:20 -07:00
apply-multi-ref add state an context tests 2017-04-08 15:37:15 -04:00
apply-multi-var core: update test count vars to num 2018-10-16 18:49:20 -07:00
apply-multi-var-comprehensive core: Fix TestContext2Apply_multiVarComprehensive 2018-10-16 19:14:11 -07:00
apply-multi-var-count-dec core: Remove uses of InstanceInfo.HumanId in context apply tests 2018-10-16 19:14:11 -07:00
apply-multi-var-missing-state core: Mock schema for TestContext2Apply_multiProviderDestroy 2018-10-16 18:49:20 -07:00
apply-multi-var-order update test fixtures 2018-10-16 18:49:20 -07:00
apply-multi-var-order-interp update test fixtures 2018-10-16 18:49:20 -07:00
apply-orphan-resource core: Clean up resource states when they are orphaned 2018-10-16 19:14:11 -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-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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
apply-output-orphan-module core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -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 core: update provisioner test fixtures 2018-10-16 18:49:20 -07:00
apply-provisioner-conninfo fix provisioner tests 2018-12-19 16:02:56 -05:00
apply-provisioner-destroy core: update provisioner test fixtures 2018-10-16 18:49:20 -07:00
apply-provisioner-destroy-continue core: update provisioner test fixtures 2018-10-16 18:49:20 -07:00
apply-provisioner-destroy-fail core: EvalApplyProvisioners correct handling of errors 2018-10-16 19:14:11 -07:00
apply-provisioner-destroy-locals always evaluate locals, even during destroy 2018-01-29 16:16:41 -05:00
apply-provisioner-destroy-module use provisioner attr defined in schema 2018-10-16 18:49:20 -07:00
apply-provisioner-destroy-multiple-locals core: Fix TestContext2Apply_destroyProvisionerWithMultipleLocals 2018-10-16 19:14:11 -07:00
apply-provisioner-destroy-outputs Make sure outputs are removed when targeting 2018-01-31 13:51:40 -05:00
apply-provisioner-destroy-ref core: update fixture to match schema 2018-10-16 18:49:20 -07:00
apply-provisioner-destroy-ref-invalid core: Fix TestContext2Apply_provisionerDestroyRefInvalid 2018-10-16 19:14:11 -07: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: Fix TestContext2Apply_provisionerInterpCount 2018-10-16 19:14:11 -07:00
apply-provisioner-module core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
apply-provisioner-multi-self-ref terraform: more self tests 2015-02-23 15:02:26 -08:00
apply-provisioner-multi-self-ref-single core: Don't create self-references in state 2018-10-16 19:14:11 -07:00
apply-provisioner-resource-ref fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-provisioner-self-ref terraform: enable self vars 2015-02-23 14:56:02 -08:00
apply-ref-count core: update various context apply tests for schema/fixtures 2018-10-16 18:49:20 -07:00
apply-ref-existing core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -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 core: Partially fix TestContext2Apply_resourceDependsOnModule 2018-10-16 19:14:11 -07:00
apply-resource-depends-on-module-deep core: Remove uses of InstanceInfo.HumanId in context apply tests 2018-10-16 19:14:11 -07: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 core: fix TestContext2Apply_resourceDependsOnModuleInModule 2018-10-16 19:14:11 -07:00
apply-resource-scale-in core: Fix TestContext2Apply_scaleInMultivarRef 2018-10-16 19:14:11 -07:00
apply-taint fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-taint-dep fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-taint-dep-requires-new fixing context apply tests 2018-10-16 18:48:28 -07: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 connect non-resources to providers they reference 2018-10-16 18:49:20 -07:00
apply-terraform-workspace fixing context apply tests 2018-10-16 18:48:28 -07:00
apply-unknown update apply test fixtures 2018-10-16 18:49:20 -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: Update tests that use the apply-vars fixture 2018-10-16 18:48:28 -07:00
apply-vars-env core: Update tests that use the apply-vars fixture 2018-10-16 18:48:28 -07:00
context-required-version terraform: verify version requirements from configuration 2016-11-12 16:50:26 -08:00
context-required-version-module core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
destroy-module-with-provider fixing context apply tests 2018-10-16 18:48:28 -07: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 core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-count core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-dep-cbd core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-double-cbd core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-module-destroy core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-provisioner core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07:00
graph-builder-apply-target-module core: ApplyGraphBuilder tests to use the "test" mock provider 2018-10-16 18:48:28 -07: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-attr-as-blocks lang: Detect references when a list/set attr is defined using blocks 2019-03-28 10:41:01 -07:00
graph-builder-plan-basic core: Fix tests for TestPlanGraphBuilder 2018-10-16 18:48:28 -07:00
graph-builder-plan-dynblock lang: Consider "dynamic" blocks when resolving references 2019-03-19 10:04:45 -07:00
graph-builder-plan-target-module-provider core: Fix tests for TestPlanGraphBuilder 2018-10-16 18:48:28 -07: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 fix provisioner tests 2018-12-19 16:02:56 -05: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 core: Add ProviderAddr to all import context tests 2018-10-16 18:48:28 -07:00
import-provider-non-vars terraform: verify import providers only depend on vars 2016-11-09 15:09:13 -08:00
import-provider-resource add implied providers during import 2018-12-04 16:04:19 -05:00
import-provider-vars terraform: import loads the context module by default 2016-11-09 15:08:22 -08:00
input-bad-var-default core: fix syntax of input-bad-var-default test fixture 2018-10-16 18:49:20 -07:00
input-hcl Allow the HCL input when prompted 2016-08-10 11:14:31 -04:00
input-interpolate-var core: don't use functions in the input-interpolate-var fixture 2018-10-16 18:48:28 -07: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 core: fix buggy test TestContext2Input_providerMulti 2018-10-16 18:49:20 -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 core: Fix TestContext2Input_submoduleTriggersInvalidCount 2018-10-16 18:49:20 -07: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 core: Fix TestContext2Input 2018-10-16 18:49:20 -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 core: Correct schema for TestContext2Apply_issue5254 2018-10-16 18:49:20 -07:00
issue-7824 core: Do not assume HCL parser has touched vars 2016-07-27 17:14:47 -05:00
issue-9549 validate test updates 2018-10-16 19:14:11 -07: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-block-nesting-group configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
plan-cbd core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
plan-cbd-depends-datasource core: Fix TestContext2Plan_moduleVariableFromSplat 2018-10-16 19:14:11 -07:00
plan-cbd-maintain-root core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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-attr-ref-type-mismatch core: "computed ref type mismatch" test is now a plan test 2018-10-16 18:49:20 -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-in-function core: Add test to show that data resource reads are not functioning properly 2018-10-16 19:14:11 -07:00
plan-computed-list core: update TestContext2Plan_computedList for changed assumptions 2018-10-16 18:49:20 -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 core: Fix schema-related issues in context plan tests 2018-10-16 18:48:28 -07: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-module-static core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
plan-count-module-static-grandchild core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: Rename "count" variables in context plan fixtures 2018-10-16 18:49:20 -07:00
plan-count-zero terraform: test count == zero 2014-10-02 17:18:40 -07:00
plan-data-resource-becomes-computed more plan tests 2018-10-16 19:14:11 -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 core: Ensure context tests comply with plan/apply safety checks 2019-02-11 17:26:50 -08: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 complete the context plan test conversions 2018-10-16 19:14:11 -07:00
plan-ignore-changes-with-flatmaps core: Fix TestContext2Plan_ignoreChangesWithFlatmaps 2018-10-16 18:49:20 -07: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 test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: Fix schema-related issues in context plan tests 2018-10-16 18:48:28 -07: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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
plan-module-provider-var core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
plan-module-var core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -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: Misc. updates to the "plan" context tests 2018-10-16 18:48:28 -07:00
plan-module-wrong-var-type core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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-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-required-output add failing test for required output value 2018-10-31 16:41:36 -04:00
plan-required-whole-mod core: Whole-module evaluation must consider planned output values 2018-11-01 17:41:35 -07:00
plan-self-ref core: Don't DynamicExpand during validate 2018-10-16 18:50:29 -07:00
plan-self-ref-multi core: Don't DynamicExpand during validate 2018-10-16 18:50:29 -07:00
plan-self-ref-multi-all core: Don't DynamicExpand during validate 2018-10-16 18:50:29 -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: Rename "count" variables in context plan fixtures 2018-10-16 18:49:20 -07:00
plan-targeted core: fill out context tests for targeted ops 2015-03-31 14:49:38 -05:00
plan-targeted-cross-module core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: Misc. updates to the "plan" context tests 2018-10-16 18:48:28 -07: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: Fix RefreshGraphBuilder tests 2018-10-16 18:48:28 -07:00
refresh-data-count core: Allow data resource count to be unknown during refresh 2019-04-25 14:22:57 -07:00
refresh-data-module-var core: Add mock schemas to the refresh context tests 2018-10-16 18:48:28 -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-dynamic core: Don't fail on dynamic attribute values during refresh 2019-03-18 09:18: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 core: Add mock schemas to the refresh context tests 2018-10-16 18:48:28 -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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -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-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
static-validate-refs core: Specialized errors for incorrect indexes in resource reference 2018-12-20 13:55:42 -08: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 core: Pass components through to the destroy transformers 2018-10-16 18:48:28 -07:00
transform-destroy-edge-module core: Pass components through to the destroy transformers 2018-10-16 18:48:28 -07:00
transform-destroy-edge-module-only core: Pass components through to the destroy transformers 2018-10-16 18:48:28 -07:00
transform-destroy-edge-multi core: Pass components through to the destroy transformers 2018-10-16 18:48:28 -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 core: Pass components through to the destroy transformers 2018-10-16 18:48:28 -07: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 core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
transform-flatten terraform: outputs connect properly 2015-05-01 11:26:58 -07:00
transform-module-var-basic core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
transform-module-var-nested core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07:00
transform-orphan-basic terraform: start the transforms, adding orphans 2015-02-19 12:07:52 -08:00
transform-orphan-count core: fix test fixtures for HCL2 syntax idiom 2018-10-16 18:46:46 -07: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 core: Update test fixtures for ProviderTransformer tests 2018-10-16 18:48:28 -07:00
transform-provider-implicit-module core: Update test fixtures for ProviderTransformer tests 2018-10-16 18:48:28 -07:00
transform-provider-inherit core: Update test fixtures for ProviderTransformer tests 2018-10-16 18:48:28 -07:00
transform-provider-invalid core: Update test fixtures for ProviderTransformer tests 2018-10-16 18:48:28 -07: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: Fix TargetsTransformer tests 2018-10-16 18:48:28 -07:00
transform-targets-destroy core: Fix TargetsTransformer tests 2018-10-16 18:48:28 -07: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 core: Add schema to all of the "Context2Validate" tests 2018-10-16 18:48:28 -07:00
validate-bad-prov-connection merge connection blocks for validation 2019-03-26 11:59:23 -04:00
validate-bad-rc dos2unix 2014-07-28 10:43:00 -07:00
validate-bad-resource-connection merge connection blocks for validation 2019-03-26 11:59:23 -04:00
validate-bad-var dos2unix 2014-07-28 10:43:00 -07:00
validate-computed-in-function core: Add test to show that data resource reads are not functioning properly 2018-10-16 19:14:11 -07:00
validate-computed-module-var-ref core: Add schema to all of the "Context2Validate" tests 2018-10-16 18:48:28 -07: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 core: Add schema to all of the "Context2Validate" tests 2018-10-16 18:48:28 -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-targeted core: Add schema to all of the "Context2Validate" tests 2018-10-16 18:48:28 -07: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