Mitchell Hashimoto
2389251c38
terraform: catch scenario where both "foo" and "foo.0" are in state
2015-03-01 21:28:41 -08:00
Mitchell Hashimoto
341be226f4
terraform: test for various taint cases
2015-02-26 09:50:18 -08:00
Mitchell Hashimoto
dd7bc5db0c
terraform: more self tests
2015-02-23 15:02:26 -08:00
Mitchell Hashimoto
0e59acc2c9
terraform: enable self vars
2015-02-23 14:56:02 -08:00
Mitchell Hashimoto
022967acdb
terraform: module inputs/vars can be non-strings [GH-819]
2015-02-23 13:50:53 -08:00
Mitchell Hashimoto
40ee70d5c9
terraform: Input should only be called on providers once
...
/cc @sethvargo
Prior to this commit, we'd only persist the result of calling Input if
any input was given (len(result) > 0). The result was that every module
would also repeat asking for input even if there was no input to be
asked for.
This commit makes it so that if no input was received, we still set a
sentinel so that modules don't re-ask.
2015-02-20 15:35:57 -08:00
Mitchell Hashimoto
ab414de0ab
terraform: test case for destroying with a count [GH-527]
2015-02-20 10:02:52 -08:00
Mitchell Hashimoto
4b6f258f1f
terraform: only depose state if we're doing the destroy side
2015-02-19 12:08:34 -08:00
Mitchell Hashimoto
10e96ad72d
terraform: provisioner config is properly interpolated
2015-02-19 12:08:33 -08:00
Mitchell Hashimoto
459ad04d71
terraform: provider cache should append the provider name to it
2015-02-19 12:08:33 -08:00
Mitchell Hashimoto
ad595cf254
terraform: test case for cycle of CBD depending on non-CBD
2015-02-19 12:08:33 -08:00
Mitchell Hashimoto
8d2ed22e97
terraform: prune destroy nodes for resources not in diff
2015-02-19 12:08:32 -08:00
Mitchell Hashimoto
8db6f722d2
terraform: CBD edge transpositions must happen atomically
2015-02-19 12:08:32 -08:00
Mitchell Hashimoto
f7f1f17b49
terraform: create before destroy
2015-02-19 12:08:07 -08:00
Mitchell Hashimoto
d7dc0291f5
terraform: put destroy nodes into the graph
2015-02-19 12:08:03 -08:00
Mitchell Hashimoto
84cf7f1179
terraform: outputs show up in the graph
2015-02-19 12:08:02 -08:00
Mitchell Hashimoto
ea42deb66c
terraform: provisioner transforms
2015-02-19 12:07:58 -08:00
Mitchell Hashimoto
28a23a45f4
terraform: dynamic subgraph expansion for count
2015-02-19 12:07:57 -08:00
Mitchell Hashimoto
e2a3f78c08
terraform: expand modules in our builder
2015-02-19 12:07:57 -08:00
Mitchell Hashimoto
4692f9809f
terraform: module nodes expand
2015-02-19 12:07:57 -08:00
Mitchell Hashimoto
3908b6319a
terraform: pulling out everything into Interpolater
2015-02-19 12:07:56 -08:00
Mitchell Hashimoto
c308405b53
terraform: validation in progress
2015-02-19 12:07:55 -08:00
Mitchell Hashimoto
a73f939ee9
terraform: initial GraphBuilder impl
2015-02-19 12:07:54 -08:00
Mitchell Hashimoto
96a2d3e116
terraform: PruneProviderTransfomer
2015-02-19 12:07:54 -08:00
Mitchell Hashimoto
01ec680019
terraform: ProviderTransform to map resources to providers by dep
2015-02-19 12:07:53 -08:00
Mitchell Hashimoto
8dc4c56b2e
terraform: tainted transformer
2015-02-19 12:07:53 -08:00
Mitchell Hashimoto
922bdc92db
terraform: module orphans
2015-02-19 12:07:52 -08:00
Mitchell Hashimoto
e08dc05f54
terraform: State.ModuleOrphans
2015-02-19 12:07:52 -08:00
Mitchell Hashimoto
6eb379fa75
terraform: start the transforms, adding orphans
2015-02-19 12:07:52 -08:00
Mitchell Hashimoto
9f70cddadf
terraform: error if config graph is missing dependencies
2015-02-19 12:07:51 -08:00
Mitchell Hashimoto
dc036a0dd0
terraform: fix bug with crash with no providers [GH-786]
2015-01-16 09:56:51 -08:00
Emil Hessman
071d872dc2
terraform: acceptance test for validation error
...
Add an acceptance test where terraform plan should error due
to validation errors.
2015-01-13 06:59:12 +01:00
Mitchell Hashimoto
71918efd96
terraform: Add more tests for cases we felt weren't well covered
2014-12-16 15:59:26 -08:00
Mitchell Hashimoto
ef60ac5b8c
terraform: update comment
2014-12-16 08:24:21 -08:00
Armon Dadgar
c43eb6f883
terraform: fixing test case
2014-12-09 00:28:03 -08:00
Luke Amdor
6dcb7166d1
fix destroy so incoming module vars get set
2014-12-05 17:18:45 -06:00
Luke Amdor
fead5872e5
Fix for multivars when modulestate not created yet
2014-12-02 13:53:09 -06:00
Luke Amdor
60022978a6
adding context test for module multi-vars
2014-11-28 13:16:33 -06:00
Armon Dadgar
a5d444b8e3
terraform: fix module output handling. Fixes #474
2014-11-24 19:18:52 -08:00
Armon Dadgar
f26b8df92f
Merge pull request #598 from hashicorp/f-mod-deps
...
Fix dependency handling of modules
2014-11-24 18:53:22 -08:00
Armon Dadgar
5b025c89f9
terraform: guard output types. Fixes #593
2014-11-24 16:49:38 -08:00
Armon Dadgar
3bdaccdf5d
terraform: testing the destroy order of modules
2014-11-24 14:58:52 -08:00
Mitchell Hashimoto
22f09b487b
terraform: refresh ignores variables with no values [GH-478]
2014-10-20 23:08:17 -07:00
Mitchell Hashimoto
0908e8f42c
terraform: don't fail refresh if output doesn't exist [GH-483]
2014-10-20 18:45:52 -07:00
Mitchell Hashimoto
dc3178e06a
terraform: failling test case for a bug
2014-10-18 14:36:34 -07:00
Mitchell Hashimoto
914cb1d44c
terraform: test for variables in provider configs
2014-10-18 14:13:14 -07:00
Mitchell Hashimoto
0a5e06d62c
terraform: merge interpolated inherited provider configurations [GH-418]
2014-10-18 13:58:01 -07:00
Mitchell Hashimoto
f03ab178bf
terraform: don't execute provisioners on destroy
2014-10-18 11:37:26 -07:00
Mitchell Hashimoto
990b814188
terraform: set count to 1 while validating [GH-442]
2014-10-17 18:18:28 -07:00
Mitchell Hashimoto
bf7c40d115
terraform: test case for variable count
2014-10-17 18:03:30 -07:00