Skip to content

Commit

Permalink
feat: update TPG version constraints to allow 4.0 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-foundation-bot authored Feb 10, 2022
1 parent b7661cf commit a97ec91
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
* limitations under the License.
*/

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

module "{{ cookiecutter.module_name|replace('-', '_') }}" {
source = "../.."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@
*/

terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
*/

terraform {
required_version = ">= 0.12"
}

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

provider "google-beta" {
version = "~> 3.25.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 3.25.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 3.25.0"
}
}
}
2 changes: 1 addition & 1 deletion terraform-google-{{cookiecutter.module_name}}/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 3.53"
version = "~> 3.53, < 5.0"
}
}

Expand Down

0 comments on commit a97ec91

Please sign in to comment.