terraform: add config transformer to enable preventDestroy

This commit is contained in:
Mitchell Hashimoto 2016-10-19 09:44:00 -07:00
parent 0ed896a313
commit e68327e765
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A

View File

@ -41,6 +41,9 @@ func (b *DestroyPlanGraphBuilder) Steps() []GraphTransformer {
State: b.State, State: b.State,
}, },
// Attach the configuration to any resources
&AttachResourceConfigTransformer{Module: b.Module},
// Single root // Single root
&RootTransformer{}, &RootTransformer{},
} }