Skip to content

Commit

Permalink
feat: update TPG version constraints to allow 4.0 (#40)
Browse files Browse the repository at this point in the history
* feat: update TPG version constraints to allow 4.0

* fix: update additional TPG constraints

Co-authored-by: Morgante Pell <[email protected]>
Co-authored-by: Andrew Peabody <[email protected]>
  • Loading branch information
3 people authored Apr 13, 2022
1 parent b5cce85 commit 16933d1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
2 changes: 0 additions & 2 deletions examples/basic/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
*/

provider "google" {
version = ">= 3.53.0"
project = var.project_id
}

provider "google-beta" {
version = ">= 3.53.0"
project = var.project_id
}
15 changes: 14 additions & 1 deletion examples/basic/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,18 @@
*/

terraform {
required_version = ">= 0.12"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.53, < 5.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.53, < 5.0"
}
template = {
source = "hashicorp/template"
}
}
}
20 changes: 11 additions & 9 deletions test/setup/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
*/

terraform {
required_version = ">= 0.12"
}

provider "google" {
version = "~> 3.53.0"
}

provider "google-beta" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.53, < 5.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.53, < 5.0"
}
}
}

2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {

google = {
source = "hashicorp/google"
version = "~> 3.53"
version = ">= 3.53, < 5.0"
}
}

Expand Down

0 comments on commit 16933d1

Please sign in to comment.