attach a deep copy of ResourceState

pull/19676/head
James Bardin 7 years ago
parent 292535820d
commit a4ab055fbd

@ -59,7 +59,9 @@ func (t *AttachStateTransformer) Transform(g *Graph) error {
continue
}
an.AttachResourceState(rs)
// make sure to attach a copy of the state, so instances can modify the
// same ResourceState.
an.AttachResourceState(rs.DeepCopy())
}
return nil

Loading…
Cancel
Save