helper/resource: set to valid ID

This commit is contained in:
Mitchell Hashimoto 2014-07-07 15:06:17 -07:00
parent 10e3cad5ce
commit 8acd3a6373
1 changed files with 1 additions and 1 deletions

View File

@ -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