We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990c20b commit b142c73Copy full SHA for b142c73
variables.tf
@@ -177,7 +177,7 @@ variable "domain_aliases" {
177
validation {
178
condition = length([
179
for domain in var.domain_aliases :
180
- domain if can(length(regex("^([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$", domain)) == 0)
+ domain if can(length(regex("^([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$", domain)) > 0)
181
]) == 0
182
error_message = "The list of domain names must contain only valid domain names."
183
}
0 commit comments