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
James Bardin
5802f76eaa
Make all terraform package tests pass under -race
...
This isn't a pretty refactor, but fixes the race issues in this package
for now.
Fix race on RawConfig.Config()
fix command package races
2016-07-29 16:12:21 -04:00
Mitchell Hashimoto
8b129babe5
terraform: change provisioners to take UIOutput
2014-10-04 09:20:05 -07:00
Mitchell Hashimoto
95f3e626a5
terraform: modify the ResourceProvider API super hardcore
2014-09-16 16:20:11 -07:00
Mitchell Hashimoto
808036bf60
terraform: ResourceProvisioner can't return a state anymore
2014-07-22 09:56:39 -07:00
Armon Dadgar
c8bc5658ab
terraform: Test that validate gets a config for provisioners
2014-07-10 11:38:57 -07:00
Armon Dadgar
975ff45149
terraform: Adding mock resource provisioner
2014-07-10 11:38:56 -07:00