Skip to content

Commit

Permalink
fix: probe validation condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gareda committed Aug 6, 2024
1 parent 0eca66a commit f5a5b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ variable "probes" {
}

validation {
condition = alltrue([for probe in var.probes : length(split(probe.path, "/")) >= 2 && split("/", probe.path)[0] == ""])
condition = alltrue([for probe in var.probes : length(split("/", probe.path)) >= 2 && split("/", probe.path)[0] == ""])
error_message = "The path must be a valid URL path."
}

Expand Down

0 comments on commit f5a5b4b

Please sign in to comment.