Skip to content

Commit d01231d

Browse files
committed
Fix this
1 parent 745b83b commit d01231d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/aws/pipeline/default/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ variable "iglu_server_dns_name" {
5656
type = string
5757

5858
validation {
59-
condition = try(regex("^http[s]?://.*$", var.iglu_server_dns_name), var.iglu_server_dns_name == "")
59+
condition = try(can(regex("^http[s]?://.*$", var.iglu_server_dns_name)), var.iglu_server_dns_name == "")
6060
error_message = "Value must contain a http/s prefix"
6161
}
6262
}

0 commit comments

Comments
 (0)