terraform/configs/testdata/valid-modules/nested-providers-fqns/child/main.tf

20 lines
396 B
Terraform
Raw Normal View History

terraform {
required_providers {
bar-test = {
source = "bar/test"
}
}
}
provider "bar-test" {}
resource "test_instance" "explicit" {
// explicitly setting provider bar-test
provider = bar-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
}