Skip to content

Commit

Permalink
chore: ecs task 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ASak1104 committed Mar 16, 2024
1 parent d0174cd commit dd7d388
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task:1",
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task-dev:1",
"containerDefinitions": [
{
"name": "masilgasil-ecs-container",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:latest",
"name": "masilgasil-ecs-container-dev",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:2992d81c7c88ae9c8ed836c51d9959ca97eeda8b",
"cpu": 0,
"portMappings": [
{
Expand All @@ -16,10 +16,8 @@
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
Expand All @@ -33,7 +31,7 @@
"systemControls": []
}
],
"family": "masilgasil-ecs-task",
"family": "masilgasil-ecs-task-dev",
"taskRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
Expand Down Expand Up @@ -83,7 +81,7 @@
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
},
"registeredAt": "2024-03-04T12:31:29.939Z",
"registeredAt": "2024-03-16T01:56:12.995Z",
"registeredBy": "arn:aws:iam::533267244952:user/team-01",
"tags": []
}
15 changes: 6 additions & 9 deletions .aws/masilgasil-ecs-task-prod-revision1.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
{
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task-prod:1",
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task-prod:10",
"containerDefinitions": [
{
"name": "masilgasil-ecs-container-prod",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:latest",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:23777381c31f1bb903a5a3f8d3ab4e0eda736723",
"cpu": 2048,
"memory": 4096,
"portMappings": [
{
"name": "masilgasil-ecs-container-port",
"containerPort": 80,
"hostPort": 80,
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
Expand All @@ -38,7 +35,7 @@
"taskRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 1,
"revision": 10,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
Expand Down Expand Up @@ -84,7 +81,7 @@
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
},
"registeredAt": "2024-03-14T17:22:03.151Z",
"registeredAt": "2024-03-16T06:07:33.686Z",
"registeredBy": "arn:aws:iam::533267244952:user/team-01",
"tags": []
}

0 comments on commit dd7d388

Please sign in to comment.