Skip to content

Commit

Permalink
feat: Upgrade to Project Factory 7.0 (#9)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Increased minimum Google provider version to 3.3
  • Loading branch information
morgante committed Jan 23, 2020
1 parent 5642c42 commit b0bb86b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions examples/cloudbuild_enabled/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@


provider "google" {
version = "~> 2.12.0"
version = "~> 3.5.0"
}

provider "google-beta" {
version = "~> 2.12.0"
version = "~> 3.5.0"
}

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

provider "google" {
version = "~> 2.12.0"
version = "~> 3.5.0"
}

provider "google-beta" {
version = "~> 2.12.0"
version = "~> 3.5.0"
}

provider "null" {
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data "google_organization" "org" {

module "seed_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 5.0"
version = "~> 7.0"
name = local.seed_project_id
random_project_id = true
disable_services_on_destroy = false
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudbuild/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data "google_organization" "org" {

module "cloudbuild_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 5.0"
version = "~> 7.0"
name = local.cloudbuild_project_id
random_project_id = true
disable_services_on_destroy = false
Expand Down
2 changes: 1 addition & 1 deletion modules/cloudbuild/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ variable "activate_apis" {
"servicenetworking.googleapis.com",
"compute.googleapis.com",
"logging.googleapis.com",
"bigquery-json.googleapis.com",
"bigquery.googleapis.com",
"cloudresourcemanager.googleapis.com",
"cloudbilling.googleapis.com",
"iam.googleapis.com",
Expand Down
4 changes: 2 additions & 2 deletions modules/cloudbuild/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_version = "~> 0.12.6"

required_providers {
google = "~> 2.1"
google-beta = "~> 2.1"
google = "~> 3.5"
google-beta = "~> 3.5"
}
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ variable "activate_apis" {
"servicenetworking.googleapis.com",
"compute.googleapis.com",
"logging.googleapis.com",
"bigquery-json.googleapis.com",
"bigquery.googleapis.com",
"cloudresourcemanager.googleapis.com",
"cloudbilling.googleapis.com",
"iam.googleapis.com",
Expand Down
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_version = "~> 0.12.6"

required_providers {
google = "~> 2.1"
google-beta = "~> 2.1"
google = "~> 3.3"
google-beta = "~> 3.3"
}
}

0 comments on commit b0bb86b

Please sign in to comment.