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 e06c864 commit 2356cc8Copy full SHA for 2356cc8
variables.tf
@@ -7,7 +7,7 @@ variable "endpoint_type" {
7
description = "The type of endpoint to be used for creating keys. Accepts 'public' or 'private'"
8
default = "public"
9
validation {
10
- condition = can(regex("public|private", var.endpoint_type))
+ condition = can(regex("^(public|private)$", var.endpoint_type))
11
error_message = "The endpoint_type value must be 'public' or 'private'."
12
}
13
0 commit comments