Skip to content

Commit

Permalink
feat: update TPG version constraints to allow 4.0 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-foundation-bot authored Nov 24, 2021
1 parent 9e7c47c commit 759bcb9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 25 deletions.
11 changes: 0 additions & 11 deletions examples/simple_composer_env/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@
* limitations under the License.
*/

/******************************************
Provider configuration
*****************************************/
provider "google" {
version = "~> 3.3"
}

provider "google-beta" {
version = "~> 3.3"
}

module "simple-composer-environment" {
source = "../../modules/create_environment"

Expand Down
12 changes: 11 additions & 1 deletion examples/simple_composer_env/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"
}
}
}
4 changes: 2 additions & 2 deletions modules/create_environment/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ 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
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.6"
}

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

provider "google-beta" {
version = "~> 3.53"
required_version = ">= 0.13"
required_providers {
google = {
source = "hashicorp/google"
version = "~> 3.53"
}
google-beta = {
source = "hashicorp/google-beta"
version = "~> 3.53"
}
}
}
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ 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 759bcb9

Please sign in to comment.