diff --git a/versions.tf b/versions.tf index ee96780..85eb3af 100644 --- a/versions.tf +++ b/versions.tf @@ -5,7 +5,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = "~> 4.0" + version = ">= 4, < 6" } } } diff --git a/versions.tm.hcl b/versions.tm.hcl index a4141d3..3a32c4e 100644 --- a/versions.tm.hcl +++ b/versions.tm.hcl @@ -1,10 +1,9 @@ globals { - minimum_terraform_version = "1.0" + minimum_terraform_version = "1.0" - provider = "google" - minimum_provider_version = "4.0" + provider = "google" - provider_version_constraint = "~> ${global.minimum_provider_version}" + provider_version_constraint = ">= 4, < 6" terraform_version_constraint = "~> ${global.minimum_terraform_version}, != 1.1.0, != 1.1.1" # we exclude 1.1.0 and 1.1.1 because of: # https://github.com/hashicorp/terraform/blob/v1.1/CHANGELOG.md#112-december-17-2021