Skip to content

Commit 1d276cf

Browse files
committed
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.
1 parent 0ee2a20 commit 1d276cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ module "ecs_service" {
386386
}
387387
},
388388
lookup(var.service, "volume", {})
389-
) : k => v if var.enable_efs }
389+
) : k => v if k != "efs" || var.enable_efs }
390390
task_tags = try(var.service.task_tags, {})
391391

392392
# Task execution IAM role

0 commit comments

Comments
 (0)