Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps)!: Update Terraform terraform-google-modules/cloud-storage/google to v8 - autoclosed #325

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/tf_cloudbuild_builder/cb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,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 = "~> 6.0"
version = "~> 8.0"

name = local.log_bucket_name
project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion modules/tf_cloudbuild_source/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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 = "~> 6.0"
version = "~> 8.0"

name = "${module.cloudbuild_project.project_id}_cloudbuild"
project_id = module.cloudbuild_project.project_id
Expand Down
6 changes: 3 additions & 3 deletions modules/tf_cloudbuild_workspace/buckets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {

module "artifacts_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~> 6.0"
version = "~> 8.0"

name = var.artifacts_bucket_name != "" ? var.artifacts_bucket_name : "${local.default_prefix}-build-artifacts-${var.project_id}"
project_id = var.project_id
Expand All @@ -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 = "~> 6.0"
version = "~> 8.0"

name = var.log_bucket_name != "" ? var.log_bucket_name : "${local.default_prefix}-build-logs-${var.project_id}"
project_id = var.project_id
Expand All @@ -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 = "~> 6.0"
version = "~> 8.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}"
Expand Down