Paul Hinze
6c93fbb85d
core: [refactor] store Deposed resource instances as a list
...
Deposed instances need to be stored as a list for certain pathological
cases where destroys fail for some reason (e.g. upstream API failure,
Terraform interrupted mid-run). Terraform needs to be able to remember
all Deposed nodes so that it can clean them up properly in subsequent
runs.
Deposed instances will now never touch the Tainted list - they're fully
managed from within their own list.
Added a "multiDepose" test case that walks through a scenario to
exercise this.
2015-03-04 12:25:59 -06:00
Paul Hinze
426f253085
core: [refactor] split WriteState EvalNodes
...
This is the non-DRY pass.
2015-03-04 12:25:47 -06:00
Paul Hinze
596e891b80
core: [refactor] pull Deposed out of Tainted list
2015-03-04 12:25:47 -06:00
Mitchell Hashimoto
821536b1e9
terraform: call the EvalUpdateStateHook strategically
2015-02-23 19:14:16 -08:00
Mitchell Hashimoto
4789f16796
terraform: tainted destroy nodes
2015-02-19 12:08:33 -08:00
Mitchell Hashimoto
b52881d232
terraform: clean up EvalNodes
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
819aed67d4
terraform: provisioners
2015-02-19 12:08:06 -08:00
Mitchell Hashimoto
843cfbe8ad
terraform: tainted apply
2015-02-19 12:08:05 -08:00
Mitchell Hashimoto
93f3050dbd
terraform: make things more linear
2015-02-19 12:08:04 -08:00
Mitchell Hashimoto
2680b6bed4
terraform: refresh tainted resources
2015-02-19 12:08:00 -08:00
Mitchell Hashimoto
d847b2b672
terraform: provider config inheritance in modules
2015-02-19 12:07:59 -08:00
Mitchell Hashimoto
c0695b0657
terraform: tests that some other graph nodes implement the interfaces
2015-02-19 12:07:53 -08:00
Mitchell Hashimoto
e1d3f308a6
terraform: untainted resource depends on tainted resource if it exists
2015-02-19 12:07:53 -08:00
Mitchell Hashimoto
d2f3dc8d1f
terraform: add a tODO in there, I can't think of a use case yet
2015-02-19 12:07:53 -08:00
Mitchell Hashimoto
8dc4c56b2e
terraform: tainted transformer
2015-02-19 12:07:53 -08:00