Skip to content

Commit

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

* Update versions.tf

Co-authored-by: Bharath KKB <[email protected]>
  • Loading branch information
cloud-foundation-bot and bharathkkb authored Dec 20, 2021
1 parent d0fc05d commit 14320e9
Show file tree
Hide file tree
Showing 22 changed files with 154 additions and 89 deletions.
12 changes: 7 additions & 5 deletions examples/bigquery/billing_account/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
}
15 changes: 10 additions & 5 deletions examples/bigquery/folder/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/bigquery/organization/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/bigquery/project/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
12 changes: 7 additions & 5 deletions examples/bq-log-alerting/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
}
4 changes: 0 additions & 4 deletions examples/datadog-sink/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
* limitations under the License.
*/

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

locals {
datadog_svc = element(google_service_account.datadog-viewer.*.email, 0)
log_writ = module.log_export.writer_identity
Expand Down
11 changes: 10 additions & 1 deletion examples/datadog-sink/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,14 @@


terraform {
required_version = ">=0.12.6"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
local = {
source = "hashicorp/local"
}
}
}
12 changes: 7 additions & 5 deletions examples/pubsub/billing_account/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
}
15 changes: 10 additions & 5 deletions examples/pubsub/folder/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/pubsub/organization/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/pubsub/project/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
12 changes: 7 additions & 5 deletions examples/splunk-sink/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
}
12 changes: 7 additions & 5 deletions examples/storage/billing_account/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
}
}
15 changes: 10 additions & 5 deletions examples/storage/folder/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/storage/organization/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
15 changes: 10 additions & 5 deletions examples/storage/project/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@


terraform {
required_version = ">=0.12.6"
}

provider "google" {
version = "~> 3.53.0"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 4.0"
}
random = {
source = "hashicorp/random"
}
}
}
2 changes: 1 addition & 1 deletion modules/bigquery/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
2 changes: 1 addition & 1 deletion modules/bq-log-alerting/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"
}
}
}
2 changes: 1 addition & 1 deletion modules/pubsub/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
2 changes: 1 addition & 1 deletion modules/storage/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
23 changes: 14 additions & 9 deletions test/setup/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@
*/

terraform {
required_version = ">=0.12.6"
}

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.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 3.53.0"
}
null = {
source = "hashicorp/null"
}
}
}
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 14320e9

Please sign in to comment.