terraform/terraform/test-fixtures
Paul Hinze c6300d511c core: formalize resource addressing
Only used in targets for now. The plan is to use this for interpolation
as well.

This allows us to target:

 * individual resources expanded by `count` using bracket / index notation.
 * deposed / tainted resources with an `InstanceType` field after name

Docs to follow.
2015-03-31 15:04:10 -05:00
..
apply-cancel dos2unix 2014-07-28 10:43:00 -07:00
apply-compute terraform: fix tests 2014-07-22 08:29:49 -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-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-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-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-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-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-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-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-output dos2unix 2014-07-28 10:43:00 -07: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-provisioner-compute terraform: Test provisioner apply 2014-07-10 11:38:56 -07:00
apply-provisioner-conninfo terraform: Test ConnInfo materialization during Apply 2014-07-15 12:34:07 -07:00
apply-provisioner-diff terraform: ensure provisioner runs only on instance create 2014-09-22 11:15:22 -07:00
apply-provisioner-fail dos2unix 2014-07-28 10:43:00 -07: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-multi-self-ref terraform: more self tests 2015-02-23 15:02:26 -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-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-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-unknown dos2unix 2014-07-28 10:43:00 -07:00
apply-vars config: HCL loader 2014-08-11 09:58:53 -07:00
graph-basic config: HCL loader 2014-08-11 09:58:53 -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-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: update graph to build subgraphs for modules 2014-09-22 16:48:18 -07:00
graph-node-module-expand terraform: module nodes expand 2015-02-19 12:07:57 -08:00
graph-outputs terraform: outputs show up in the graph 2015-02-19 12:08:02 -08: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
input-provider terraform: ask for input for providers 2014-09-29 09:13:15 -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-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-path-module terraform: pulling out everything into Interpolater 2015-02-19 12:07:56 -08: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-computed dos2unix 2014-07-28 10:43:00 -07:00
plan-computed-list core: check sets for computed [GH-247] 2014-08-30 17:26:10 -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-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-one-index terraform: test count = 1 variable access 2014-10-02 17:24:22 -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-destroy dos2unix 2014-07-28 10:43:00 -07:00
plan-diffvar dos2unix 2014-07-28 10:43:00 -07:00
plan-empty dos2unix 2014-07-28 10:43:00 -07:00
plan-good dos2unix 2014-07-28 10:43:00 -07:00
plan-module-destroy terraform: destroy plans work with modules 2014-09-25 20:44:34 -07:00
plan-module-destroy-multivar fix destroy so incoming module vars get set 2014-12-05 17:18:45 -06: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-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: merge interpolated inherited provider configurations [GH-418] 2014-10-18 13:58:01 -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-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-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-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-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-taint dos2unix 2014-07-28 10:43:00 -07:00
plan-targeted core: fill out context tests for targeted ops 2015-03-31 14:49:38 -05:00
plan-var-list-err terraform: acceptance test for validation error 2015-01-13 06:59:12 +01:00
plan-var-multi-count-one terraform: multi-variables work with count = 1 [GH-115] 2014-08-05 10:12:35 -07:00
refresh-basic dos2unix 2014-07-28 10:43:00 -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-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-partial terraform: don't fail refresh if output doesn't exist [GH-483] 2014-10-20 18:45:52 -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
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-deps terraform: CBD edge transpositions must happen atomically 2015-02-19 12:08:32 -08:00
transform-destroy-prune-count terraform: prune destroy nodes for resources not in diff 2015-02-19 12:08:32 -08:00
transform-orphan-basic terraform: start the transforms, adding orphans 2015-02-19 12:07:52 -08:00
transform-orphan-modules terraform: module orphans 2015-02-19 12:07:52 -08:00
transform-provider-basic terraform: ProviderTransform to map resources to providers by dep 2015-02-19 12:07:53 -08: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-prune terraform: provisioner transforms 2015-02-19 12:07:58 -08:00
transform-resource-count-basic terraform: dynamic subgraph expansion for count 2015-02-19 12:07:57 -08: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-trans-reduce-basic terraform: add TransitiveReductionTransformer 2015-02-27 19:18:04 -08: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-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-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-pc-inherit terraform: providers inherit properly for validation 2014-09-24 21:38:23 -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-variable-ref terraform: validation with unknown variables works [GH-432] 2014-10-16 15:54:56 -07:00