diff --git a/terraform/terraform.go b/terraform/terraform.go index c93145a4e1..8d26bd9ea7 100644 --- a/terraform/terraform.go +++ b/terraform/terraform.go @@ -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 {