Skip to content

Commit fe7cb94

Browse files
committed
Fix bug in var condition
1 parent 75063fe commit fe7cb94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/infra/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ variable "function_container_image" {
3939
type = string
4040
sensitive = false
4141
validation {
42-
condition = alltrue(
42+
condition = alltrue([
4343
length(var.function_container_image) > 2,
4444
length(split("/", var.function_container_image)) > 2,
4545
length(split(":", var.function_container_image)) > 2,
46-
)
46+
])
4747
error_message = "Please specify a valid container image reference."
4848
}
4949
}

0 commit comments

Comments
 (0)