From 763468d7f730ef17a9952c925a94a9f3a3407330 Mon Sep 17 00:00:00 2001 From: George Taylor Date: Tue, 19 Mar 2024 22:24:07 +0000 Subject: [PATCH] Update ecs_service.tf --- .../delius-mis/modules/nextcloud/ecs_service.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/terraform/environments/delius-mis/modules/nextcloud/ecs_service.tf b/terraform/environments/delius-mis/modules/nextcloud/ecs_service.tf index 5393c8a9057..0e0b71519cc 100644 --- a/terraform/environments/delius-mis/modules/nextcloud/ecs_service.tf +++ b/terraform/environments/delius-mis/modules/nextcloud/ecs_service.tf @@ -20,6 +20,14 @@ module "nextcloud_service" { deployment_maximum_percent = "200" deployment_minimum_healthy_percent = "100" + ecs_service_egress_security_group_ids = [ + { + ip_protocol = "tcp" + port = 2049 + referenced_security_group_id = module.nextcloud_efs.sg_id + }, + ] + efs_volumes = [ { @@ -124,6 +132,7 @@ module "nextcloud_service" { aws = aws aws.core-vpc = aws.core-vpc } + } resource "aws_secretsmanager_secret" "nextcloud_admin_password" {