Skip to content

Commit d86dcd2

Browse files
authored
fix: variable validation fix (#784)
1 parent 472f216 commit d86dcd2

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
@@ -414,7 +414,7 @@ variable "kms_endpoint_type" {
414414
default = "private"
415415
nullable = false
416416
validation {
417-
condition = can(regex("public|private", var.kms_endpoint_type))
417+
condition = can(regex("^(public|private)$", var.kms_endpoint_type))
418418
error_message = "The kms_endpoint_type value must be 'public' or 'private'."
419419
}
420420
}

0 commit comments

Comments
 (0)