diff --git a/terraform/terraform.go b/terraform/terraform.go index 1b3f6c214..bab527566 100644 --- a/terraform/terraform.go +++ b/terraform/terraform.go @@ -111,6 +111,14 @@ func (t *Terraform) diffWalkFn( return nil } + switch n.Meta.(type) { + case *config.ProviderConfig: + // Ignore, we don't treat this any differently. + return nil + case *config.Resource: + // Continue + } + r := n.Meta.(*config.Resource) p := t.mapping[r] if p == nil {