James Bardin
947db2304a
it's possible to get a nil diff in PreApply
...
Looking through the operations in node_resource_apply and
node_resource_destroy, there are multiple nil checks for diffApply, so
one we need to continue to assume that the diff can be nil through there
until we ensure that it is non-nill in all cases.
So regardless of how we came to get a nil diff in the UiHook PreApply
method, we need to check it.
2017-04-28 21:59:56 -04: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
Paul Hinze
d5a941a0a4
command: Do not count data sources in plan totals
...
Fixes #7483
2016-07-11 17:27:56 -05:00
Radek Simko
e376f61d1d
core: Return correct number of planned updates
2015-07-03 13:22:10 +02:00
Mitchell Hashimoto
8ebdc1e786
terraform: orphans should call post-apply hook [GH-1938]
2015-06-25 20:11:29 -07:00
Radek Simko
b505d15e1e
Add resource sums to terraform plan
...
- closes #2355
2015-06-25 10:25:16 +01:00
Mitchell Hashimoto
5f791051a6
command: render new modules properly
2014-09-25 14:52:06 -07:00
Mitchell Hashimoto
9b2b3a963f
ResourceDiff => InstanceDiff
2014-09-17 16:33:24 -07:00
Mitchell Hashimoto
cdad3036ae
command: closer to compiling
2014-09-17 11:15:07 -07:00
Mitchell Hashimoto
3276ae313f
terraform: PostApply should get error result from Apply
2014-07-17 15:38:50 -07:00
Mitchell Hashimoto
ba4435f99c
command/apply: show add/remove/change count for apply
2014-07-17 15:14:45 -07:00