This repository is currently being migrated. It's locked while the migration is in progress.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ jobs:
5252 image : sync-svc-cube:${{ github.sha }}
5353
5454 - name : Deploy cube-api task definition
55- uses : aws-actions/amazon-ecs-deploy-task-definition@df9643053eda01f169e64a0e60233aacca83799a
55+ uses : aws-actions/amazon-ecs-deploy-task-definition@v2.3.0
5656 with :
5757 task-definition : ${{ steps.cube-api-task-def.outputs.task-definition }}
5858 service : cube_api
5959 cluster : production
6060 wait-for-service-stability : true
6161
6262 - name : Deploy cube-refresh-worker task definition
63- uses : aws-actions/amazon-ecs-deploy-task-definition@df9643053eda01f169e64a0e60233aacca83799a
63+ uses : aws-actions/amazon-ecs-deploy-task-definition@v2.3.0
6464 with :
6565 task-definition : ${{ steps.cube-refresh-worker-task-def.outputs.task-definition }}
6666 service : cube_refresh_worker
Original file line number Diff line number Diff line change @@ -53,12 +53,13 @@ resource "aws_iam_policy" "sync_svc_cube_ecr_policy" {
5353 " Resource" : aws_ecr_repository.sync_svc_cube_repo.arn
5454 },
5555 {
56- " Sid" : " AllowTaskDefinitionUpdates " ,
56+ " Sid" : " AllowEcsServiceDeploys " ,
5757 " Effect" : " Allow" ,
5858 " Action" : [
5959 " ecs:DescribeTaskDefinition" ,
6060 " ecs:RegisterTaskDefinition" ,
61- " ecs:DescribeServices"
61+ " ecs:DescribeServices" ,
62+ " ecs:UpdateService"
6263 ],
6364 " Resource" : " *"
6465 },
You can’t perform that action at this time.
0 commit comments