Files
opentf/terraform/testdata/import-module/main.tf
Kristin Laemmert c8d64846ad Mildwonkey/ps import (#24412)
* import: remove Config from ImportOpts

`Config` in ImportOpts was any provider configuration provided by the
user on the command line. This option has already been removed in favor
of only taking the provider from the configuration loaded in the current
context.

* terrafrom: add Config to ImportStateTransformer and refactor Transform
to get the resource provider FQN from the Config
2020-03-20 08:15:29 -04:00

11 lines
108 B
HCL

provider "aws" {
foo = "bar"
}
module "child" {
source = "./child"
providers = {
aws = aws
}
}