diff --git a/helper/resource/map.go b/helper/resource/map.go index ae9ce719d1..e1600ce82a 100644 --- a/helper/resource/map.go +++ b/helper/resource/map.go @@ -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