aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go')
-rw-r--r--vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go b/vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go
index 22be1ab..a06ff29 100644
--- a/vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go
+++ b/vendor/github.com/hashicorp/terraform/terraform/transform_destroy_edge.go
@@ -119,17 +119,15 @@ func (t *DestroyEdgeTransformer) Transform(g *Graph) error {
119 return &NodeApplyableProvider{NodeAbstractProvider: a} 119 return &NodeApplyableProvider{NodeAbstractProvider: a}
120 } 120 }
121 steps := []GraphTransformer{ 121 steps := []GraphTransformer{
122 // Add the local values
123 &LocalTransformer{Module: t.Module},
124
122 // Add outputs and metadata 125 // Add outputs and metadata
123 &OutputTransformer{Module: t.Module}, 126 &OutputTransformer{Module: t.Module},
124 &AttachResourceConfigTransformer{Module: t.Module}, 127 &AttachResourceConfigTransformer{Module: t.Module},
125 &AttachStateTransformer{State: t.State}, 128 &AttachStateTransformer{State: t.State},
126 129
127 // Add providers since they can affect destroy order as well 130 TransformProviders(nil, providerFn, t.Module),
128 &MissingProviderTransformer{AllowAny: true, Concrete: providerFn},
129 &ProviderTransformer{},
130 &DisableProviderTransformer{},
131 &ParentProviderTransformer{},
132 &AttachProviderConfigTransformer{Module: t.Module},
133 131
134 // Add all the variables. We can depend on resources through 132 // Add all the variables. We can depend on resources through
135 // variables due to module parameters, and we need to properly 133 // variables due to module parameters, and we need to properly