terraform: unique ID for destroying resources

This commit is contained in:
Mitchell Hashimoto 2016-10-06 11:54:09 -07:00
parent 5c1af55711
commit 548a585762
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 0 deletions

View File

@ -862,6 +862,7 @@ func (n *graphNodeExpandedResourceDestroy) ConfigType() GraphNodeConfigType {
// GraphNodeEvalable impl.
func (n *graphNodeExpandedResourceDestroy) EvalTree() EvalNode {
info := n.instanceInfo()
info.Id += " (destroy)"
var diffApply *InstanceDiff
var provider ResourceProvider