terraform/internal/configs/testdata/valid-modules/provider-aliases/main.tf

18 lines
272 B
HCL

terraform {
required_providers {
foo-test = {
source = "foo/test"
configuration_aliases = [foo-test.a, foo-test.b]
}
}
}
resource "test_instance" "explicit" {
provider = foo-test.a
}
data "test_resource" "explicit" {
provider = foo-test.b
}