Skip to content

Commit

Permalink
Reduce length of Bigquery service account
Browse files Browse the repository at this point in the history
Fix for error:
Error: "account_id" ("appender-wif-trs-pre-production") doesn't match regexp "^[a-z](?:[-a-z0-9]{4,28}[a-z0-9])$"

This change will allow:
- 6 characters for the short service name
- 15 characters for the environment name
  • Loading branch information
saliceti committed Nov 15, 2024
1 parent 26f3b77 commit 7bb9468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aks/dfe_analytics/resources.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "google_service_account" "appender" {
account_id = "appender-wif-${var.service_short}-${var.environment}"
account_id = "app-wif-${var.service_short}-${var.environment}"
display_name = "Service Account appender to ${var.service_short} in ${var.environment} environment"
description = "Configured with workflow identity federation from Azure"
}
Expand Down

0 comments on commit 7bb9468

Please sign in to comment.