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{},
|
&DisableProviderTransformerOld{},
|
||||||
&PruneProviderTransformer{},
|
&PruneProviderTransformer{},
|
||||||
|
|
||||||
// Single root
|
|
||||||
&RootTransformer{},
|
|
||||||
|
|
||||||
// Insert nodes to close opened plugin connections
|
// Insert nodes to close opened plugin connections
|
||||||
&CloseProviderTransformer{},
|
&CloseProviderTransformer{},
|
||||||
|
|
||||||
|
// Single root
|
||||||
|
&RootTransformer{},
|
||||||
|
|
||||||
// Optimize
|
// Optimize
|
||||||
&TransitiveReductionTransformer{},
|
&TransitiveReductionTransformer{},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue