diff --git a/terraform/environments/cdpt-chaps/application_variables.json b/terraform/environments/cdpt-chaps/application_variables.json index 9eb2124b42a..22b9c402738 100644 --- a/terraform/environments/cdpt-chaps/application_variables.json +++ b/terraform/environments/cdpt-chaps/application_variables.json @@ -9,8 +9,8 @@ "ec2_desired_capacity": 2, "ec2_max_size": 3, "ec2_min_size": 2, - "container_cpu": 256, - "container_memory": 1024, + "container_cpu": 512, + "container_memory": 2048, "network_mode": "none", "server_port": "80", "app_count": "1", @@ -21,13 +21,13 @@ "region": "eu-west-2", "container_instance_type": "windows", "ami_image_id": "ami-0de7ce0d2a2e4fc16", - "instance_type": "t3.medium", + "instance_type": "t3.micro", "key_name": "", "ec2_desired_capacity": 2, "ec2_max_size": 3, "ec2_min_size": 2, - "container_cpu": 256, - "container_memory": 1024, + "container_cpu": 512, + "container_memory": 2048, "network_mode": "none", "server_port": "80", "app_count": "1", @@ -43,8 +43,8 @@ "ec2_desired_capacity": 2, "ec2_max_size": 3, "ec2_min_size": 2, - "container_cpu": 256, - "container_memory": 1024, + "container_cpu": 512, + "container_memory": 2048, "network_mode": "none", "server_port": "80", "app_count": "1", diff --git a/terraform/environments/cdpt-chaps/task_definition.json b/terraform/environments/cdpt-chaps/task_definition.json index 17a0b905dd7..5dcfc5acf41 100644 --- a/terraform/environments/cdpt-chaps/task_definition.json +++ b/terraform/environments/cdpt-chaps/task_definition.json @@ -2,15 +2,14 @@ { "name": "${app_name}", "image": "${ecr_url}:${docker_image_tag}", - "essential": true, - "cpu": 992, + "cpu": 256, "portMappings": [ { "containerPort": 80, "hostPort": 8080 } ], - "memory": 5000, + "memory": 1024, "logConfiguration": { "logDriver": "awslogs", "options": { @@ -28,6 +27,7 @@ "name": "APP_LOG_LEVEL", "value": "debug" } - ] + ], + "essential": true, } ]