We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01231d commit c772f0cCopy full SHA for c772f0c
terraform/aws/pipeline/secure/variables.tf
@@ -61,7 +61,7 @@ variable "iglu_server_dns_name" {
61
type = string
62
63
validation {
64
- condition = try(regex("^http[s]?://.*$", var.iglu_server_dns_name), var.iglu_server_dns_name == "")
+ condition = try(can(regex("^http[s]?://.*$", var.iglu_server_dns_name)), var.iglu_server_dns_name == "")
65
error_message = "Value must contain a http/s prefix"
66
}
67
0 commit comments