blob: d5d2cdbb7d3e1547136cea6198b9d91a7e0e1163 [file] [log] [blame]
provider "" { # ERROR: Invalid provider source address
}
provider "hashicorp/aws" { # ERROR: Non-normalized provider source address
}
provider "aws" { # ERROR: Non-normalized provider source address
}
provider "too/many/parts/here" { # ERROR: Invalid provider source address
}
provider "Registry.terraform.io/example/example" { # ERROR: Non-normalized provider source address
}
provider "registry.terraform.io/eXample/example" { # ERROR: Non-normalized provider source address
}
provider "registry.terraform.io/example/Example" { # ERROR: Non-normalized provider source address
}
provider "this/one/okay" {
version = "1.0.0"
}
provider "this/one/okay" { # ERROR: Duplicate provider lock
}
# Legacy providers are not allowed, because they existed only to
# support the Terraform 0.13 upgrade process.
provider "registry.terraform.io/-/null" { # ERROR: Invalid provider source address
}
# Built-in providers are not allowed, because they are not versioned
# independently of the Terraform CLI release they are embedded in.
provider "terraform.io/builtin/foo" { # ERROR: Invalid provider source address
}