Skip to content

Commit

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

* Delete make_source.sh

Co-authored-by: Bharath KKB <[email protected]>
  • Loading branch information
cloud-foundation-bot and bharathkkb committed Dec 22, 2021
1 parent 503bc0a commit 10a2f46
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 97 deletions.
12 changes: 11 additions & 1 deletion examples/forwarding-zone/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@
*/

terraform {
required_version = ">= 0.12"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
}
12 changes: 11 additions & 1 deletion examples/peering-zone/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,15 @@
*/

terraform {
required_version = ">= 0.12"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
}
23 changes: 0 additions & 23 deletions examples/private-zone/providers.tf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Google LLC
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,10 +14,16 @@
* limitations under the License.
*/

provider "google" {
version = ">= 2.14"
}

provider "google-beta" {
version = ">= 2.14"
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
23 changes: 0 additions & 23 deletions examples/public-zone/providers.tf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019 Google LLC
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,10 +14,16 @@
* limitations under the License.
*/

provider "google" {
version = ">= 2.14"
}

provider "google-beta" {
version = ">= 2.14"
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
24 changes: 0 additions & 24 deletions test/setup/make_source.sh

This file was deleted.

20 changes: 11 additions & 9 deletions test/setup/versions.tf
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.63"
}

provider "google-beta" {
version = ">= 3.63"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.63"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.63"
}
}
}
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ terraform {

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

Expand Down

0 comments on commit 10a2f46

Please sign in to comment.