terraform: the import RootTransformer should run last
This was causing multiple root issues
This commit is contained in:
parent
5107c33119
commit
2be756642f
|
@ -49,12 +49,12 @@ func (b *ImportGraphBuilder) Steps() []GraphTransformer {
|
|||
&DisableProviderTransformerOld{},
|
||||
&PruneProviderTransformer{},
|
||||
|
||||
// Single root
|
||||
&RootTransformer{},
|
||||
|
||||
// Insert nodes to close opened plugin connections
|
||||
&CloseProviderTransformer{},
|
||||
|
||||
// Single root
|
||||
&RootTransformer{},
|
||||
|
||||
// Optimize
|
||||
&TransitiveReductionTransformer{},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue