Skip to content

Commit

Permalink
fix: Allow 3.x provider version in fabric-project submodule. (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmuizelaar authored Feb 3, 2020
1 parent 4f372dd commit 2b32b68
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions examples/app_engine/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
4 changes: 2 additions & 2 deletions examples/budget_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
2 changes: 1 addition & 1 deletion examples/fabric_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

provider "google" {
version = "~> 2.18.1"
version = "~> 3.6.0"
}

provider "random" {
Expand Down
4 changes: 2 additions & 2 deletions examples/gke_shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ locals {

provider "google" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
4 changes: 2 additions & 2 deletions examples/group_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ locals {
*****************************************/
provider "google" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "gsuite" {
Expand Down
4 changes: 2 additions & 2 deletions examples/project-hierarchy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ locals {
*****************************************/
provider "google" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "gsuite" {
Expand Down
2 changes: 1 addition & 1 deletion examples/project_services/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Provider configuration
*****************************************/
provider "google" {
version = "~> 2.18.1"
version = "~> 3.6.0"
}

module "project-services" {
Expand Down
4 changes: 2 additions & 2 deletions examples/shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ locals {
*****************************************/
provider "google" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
4 changes: 2 additions & 2 deletions examples/simple_project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ locals {
*****************************************/
provider "google" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
credentials = file(local.credentials_file_path)
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
2 changes: 1 addition & 1 deletion modules/fabric-project/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ terraform {
required_version = "~> 0.12.6"

required_providers {
google = "~> 2.1"
google = ">= 3.1, < 4.0"
}
}
4 changes: 2 additions & 2 deletions test/fixtures/full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "gsuite" {
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/minimal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/shared_vpc_no_subnets/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "gsuite" {
Expand Down
6 changes: 3 additions & 3 deletions test/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

provider "google" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "google-beta" {
version = "~> 3.3.0"
version = "~> 3.6.0"
}

provider "null" {
Expand All @@ -41,7 +41,7 @@ resource "google_folder" "ci_pfactory_folder" {

module "pfactory_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 4.0"
version = "~> 7.0"

name = "ci-pfactory-tests"
random_project_id = true
Expand Down

0 comments on commit 2b32b68

Please sign in to comment.