Skip to content

Commit 8b94610

Browse files
authored
Merge pull request #184 from hashicorp/cherry-pick-22855
command/import: fix error during import when implied provider was not used (cherry-pick hashicorp/terraform#22855)
2 parents 69da077 + e4be158 commit 8b94610

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

terraform/graph_builder_import.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ func (b *ImportGraphBuilder) Steps() []GraphTransformer {
5555
// Create all our resources from the configuration and state
5656
&ConfigTransformer{Config: config},
5757

58+
// Attach the configuration to any resources
59+
&AttachResourceConfigTransformer{Config: b.Config},
60+
5861
// Add the import steps
5962
&ImportStateTransformer{Targets: b.ImportTargets},
6063

0 commit comments

Comments
 (0)