From 3ea56779dbe159b01e42eff6f7504e5734adb250 Mon Sep 17 00:00:00 2001 From: dmattia Date: Wed, 12 Oct 2022 09:51:31 -0700 Subject: [PATCH] Correct the policy ARN length --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d38fe59..56e2c8e 100644 --- a/main.tf +++ b/main.tf @@ -160,7 +160,7 @@ module "service" { var.extra_task_policy_arns, [aws_iam_policy.aws_policy.arn], ) - additional_task_policy_arns_count = 2 + length(var.extra_task_policy_arns) + additional_task_policy_arns_count = 3 + length(var.extra_task_policy_arns) load_balancers = [ # Internal target group manager