From e67c9fc5a09459893ebc7960e9c40a315cc9e6f3 Mon Sep 17 00:00:00 2001 From: Aditya Choudhari <48932219+adityachoudhari26@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:11:15 -0700 Subject: [PATCH 1/2] fix: Stackdriver SA name (#148) --- modules/service_accounts/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/service_accounts/main.tf b/modules/service_accounts/main.tf index 615ab14..8db67f5 100644 --- a/modules/service_accounts/main.tf +++ b/modules/service_accounts/main.tf @@ -130,7 +130,7 @@ resource "google_service_account_iam_member" "workload_binding" { ### service account for stackdriver resource "google_service_account" "stackdriver" { count = var.enable_stackdriver == true ? 1 : 0 - account_id = substr("${random_id.main.dec}-stackdriver", 0, 30) + account_id = format("%s-stackdriver", substr(random_id.main.dec, 0, 18)) display_name = "Service Account For Workload Identity" } From b52e566993192977e5a9f1ba5ff0b700328398c9 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 17 Jul 2024 22:11:43 +0000 Subject: [PATCH 2/2] chore(release): version 4.0.2 [skip ci] ### [4.0.2](https://github.com/wandb/terraform-google-wandb/compare/v4.0.1...v4.0.2) (2024-07-17) ### Bug Fixes * Stackdriver SA name ([#148](https://github.com/wandb/terraform-google-wandb/issues/148)) ([e67c9fc](https://github.com/wandb/terraform-google-wandb/commit/e67c9fc5a09459893ebc7960e9c40a315cc9e6f3)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ccc57fa..54cebe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +### [4.0.2](https://github.com/wandb/terraform-google-wandb/compare/v4.0.1...v4.0.2) (2024-07-17) + + +### Bug Fixes + +* Stackdriver SA name ([#148](https://github.com/wandb/terraform-google-wandb/issues/148)) ([e67c9fc](https://github.com/wandb/terraform-google-wandb/commit/e67c9fc5a09459893ebc7960e9c40a315cc9e6f3)) + ### [4.0.1](https://github.com/wandb/terraform-google-wandb/compare/v4.0.0...v4.0.1) (2024-07-16)