mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-09 07:05:33 -06:00
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
Block a user