From 3c494f8117180fbf027e6f92491aacd64006ed41 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 16:01:26 +0000 Subject: [PATCH] fix(deps)!: Update TF modules --- examples/tf_cloudbuild_workspace_simple/files/main.tf | 2 +- modules/tf_cloudbuild_builder/cb.tf | 2 +- modules/tf_cloudbuild_source/main.tf | 2 +- modules/tf_cloudbuild_workspace/buckets.tf | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/tf_cloudbuild_workspace_simple/files/main.tf b/examples/tf_cloudbuild_workspace_simple/files/main.tf index 3c883574..e2586411 100644 --- a/examples/tf_cloudbuild_workspace_simple/files/main.tf +++ b/examples/tf_cloudbuild_workspace_simple/files/main.tf @@ -16,7 +16,7 @@ module "test-vpc-module" { source = "terraform-google-modules/network/google" - version = "~> 6.0" + version = "~> 7.0" project_id = var.project_id network_name = "my-custom-mode-network" mtu = 1460 diff --git a/modules/tf_cloudbuild_builder/cb.tf b/modules/tf_cloudbuild_builder/cb.tf index bd0b11e7..97dfa1dc 100644 --- a/modules/tf_cloudbuild_builder/cb.tf +++ b/modules/tf_cloudbuild_builder/cb.tf @@ -104,7 +104,7 @@ resource "google_project_iam_member" "logs_writer" { # https://cloud.google.com/build/docs/securing-builds/store-manage-build-logs#store-custom-bucket module "bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 3.2" + version = "~> 4.0" name = local.log_bucket_name project_id = var.project_id diff --git a/modules/tf_cloudbuild_source/main.tf b/modules/tf_cloudbuild_source/main.tf index ef771df1..9ea281a2 100644 --- a/modules/tf_cloudbuild_source/main.tf +++ b/modules/tf_cloudbuild_source/main.tf @@ -51,7 +51,7 @@ module "cloudbuild_project" { // Creating the bucket beforehand make it is possible to define a custom location. module "cloudbuild_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 3.2" + version = "~> 4.0" name = "${module.cloudbuild_project.project_id}_cloudbuild" project_id = module.cloudbuild_project.project_id diff --git a/modules/tf_cloudbuild_workspace/buckets.tf b/modules/tf_cloudbuild_workspace/buckets.tf index acbe2ff4..3a2ede64 100644 --- a/modules/tf_cloudbuild_workspace/buckets.tf +++ b/modules/tf_cloudbuild_workspace/buckets.tf @@ -29,7 +29,7 @@ locals { module "artifacts_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 3.2" + version = "~> 4.0" name = var.artifacts_bucket_name != "" ? var.artifacts_bucket_name : "${local.default_prefix}-build-artifacts-${var.project_id}" project_id = var.project_id @@ -45,7 +45,7 @@ resource "google_storage_bucket_iam_member" "artifacts_admin" { module "log_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 3.2" + version = "~> 4.0" name = var.log_bucket_name != "" ? var.log_bucket_name : "${local.default_prefix}-build-logs-${var.project_id}" project_id = var.project_id @@ -62,7 +62,7 @@ resource "google_storage_bucket_iam_member" "log_admin" { # Custom bucket for storing TF state module "state_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "~> 3.2" + version = "~> 4.0" count = var.create_state_bucket ? 1 : 0 name = var.create_state_bucket_name != "" ? var.create_state_bucket_name : "${local.default_prefix}-build-state-${var.project_id}"