Files
tree-sitter-jhcl/fuzz/corpus/hashicorp%terraforminternal%terraform%testdata%validate-required-provider-config%main.tf
2021-09-19 12:00:18 +02:00

21 lines
492 B
HCL

# This test verifies that the provider local name, local config and fqn map
# together properly when the local name does not match the type.
terraform {
required_providers {
arbitrary = {
source = "hashicorp/aws"
}
}
}
# hashicorp/test has required provider config attributes. This "arbitrary"
# provider configuration block should map to hashicorp/test.
provider "arbitrary" {
required_attribute = "bloop"
}
resource "aws_instance" "test" {
provider = "arbitrary"
}