Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
increase jenkins task cpu & memory (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: Ibrahim Mbaziira <dev.code.ibra@gmail.com>

Signed-off-by: Ibrahim Mbaziira <dev.code.ibra@gmail.com>
  • Loading branch information
aultron authored Jan 26, 2023
1 parent 5d7c4b0 commit fcf782a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions deploy/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -694,16 +694,16 @@ resource "aws_ecs_task_definition" "insights-connector-jenkins-task" {
family = "insights-connector-jenkins-task"
requires_compatibilities = ["FARGATE"]
network_mode = "awsvpc"
cpu = "512"
memory = "4096"
cpu = "1024"
memory = "6144"
execution_role_arn = aws_iam_role.ecs_task_execution_role.arn
task_role_arn = aws_iam_role.ecs_task_role.arn
container_definitions = jsonencode([
{
name = "insights-connector-jenkins"
image = "${var.eg_account_id}.dkr.ecr.${var.eg_aws_region}.amazonaws.com/insights-connector-jenkins:latest"
cpu = 128
memory = 512
cpu = 768
memory = 5120
essential = true
logConfiguration : {
"logDriver" : "awslogs",
Expand Down
8 changes: 4 additions & 4 deletions deploy/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -694,16 +694,16 @@ resource "aws_ecs_task_definition" "insights-connector-jenkins-task" {
family = "insights-connector-jenkins-task"
requires_compatibilities = ["FARGATE"]
network_mode = "awsvpc"
cpu = "512"
memory = "4096"
cpu = "1024"
memory = "6144"
execution_role_arn = aws_iam_role.ecs_task_execution_role.arn
task_role_arn = aws_iam_role.ecs_task_role.arn
container_definitions = jsonencode([
{
name = "insights-connector-jenkins"
image = "${var.eg_account_id}.dkr.ecr.${var.eg_aws_region}.amazonaws.com/insights-connector-jenkins:stable"
cpu = 128
memory = 512
cpu = 768
memory = 5120
essential = true
logConfiguration : {
"logDriver" : "awslogs",
Expand Down

0 comments on commit fcf782a

Please sign in to comment.