Skip to content

Commit c772f0c

Browse files
committed
Update variables.tf
1 parent d01231d commit c772f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/aws/pipeline/secure/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ variable "iglu_server_dns_name" {
6161
type = string
6262

6363
validation {
64-
condition = try(regex("^http[s]?://.*$", var.iglu_server_dns_name), var.iglu_server_dns_name == "")
64+
condition = try(can(regex("^http[s]?://.*$", var.iglu_server_dns_name)), var.iglu_server_dns_name == "")
6565
error_message = "Value must contain a http/s prefix"
6666
}
6767
}

0 commit comments

Comments
 (0)