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
|
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
|
// If no state was returned, then no variables were updated so
|
||||||
// just return.
|
// just return.
|
||||||
if rs == nil {
|
if rs == nil {
|
||||||
|
|
Loading…
Reference in New Issue