diff --git a/.aws/task_definition.json b/.aws/task_definition.json index 56159df6..e7d15805 100644 --- a/.aws/task_definition.json +++ b/.aws/task_definition.json @@ -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", @@ -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": [], diff --git a/.github/workflows/aws-prod.yml b/.github/workflows/aws-prod.yml index 683c6a96..623bba0e 100644 --- a/.github/workflows/aws-prod.yml +++ b/.github/workflows/aws-prod.yml @@ -82,7 +82,7 @@ jobs: include: - name: "xuexiao" task_definition: ".aws/task_definition.json" - container: "petercat-web" + container: "xuexiao" steps: - name: Checkout