Mitchell Hashimoto
61881d2795
Merge pull request #10934 from hashicorp/f-provisioner-stop
...
core: stoppable provisioners, helper/schema for provisioners
2017-01-30 12:53:15 -08:00
Mitchell Hashimoto
3e771a674c
terraform: acquire stopCh outside goroutine to ensure in lock
2017-01-30 08:49:07 -08:00
Mitchell Hashimoto
195d34424e
Merge pull request #11482 from hashicorp/f-computed-count
...
core: allow non-computed data source values in "count"
2017-01-30 08:44:27 -08:00
Mitchell Hashimoto
00232f0994
terraform: acquireRun during test to avoid special case logic
2017-01-30 08:41:38 -08:00
Mitchell Hashimoto
5b42781117
terraform: defer unlock of lock in Stop to enure it always unlocks
2017-01-30 08:35:10 -08:00
Mitchell Hashimoto
9183be4c83
update master version to 0.9.0-dev
2017-01-29 18:46:18 -08:00
Mitchell Hashimoto
cf46e1c3e0
terraform: don't validate computed values in validate
...
This disables the computed value check for `count` during the validation
pass. This enables partial support for #3888 or #1497 : as long as the
value is non-computed during the plan, complex values will work in
counts.
**Notably, this allows data source values to be present in counts!**
The "count" value can be disabled during validation safely because we
can treat it as if any field that uses `count.index` is computed for
validation. We then validate a single instance (as if `count = 1`) just
to make sure all required fields are set.
2017-01-27 21:15:43 -08:00
Mitchell Hashimoto
0ba3fcdc63
terraform: test static var being passed into grandchild for count
2017-01-27 20:38:07 -08:00
Mitchell Hashimoto
2162d6cf3d
terraform: test a basic static var count passed into a module
2017-01-27 20:32:55 -08:00
Mitchell Hashimoto
dd6d025dbb
terraform: commmit generated file
2017-01-27 20:31:29 -08:00
Mitchell Hashimoto
2beb62c92b
terraform: remove flatten, forever
2017-01-26 21:03:27 -08:00
Mitchell Hashimoto
6d731b3b46
terraform: new provisioner node
2017-01-26 21:02:55 -08:00
Mitchell Hashimoto
e89d738679
terraform: provider transform is converted to new graph world view
2017-01-26 20:58:22 -08:00
Mitchell Hashimoto
91c9c6032f
terraform: remove the old resource node
2017-01-26 20:48:05 -08:00
Mitchell Hashimoto
d59725e9fd
terraform: convert StateDeps to use new structs
2017-01-26 20:47:20 -08:00
Mitchell Hashimoto
c1e4bd7b72
terraform: remove graph config node file
2017-01-26 20:16:06 -08:00
Mitchell Hashimoto
348cfa0ed7
terraform: remove graph annotations
2017-01-26 20:13:42 -08:00
Mitchell Hashimoto
a561934f61
terraform: keep pruning out lines
2017-01-26 20:12:01 -08:00
Mitchell Hashimoto
6c266d6ce3
terraform: prune down the resource node struct quite a bit
2017-01-26 20:08:55 -08:00
Mitchell Hashimoto
a6bab455cc
terraform: remove node module file
2017-01-26 20:05:42 -08:00
Mitchell Hashimoto
37294d5ad2
terraform: remove old variable node
2017-01-26 20:04:39 -08:00
Mitchell Hashimoto
513ff88859
terraform: remove GraphConfigNodeType
2017-01-26 20:03:29 -08:00
Mitchell Hashimoto
31c813fa51
terraform: remove GraphNodeModule
2017-01-26 20:01:39 -08:00
Mitchell Hashimoto
3a97cf2df9
terraform: goodbye GraphNodeConfigProvider
2017-01-26 19:59:25 -08:00
Mitchell Hashimoto
0039f70d06
terraform: remove config transformer old
2017-01-26 19:57:46 -08:00
Mitchell Hashimoto
9086e996d6
terraform: convert all tests to use the new config transformer
2017-01-26 19:56:16 -08:00
Mitchell Hashimoto
efc79d431e
terraform: more dead code removal
2017-01-26 19:47:02 -08:00
Mitchell Hashimoto
522a28ab95
terraform: convert root transform test to use new config transform
2017-01-26 19:40:46 -08:00
Mitchell Hashimoto
83e093a73e
terraform: delete destroy interfaces
2017-01-26 19:39:24 -08:00
Mitchell Hashimoto
d820d186e1
terraform: remove old resource count transformer
2017-01-26 19:37:47 -08:00
Mitchell Hashimoto
4e4d51e6ba
terraform: remove old orphan transform
2017-01-26 19:36:02 -08:00
Mitchell Hashimoto
9426b71a5f
terraform: remove noop transformer
2017-01-26 19:32:49 -08:00
Mitchell Hashimoto
e8eb0bd92f
terraform: delete proxy transformer
2017-01-26 19:31:32 -08:00
Mitchell Hashimoto
ca0550e7eb
terraform: delete old module destroy transform
2017-01-26 19:30:27 -08:00
Mitchell Hashimoto
13e27c8b8f
terraform: delete old unused transforms
2017-01-26 19:29:15 -08:00
Mitchell Hashimoto
301cf60821
terraform: delete some flatten stuff
2017-01-26 18:10:07 -08:00
Mitchell Hashimoto
114315d502
terraform: delete legacy outputs
2017-01-26 18:09:07 -08:00
Mitchell Hashimoto
be56ebf770
terraform: remove so much destroy transform
2017-01-26 18:00:47 -08:00
Mitchell Hashimoto
b1b0e30f5a
terraform: remove old CBD transformer
2017-01-26 17:58:24 -08:00
Mitchell Hashimoto
09242fab09
terraform: remove legacy graph builder
2017-01-26 15:18:42 -08:00
Mitchell Hashimoto
83cc54bfbe
updated generate output
2017-01-26 15:11:47 -08:00
Mitchell Hashimoto
a8f64cbcee
terraform: make sure Stop blocks until full completion
2017-01-26 15:10:30 -08:00
Mitchell Hashimoto
142df657c3
provisioners/remote-exec: listen to Stop
2017-01-26 15:10:30 -08:00
Mitchell Hashimoto
f8c7b639c9
terraform: switch to Context for stop, Stoppable provisioners
...
This switches to the Go "context" package for cancellation and threads
the context through all the way to evaluation to allow behavior based on
stopping deep within graph execution.
This also adds the Stop API to provisioners so they can quickly exit
when stop is called.
2017-01-26 15:03:27 -08:00
Mitchell Hashimoto
523801dcc2
terraform: support backends in the state
2017-01-26 14:33:49 -08:00
Mitchell Hashimoto
b35b263015
Merge pull request #11329 from hashicorp/f-destroy-prov
...
Destroy Provisioners
2017-01-26 14:32:21 -08:00
Mitchell Hashimoto
0b0114c9bf
Merge pull request #11426 from hashicorp/f-new-graph
...
core: Refresh, Validate, Input on new graph builders
2017-01-26 14:31:03 -08:00
Radek Simko
0bafea87bb
release: clean up after v0.8.5
2017-01-26 16:18:34 +00:00
Radek Simko
b4d477660b
v0.8.5
2017-01-26 16:01:59 +00:00
Mitchell Hashimoto
ae6bf241ec
terraform: validate self references
2017-01-25 21:00:45 -08:00