ResourceInstanceObject needs to return a copy
This commit is contained in:
parent
82f5f50fe7
commit
292535820d
|
@ -179,7 +179,7 @@ func (s *SyncState) ResourceInstanceObject(addr addrs.AbsResourceInstance, gen G
|
|||
if inst == nil {
|
||||
return nil
|
||||
}
|
||||
return inst.GetGeneration(gen)
|
||||
return inst.GetGeneration(gen).DeepCopy()
|
||||
}
|
||||
|
||||
// SetResourceMeta updates the resource-level metadata for the resource at
|
||||
|
|
Loading…
Reference in New Issue