shorten internal service account name

This commit is contained in:
Ludovico Magnocavallo 2020-11-09 13:28:42 +01:00
parent 6610b79b6c
commit ea6c5c3fed
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ locals {
resource "google_service_account" "service_account" { resource "google_service_account" "service_account" {
count = var.node_service_account_create ? 1 : 0 count = var.node_service_account_create ? 1 : 0
project = var.project_id project = var.project_id
account_id = "tf-gke-${var.cluster_name}-${var.name}" account_id = "tf-gke-${var.name}"
display_name = "Terraform GKE ${var.cluster_name} ${var.name}." display_name = "Terraform GKE ${var.cluster_name} ${var.name}."
} }