You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/configs/testdata/valid-modules/nested-providers-fqns/main.tf

30 lines
504 B

terraform {
required_providers {
foo-test = {
source = "foo/test"
}
}
}
provider "foo-test" {}
module "child" {
source = "./child"
providers = {
foo-test.other = foo-test
}
}
resource "test_instance" "explicit" {
provider = foo-test
}
data "test_resource" "explicit" {
provider = foo-test
}
resource "test_instance" "implicit" {
// since the provider type name "test" does not match an entry in
// required_providers, the default provider "test" should be used
}