terraform: don't add tainted resources to expanded graph [GH-412]

The tainted resources are separate elements in the graph.
This commit is contained in:
Mitchell Hashimoto 2014-10-18 11:13:36 -07:00
parent 895d978065
commit b2d674b431
2 changed files with 3 additions and 7 deletions

View File

@ -10,6 +10,7 @@ BUG FIXES:
* core: If a resource fails to create and has provisioners, it is
marked as tainted. [GH-434]
* core: Set types are validated to be sets. [GH-413]
* core: Fix crash case when destroying with tainted resources. [GH-412]
* providers/aws: Refresh of launch configs and autoscale groups load
the correct data and don't incorrectly recreate themselves. [GH-425]
* providers/aws: Fix case where ELB would incorrectly plan to modify

View File

@ -1667,11 +1667,6 @@ func (n *GraphNodeResource) Expand() (*depgraph.Graph, error) {
return n.finalizeGraph(g, false)
}
if n.State != nil {
// Add the tainted resources
graphAddTainted(g, n.State)
}
return n.finalizeGraph(g, true)
}