terraform/command/testdata/init-get-provider-detected-.../main.tf

19 lines
394 B
Terraform
Raw Normal View History

// This should result in installing hashicorp/foo
provider foo {}
// This will try to install hashicorp/baz, fail, and then suggest
// terraform-providers/baz
provider baz {}
// This will try to install hashicrop/frob, fail, find no suggestions, and
// result in an error
provider frob {}
module "some-baz-stuff" {
source = "./child"
}
module "dicerolls" {
source = "acme/bar/random"
}