We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745b83b commit d01231dCopy full SHA for d01231d
terraform/aws/pipeline/default/variables.tf
@@ -56,7 +56,7 @@ variable "iglu_server_dns_name" {
56
type = string
57
58
validation {
59
- 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 == "")
60
error_message = "Value must contain a http/s prefix"
61
}
62
0 commit comments