|
|
|
@ -58,10 +58,17 @@ jobs: |
|
|
|
exists: ${{ steps.check.outputs.exists }} |
|
|
|
exists: ${{ steps.check.outputs.exists }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Configure AWS credentials |
|
|
|
- name: Configure AWS credentials |
|
|
|
|
|
|
|
uses: aws-actions/configure-aws-credentials@v4 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
aws-region: eu-west-2 |
|
|
|
|
|
|
|
role-to-assume: arn:aws:iam::815624722760:role/core-application-repo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Configure AWS credentials for review environment |
|
|
|
uses: aws-actions/configure-aws-credentials@v4 |
|
|
|
uses: aws-actions/configure-aws-credentials@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
aws-region: eu-west-2 |
|
|
|
aws-region: eu-west-2 |
|
|
|
role-to-assume: arn:aws:iam::837698168072:role/core-dev-deployment |
|
|
|
role-to-assume: arn:aws:iam::837698168072:role/core-dev-deployment |
|
|
|
|
|
|
|
role-chaining: true |
|
|
|
|
|
|
|
|
|
|
|
- name: Check if ECS service exists |
|
|
|
- name: Check if ECS service exists |
|
|
|
id: check |
|
|
|
id: check |
|
|
|
|