We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb85733 commit b7b4a35Copy full SHA for b7b4a35
variables.tf
@@ -30,7 +30,7 @@ variable "endpoint_type" {
30
default = "public"
31
32
validation {
33
- condition = can(regex("public|private", var.endpoint_type))
+ condition = can(regex("^(public|private)$", var.endpoint_type))
34
error_message = "Variable 'endpoint_type' must be 'public' or 'private'."
35
}
36
0 commit comments