mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 09:32:24 -06:00
terraform: set type on apply
This commit is contained in:
parent
84a645712b
commit
5384f63b3d
@ -170,6 +170,9 @@ func (t *Terraform) applyWalkFn(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Force the resource state type to be our type
|
||||
rs.Type = r.State.Type
|
||||
|
||||
// If no state was returned, then no variables were updated so
|
||||
// just return.
|
||||
if rs == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user