From 120c6c70a2ce50a629877c9e4f52be148d085993 Mon Sep 17 00:00:00 2001 From: Oleg Avdeev Date: Fri, 8 Jul 2022 14:21:30 -0700 Subject: [PATCH] cpu/memory limit for metadata service task --- modules/metadata-service/ecs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/metadata-service/ecs.tf b/modules/metadata-service/ecs.tf index b3b37af..e8c14ca 100644 --- a/modules/metadata-service/ecs.tf +++ b/modules/metadata-service/ecs.tf @@ -54,8 +54,8 @@ EOF requires_compatibilities = ["FARGATE"] task_role_arn = aws_iam_role.metadata_svc_ecs_task_role.arn execution_role_arn = var.fargate_execution_role_arn - cpu = 512 - memory = 1024 + cpu = var.metadata_service_cpu + memory = var.metadata_service_memory tags = merge( var.standard_tags,