Skip to content

Commit

Permalink
feat: update terraform provider version constraint to support 4.x and…
Browse files Browse the repository at this point in the history
… 5.x
  • Loading branch information
zied-elouaer committed Feb 15, 2024
1 parent 06aacfa commit eb8f64b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
version = ">= 4, < 6"
}
}
}
7 changes: 3 additions & 4 deletions versions.tm.hcl
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eb8f64b

Please sign in to comment.