2020-09-04 03:35:31 +02:00
|
|
|
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
|
|
|
|
}
|
2020-09-04 23:42:04 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
}
|