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

11 lines
291 B
HCL

// 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 {}