From b109c2264bcdcc62846040ee68229086d1896b89 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Wed, 6 Mar 2024 14:21:36 +0000 Subject: [PATCH 1/2] increase cpu and memory resources --- terraform/environments/cdpt-ifs/ecs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/environments/cdpt-ifs/ecs.tf b/terraform/environments/cdpt-ifs/ecs.tf index c580836cfda..e345486eae3 100644 --- a/terraform/environments/cdpt-ifs/ecs.tf +++ b/terraform/environments/cdpt-ifs/ecs.tf @@ -86,8 +86,8 @@ resource "aws_ecs_task_definition" "ifs_task_definition" { { name = "${local.application_name}-container" image = "${local.ecr_url}:${local.application_data.accounts[local.environment].environment_name}" - cpu = 1024 - memory = 1024 + cpu = 2048 + memory = 2048 essential = true portMappings = [ { From ee42a39e23cfa077bccf5c993c7bdce495194f63 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Wed, 6 Mar 2024 15:21:43 +0000 Subject: [PATCH 2/2] removed bastion_linux redundant variables --- terraform/environments/cdpt-ifs/bastion_linux.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terraform/environments/cdpt-ifs/bastion_linux.tf b/terraform/environments/cdpt-ifs/bastion_linux.tf index 40d0dd24423..440e54461bb 100644 --- a/terraform/environments/cdpt-ifs/bastion_linux.tf +++ b/terraform/environments/cdpt-ifs/bastion_linux.tf @@ -12,8 +12,7 @@ module "bastion_linux" { # s3 - used for logs and user ssh public keys bucket_name = "bastion" - bucket_versioning = true - bucket_force_destroy = true + # public keys public_key_data = local.public_key_data.keys[local.environment] # logs