Skip to content

Commit ad05771

Browse files
authored
fix: variable validation fix (#127)
1 parent ac2ab94 commit ad05771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/fully-configurable/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ variable "kms_endpoint_type" {
213213
description = "The endpoint for communicating with the KMS instance. Possible values: `public`, `private.`"
214214
default = "private"
215215
validation {
216-
condition = can(regex("public|private", var.kms_endpoint_type))
216+
condition = can(regex("^(public|private)$", var.kms_endpoint_type))
217217
error_message = "The kms_endpoint_type value must be 'public' or 'private'."
218218
}
219219
}

0 commit comments

Comments
 (0)