diff --git a/terraform/terraform.go b/terraform/terraform.go index fae41e5d3..5b760c14d 100644 --- a/terraform/terraform.go +++ b/terraform/terraform.go @@ -142,6 +142,12 @@ func (t *Terraform) applyWalkFn( return nil, err } + // If no state was returned, then no variables were updated so + // just return. + if rs == nil { + return nil, nil + } + // Update the resulting diff l.Lock() result.Resources[r.Id] = rs