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 fe7cb94 commit 6cb1584Copy full SHA for 6cb1584
code/infra/variables.tf
@@ -41,8 +41,8 @@ variable "function_container_image" {
41
validation {
42
condition = alltrue([
43
length(var.function_container_image) > 2,
44
- length(split("/", var.function_container_image)) > 2,
45
- length(split(":", var.function_container_image)) > 2,
+ length(split("/", var.function_container_image)) >= 2,
+ length(split(":", var.function_container_image)) == 2,
46
])
47
error_message = "Please specify a valid container image reference."
48
}
0 commit comments