terraform/internal/configs/testdata/valid-modules/override-resource-provider/base.tf

18 lines
310 B
HCL

terraform {
required_providers {
foo-test = {
source = "foo/test"
}
bar-test = {
source = "bar/test"
}
}
}
resource "test_instance" "explicit" {
provider = foo-test
}
// the provider for this resource should default to "hashicorp/test"
resource "test_instance" "default" {}