Skip to content

Commit

Permalink
feat!: update TPG version constraints to allow 4.0, add Terraform 0.1…
Browse files Browse the repository at this point in the history
…3 constraint (#258)

Co-authored-by: Bharath KKB <bharathkrishnakb@gmail.com>
  • Loading branch information
cloud-foundation-bot and bharathkkb committed Jan 28, 2022
1 parent bf1fc2f commit 9cff52a
Show file tree
Hide file tree
Showing 13 changed files with 62 additions and 40 deletions.
10 changes: 8 additions & 2 deletions examples/mssql-public/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">= 0.12"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
10 changes: 8 additions & 2 deletions examples/mysql-ha/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
10 changes: 8 additions & 2 deletions examples/mysql-private/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
10 changes: 8 additions & 2 deletions examples/mysql-public/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
11 changes: 8 additions & 3 deletions examples/postgresql-ha/versions.tf
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 @@ -15,6 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}

10 changes: 8 additions & 2 deletions examples/postgresql-public-iam/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
10 changes: 8 additions & 2 deletions examples/postgresql-public/versions.tf
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 @@ -15,5 +15,11 @@
*/

terraform {
required_version = ">=0.12.6"
required_providers {
google-beta = {
source = "hashicorp/google-beta"
version = "~> 4.0"
}
}
required_version = ">= 0.13"
}
2 changes: 1 addition & 1 deletion modules/mssql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {

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

Expand Down
2 changes: 1 addition & 1 deletion modules/mysql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ terraform {
}
google = {
source = "hashicorp/google"
version = "~> 3.60"
version = ">= 3.60, < 5.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/postgresql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ terraform {
}
google = {
source = "hashicorp/google"
version = "~> 3.60"
version = ">= 3.60, < 5.0"
}
}

Expand Down
4 changes: 2 additions & 2 deletions modules/private_service_access/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,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
2 changes: 1 addition & 1 deletion modules/safer_mysql/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.60"
version = ">= 3.60, < 5.0"
}
}

Expand Down
19 changes: 0 additions & 19 deletions test/setup/versions.tf

This file was deleted.

0 comments on commit 9cff52a

Please sign in to comment.