Skip to content

Commit

Permalink
Merge pull request #74 from ant-xuexiao/fix/update-task-def
Browse files Browse the repository at this point in the history
fix: update task def
  • Loading branch information
RaoHai authored Apr 8, 2024
2 parents 6254d23 + 28868eb commit 8a002ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .aws/task_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-1:654654285942:task-definition/xuexiao:160",
"containerDefinitions": [
{
"name": "xuexiao",
"name": "petercat-web",
"image": "654654285942.dkr.ecr.ap-northeast-1.amazonaws.com/xuexiao:latest",
"cpu": "1024",
"memory": "2048",
"portMappings": [
{
"name": "xuexiao-80-tcp",
"name": "petercat-web-80-tcp",
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp",
Expand Down Expand Up @@ -36,17 +36,16 @@
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/xuexiao",
"awslogs-group": "petercard-stack-PrivateIntegrationsPeterCatServiceTaskDefwebLogGroupBA8BE497-t1F9XFy4XzUd",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "ecs"
}
"awslogs-stream-prefix": "PrivateIntegrationsPeterCatService"
}
}
}
],
"family": "xuexiao",
"taskRoleArn": "arn:aws:iam::654654285942:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::654654285942:role/ecsTaskExecutionRole",
"family": "PrivateIntegrationsStackPrivateIntegrationsPeterCatServiceTaskDefB5E162FC",
"taskRoleArn": "arn:aws:iam::654654285942:role/petercard-stack-PrivateIntegrationsPeterCatServiceT-7bsoTa4SHTMZ",
"executionRoleArn": "arn:aws:iam::654654285942:role/petercard-stack-PrivateIntegrationsPeterCatServiceT-ZaeKjgXbLQf9",
"networkMode": "awsvpc",
"revision": 160,
"volumes": [],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aws-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
include:
- name: "xuexiao"
task_definition: ".aws/task_definition.json"
container: "petercat-web"
container: "xuexiao"

steps:
- name: Checkout
Expand Down

0 comments on commit 8a002ad

Please sign in to comment.