terraform: Ignore orphans in provisioner setup
This commit is contained in:
parent
8901a6753b
commit
9fc6413775
|
@ -736,6 +736,11 @@ func graphMapResourceProvisioners(g *depgraph.Graph,
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ignore orphan nodes with no provisioners
|
||||||
|
if rn.Config == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
// Check each provisioner
|
// Check each provisioner
|
||||||
for _, p := range rn.Config.Provisioners {
|
for _, p := range rn.Config.Provisioners {
|
||||||
// Check for a cached provisioner
|
// Check for a cached provisioner
|
||||||
|
|
Loading…
Reference in New Issue