Skip to content

Commit 02e525c

Browse files
committed
fix: ecs-web - incorrect validation
1 parent 747aa51 commit 02e525c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ecs-web/variables-deprecated.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variable "external_app_buckets" {
55
description = "Existing S3 buckets used by the application. Allows application and CodePipeline roles to access these buckets."
66
default = []
77
validation {
8-
condition = length(var.external_app_buckets) >= 1
8+
condition = length(var.external_app_buckets) == 0
99
error_message = "This variable has been deprecated. Manage S3 access using `ecs_task_policy_arns` and `codebuild_policy_arns`"
1010
}
1111
}

0 commit comments

Comments
 (0)