terraform: ignore ProviderConfig during walks
This commit is contained in:
parent
975dc47638
commit
ebbc0047ce
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue