mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: add config transformer to enable preventDestroy
This commit is contained in:
parent
0ed896a313
commit
e68327e765
@ -41,6 +41,9 @@ func (b *DestroyPlanGraphBuilder) Steps() []GraphTransformer {
|
||||
State: b.State,
|
||||
},
|
||||
|
||||
// Attach the configuration to any resources
|
||||
&AttachResourceConfigTransformer{Module: b.Module},
|
||||
|
||||
// Single root
|
||||
&RootTransformer{},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user