From 1d276cf108b5c367696eb82a3b6ccd9957467986 Mon Sep 17 00:00:00 2001 From: Allen Myers <3505537+armyers@users.noreply.github.com> Date: Thu, 13 Feb 2025 11:27:59 -0800 Subject: [PATCH] fix(ecs_service.volume): allow additional EFS volumes without enable_efs=true This is required to allow mounting any arbitrary paths for atlantis features like team_authz, or webhooks. These are things that are global settings so they should not be part of any particular github repo that uses atlantis. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 84317650..da7c3745 100644 --- a/main.tf +++ b/main.tf @@ -386,7 +386,7 @@ module "ecs_service" { } }, lookup(var.service, "volume", {}) - ) : k => v if var.enable_efs } + ) : k => v if k != "efs" || var.enable_efs } task_tags = try(var.service.task_tags, {}) # Task execution IAM role