From 96e3daf5de9fd70d9de6a00a065708908dc6adb5 Mon Sep 17 00:00:00 2001 From: A-Ashiq Date: Tue, 17 Dec 2024 13:08:28 +0000 Subject: [PATCH] Set frontend containers with a read-only file system --- terraform/20-app/ecs.service.front-end.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/20-app/ecs.service.front-end.tf b/terraform/20-app/ecs.service.front-end.tf index a0f0c2ca..8a603e5c 100644 --- a/terraform/20-app/ecs.service.front-end.tf +++ b/terraform/20-app/ecs.service.front-end.tf @@ -28,7 +28,7 @@ module "ecs_service_front_end" { cpu = local.use_prod_sizing ? 2048 : 512 memory = local.use_prod_sizing ? 4096 : 1024 essential = true - readonly_root_filesystem = false + readonly_root_filesystem = true image = module.ecr_front_end_ecs.image_uri port_mappings = [ {