helper/resource: set to valid ID
This commit is contained in:
parent
10e3cad5ce
commit
8acd3a6373
|
@ -50,7 +50,7 @@ func (m *Map) Apply(
|
|||
result, err = r.Update(s, d, meta)
|
||||
}
|
||||
if result != nil {
|
||||
result.Attributes["id"] = s.ID
|
||||
result.Attributes["id"] = result.ID
|
||||
}
|
||||
|
||||
return result, err
|
||||
|
|
Loading…
Reference in New Issue