- Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
TL;DR
The resource random_string named cluster_service_account_suffix can be created conditionally by using the var.create_service_account boolean flag.
Terraform Resources
No response
Detailed design
The code should be the following: sa.tf file/line 34: resource "random_string" "cluster_service_account_suffix" { count = var.create_service_account ? 1 : 0 upper = false lower = true special = false length = 4 }
Additional information
No response