diff --git a/terraform/graph_builder_import.go b/terraform/graph_builder_import.go index 06763710c..6d87d487d 100644 --- a/terraform/graph_builder_import.go +++ b/terraform/graph_builder_import.go @@ -46,7 +46,7 @@ func (b *ImportGraphBuilder) Steps() []GraphTransformer { // Provider-related transformations &MissingProviderTransformer{Providers: b.Providers}, &ProviderTransformer{}, - &DisableProviderTransformer{}, + &DisableProviderTransformerOld{}, &PruneProviderTransformer{}, // Single root diff --git a/terraform/transform_provider_test.go b/terraform/transform_provider_test.go index 22870fc77..bc2cff532 100644 --- a/terraform/transform_provider_test.go +++ b/terraform/transform_provider_test.go @@ -367,7 +367,7 @@ func TestDisableProviderTransformer(t *testing.T) { &ConfigTransformer{Module: mod}, &MissingProviderTransformer{Providers: []string{"aws"}}, &ProviderTransformer{}, - &DisableProviderTransformer{}, + &DisableProviderTransformerOld{}, &CloseProviderTransformer{}, &PruneProviderTransformer{}, } @@ -393,7 +393,7 @@ func TestDisableProviderTransformer_keep(t *testing.T) { &ConfigTransformer{Module: mod}, &MissingProviderTransformer{Providers: []string{"aws"}}, &ProviderTransformer{}, - &DisableProviderTransformer{}, + &DisableProviderTransformerOld{}, &CloseProviderTransformer{}, &PruneProviderTransformer{}, }