We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ee18d commit eeca156Copy full SHA for eeca156
modules/workload-identity/variables.tf
@@ -121,7 +121,7 @@ variable "gcp_sa_display_name" {
121
default = null
122
123
validation {
124
- condition = length(var.gcp_sa_display_name) <= 100
+ condition = var.gcp_sa_display_name == null ? true : length(var.gcp_sa_display_name) <= 100
125
error_message = "The Google service account display name must be at most 100 characters"
126
}
127
@@ -133,7 +133,7 @@ variable "gcp_sa_description" {
133
134
135
136
- condition = length(var.gcp_sa_description) <= 256
+ condition = var.gcp_sa_description == null ? true : length(var.gcp_sa_description) <= 256
137
138
139
0 commit comments