mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
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
|
||||
}
|
||||
|
||||
// Ignore orphan nodes with no provisioners
|
||||
if rn.Config == nil {
|
||||
continue
|
||||
}
|
||||
|
||||
// Check each provisioner
|
||||
for _, p := range rn.Config.Provisioners {
|
||||
// Check for a cached provisioner
|
||||
|
Loading…
Reference in New Issue
Block a user