File tree Expand file tree Collapse file tree
.github/actions/api-deploy-ecs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,21 +101,21 @@ runs:
101101 }}'
102102 shell : bash
103103
104- - name : Deploy Amazon ECS SDK API task definition
105- id : deploy-sdk -api-task-definition
104+ - name : Deploy new Task Definition to ECS Admin API service
105+ id : deploy-admin -api-task-definition
106106 uses : aws-actions/amazon-ecs-deploy-task-definition@v2
107107 with :
108108 cluster : ${{ inputs.aws_ecs_cluster_name }}
109- service : ${{ inputs.aws_ecs_sdk_service_name }}
110- task-definition : ${{ steps.task-def-sdk -api.outputs.task-definition }}
109+ service : ${{ inputs.aws_ecs_service_name }}
110+ task-definition : ${{ steps.task-def-admin -api.outputs.task-definition }}
111111
112- - name : Deploy Amazon ECS Admin API service
113- id : deploy-admin -api-task-definition
112+ - name : Deploy new Task Definition to ECS SDK API service
113+ id : deploy-sdk -api-task-definition
114114 uses : aws-actions/amazon-ecs-deploy-task-definition@v2
115115 with :
116116 cluster : ${{ inputs.aws_ecs_cluster_name }}
117- service : ${{ inputs.aws_ecs_service_name }}
118- task-definition : ${{ steps.task-def-admin -api.outputs.task-definition }}
117+ service : ${{ inputs.aws_ecs_sdk_service_name }}
118+ task-definition : ${{ steps.task-def-sdk -api.outputs.task-definition }}
119119
120120 # The DynamoDB Identity Migrator uses the same task definition as the SQL schema migrator but overrides the container definition
121121 # with the new django execute target
You can’t perform that action at this time.
0 commit comments