Skip to content

Commit

Permalink
chore: upgrade test-org to TPGv6
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Sep 23, 2024
1 parent 17331bb commit f272b55
Show file tree
Hide file tree
Showing 8 changed files with 125 additions and 136 deletions.
236 changes: 112 additions & 124 deletions infra/terraform/test-org/org/.terraform.lock.hcl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion infra/terraform/test-org/org/bigquery_external_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "google_folder" "ci_bq_external_data_folder" {

module "ci_bq_external_data_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 17.0"

name = "ci-bq-external-data-project"
project_id = "ci-bq-external-data-project"
Expand Down
6 changes: 3 additions & 3 deletions infra/terraform/test-org/org/folders.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "folders-root" {
source = "terraform-google-modules/folders/google"
version = "~> 4.0"
version = "~> 5.0"

parent = "organizations/${local.org_id}"

Expand All @@ -30,7 +30,7 @@ module "folders-root" {

module "folders-ci" {
source = "terraform-google-modules/folders/google"
version = "~> 4.0"
version = "~> 5.0"

parent = "folders/${replace(local.folders["ci-projects"], "folders/", "")}"

Expand All @@ -41,7 +41,7 @@ module "folders-ci" {

module "bpt_ci_folder" {
source = "terraform-google-modules/folders/google"
version = "~> 4.0"
version = "~> 5.0"

parent = "folders/${replace(local.folders["ci-projects"], "folders/", "")}"
names = ["ci-bpt"]
Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/test-org/org/gsuite.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resource "google_folder" "ci_gsuite_sa_folder" {

module "ci_gsuite_sa_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 17.0"

name = "ci-gsuite-sa-project"
project_id = "ci-gsuite-sa-project"
Expand Down
6 changes: 3 additions & 3 deletions infra/terraform/test-org/org/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

module "admin_bindings" {
source = "terraform-google-modules/iam/google//modules/folders_iam"
version = "~> 7.4"
version = "~> 8.0"

folders = [local.folders["ci-projects"]]

Expand All @@ -38,7 +38,7 @@ module "admin_bindings" {

module "ci_bindings" {
source = "terraform-google-modules/iam/google//modules/folders_iam"
version = "~> 7.4"
version = "~> 8.0"

folders = [local.folders["ci-projects"]]

Expand All @@ -59,7 +59,7 @@ module "ci_bindings" {

module "ci_folders_folder_bindings" {
source = "terraform-google-modules/iam/google//modules/folders_iam"
version = "~> 7.4"
version = "~> 8.0"

folders = [local.ci_folders["ci-folders"]]

Expand Down
2 changes: 1 addition & 1 deletion infra/terraform/test-org/org/projects.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

module "ci_media_cdn_vod_project" {
source = "terraform-google-modules/project-factory/google"
version = "~> 14.0"
version = "~> 17.0"

name = "ci-media-cdn-vod-project"
project_id = "ci-media-cdn-vod-project"
Expand Down
3 changes: 2 additions & 1 deletion infra/terraform/test-org/org/prow.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ provider "kubernetes" {

module "prow-int-sa-wi" {
source = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity"
version = "~> 29.0"
version = "~> 33.0"
name = "int-test-sa"
namespace = local.test_ns
project_id = local.prow_project_id
roles = ["roles/artifactregistry.reader"]
}

resource "kubernetes_config_map" "test-constants" {
Expand Down
4 changes: 2 additions & 2 deletions infra/terraform/test-org/org/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.19, < 6"
version = ">= 3.19, < 7"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.19, < 6"
version = ">= 3.19, < 7"
}
null = {
source = "hashicorp/null"
Expand Down

0 comments on commit f272b55

Please sign in to comment.