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
d8ecb32a7c
terraform: test module is marked for destroy
2014-11-24 15:50:15 -08:00
Armon Dadgar
56a34087ba
terraform: test orphan dependency inversion
2014-11-24 15:42:58 -08:00
Armon Dadgar
5376e05add
terraform: test encoding module dependencies
2014-11-24 15:25:37 -08:00
Armon Dadgar
6af820f78b
terraform: test graph with orphan module dependencies
2014-11-24 15:22:37 -08:00
Armon Dadgar
3bdaccdf5d
terraform: testing the destroy order of modules
2014-11-24 14:58:52 -08:00
Armon Dadgar
afef564108
terraform: Handle module depedency inversion
2014-11-24 14:38:06 -08:00
Armon Dadgar
d5fd4dabe8
terraform: Mark modules for destroy
2014-11-24 14:15:24 -08:00
Armon Dadgar
9c6280f64b
terraform: encode module dependencies
2014-11-21 16:44:20 -08:00
Armon Dadgar
ec1c026b80
terraform: initialize and attach module state
2014-11-21 16:41:48 -08:00
Armon Dadgar
6e1ef1c634
terraform: restore dependencies for orphan modules
2014-11-21 16:14:57 -08:00
Armon Dadgar
9707eb3fc8
terraform: Add dependencies field to modules
2014-11-21 15:34:23 -08:00
Armon Dadgar
8446b036d7
Merge pull request #535 from ceh/vet-fixes
...
argument and verb formatting fixes reported by go vet
2014-11-19 15:46:01 -08:00
Armon Dadgar
e29e364c89
terraform: Testing duplicate delete issue
2014-11-18 15:38:54 -08:00
Armon Dadgar
01db1ff8bd
terraform: diff handler in expansion avoids duplicate destroy
2014-11-18 15:38:40 -08:00
Armon Dadgar
507b75449f
terraform: Move diff handling during dynamic expansion
2014-11-18 15:10:18 -08:00
Armon Dadgar
a2ba45edf5
terraform: Simplify sub-graph finalization
2014-11-17 15:50:26 -08:00
Emil Hessman
4bfe18b40d
argument and verb formatting fixes reported by go vet
...
builtin/providers/aws/tags_test.go:56: unrecognized printf verb 'i'
builtin/providers/aws/tags_test.go:59: unrecognized printf verb 'i'
config/config_test.go:101: possible formatting directive in Fatal call
config/config_test.go:157: possible formatting directive in Fatal call
config/module/get_file_test.go:91: missing argument for Fatalf(%s): format reads arg 1, have only 0 args
helper/schema/schema.go:341: arg v.Type for printf verb %s of wrong type: schema.ValueType
helper/schema/schema.go:656: missing argument for Errorf(%s): format reads arg 2, have only 1 args
helper/schema/schema.go:912: arg schema.Type for printf verb %s of wrong type: schema.ValueType
terraform/context.go:178: arg v.Type() for printf verb %s of wrong type: github.com/hashicorp/terraform/config.VariableType
terraform/context.go:486: arg c.Operation for printf verb %s of wrong type: terraform.walkOperation
terraform/diff_test.go💯 arg actual for printf verb %s of wrong type: terraform.DiffChangeType
terraform/diff_test.go:235: arg actual for printf verb %s of wrong type: terraform.DiffChangeType
2014-11-02 13:56:44 +01: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
686871310d
terraform: input properly sends on only set input
2014-10-18 14:54:42 -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
b2d674b431
terraform: don't add tainted resources to expanded graph [GH-412]
...
The tainted resources are separate elements in the graph.
2014-10-18 11:13:36 -07:00
Mitchell Hashimoto
990b814188
terraform: set count to 1 while validating [GH-442]
2014-10-17 18:18:28 -07:00
Mitchell Hashimoto
f626c5df96
terraform: validation works with count if default [GH-442]
2014-10-17 18:06:54 -07:00
Mitchell Hashimoto
bf7c40d115
terraform: test case for variable count
2014-10-17 18:03:30 -07:00
Mitchell Hashimoto
35352a2746
terraform: some more test cases for sanity
2014-10-16 23:20:46 -07:00
Mitchell Hashimoto
82bf4f485b
terraform: taint resources who error on create with provisioners
...
[GH-434]
2014-10-16 23:19:07 -07:00
Mitchell Hashimoto
de4c922c9c
terraform: validation with unknown variables works [GH-432]
2014-10-16 15:54:56 -07:00
Armon Dadgar
422b82648c
terraform: Switch to using semaphore
2014-10-16 10:04:36 -07:00
Armon Dadgar
ad31023252
terraform: Adding a semaphore implementation
2014-10-16 10:04:36 -07:00
Mitchell Hashimoto
5596ee7f53
terraform: don't panic if no state in Walk return [GH-403]
2014-10-15 20:32:19 -07:00
Mitchell Hashimoto
edf85de411
terraform: output state in human-readable format
...
/cc @armon - Didn't need to save the bits here, plus it makes it easier
for someone to go in and modify this stuff
2014-10-12 22:56:34 -07:00
Mitchell Hashimoto
ce61b5caec
terraform: no outputs if we have no resources
2014-10-12 22:49:05 -07:00
Mitchell Hashimoto
06889b8fc7
terraform: make sure taint destroys happen first for counts
2014-10-12 09:50:36 -07:00
Mitchell Hashimoto
7af9179edd
terraform: remove old test
2014-10-12 09:45:01 -07:00
Mitchell Hashimoto
f59e89ccb8
terraform: add count tainted apply test
2014-10-12 09:41:27 -07:00
Mitchell Hashimoto
ac7e494697
terraform: remove an inaccurate TODO
2014-10-12 09:19:38 -07:00
Mitchell Hashimoto
f74a27d75f
terraform: provisioner dependencies are reflected in graph
2014-10-12 09:15:26 -07:00
Mitchell Hashimoto
d4d58ae44b
terraform: turn resource expand into graph
2014-10-12 08:57:08 -07:00
Mitchell Hashimoto
ecafcfa682
terraform: don't validate tainted resources
2014-10-11 16:02:07 -07:00
Mitchell Hashimoto
6e7d23d612
terraform: don't crash if validating orphan
2014-10-11 15:58:52 -07:00
Mitchell Hashimoto
129e4fc453
terraform: fix crash if depends_on used when state has orphans
2014-10-11 13:20:11 -07:00
Mitchell Hashimoto
d7786473df
fmt
2014-10-11 12:57:06 -07:00
Mitchell Hashimoto
d2e836275b
terraform: sort the modules in the state [GH-318]
2014-10-11 12:47:06 -07:00
Mitchell Hashimoto
36f225dea0
fmt
2014-10-10 14:50:35 -07:00