Skip to content

Commit

Permalink
fix: pass aws-role-arn as secret
Browse files Browse the repository at this point in the history
  • Loading branch information
krisrjohnson21 authored Oct 17, 2023
1 parent c898e42 commit f0b7e69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/use-deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
aws-access-key-id:
required: true
description: "AWS_ACCESS_KEY_ID value"
aws-role-arn:
required: true
description: "AWS_ROLE_ARN value"
aws-secret-access-key:
required: true
description: "AWS_SECRET_ACCESS_KEY value"
Expand Down Expand Up @@ -98,7 +101,7 @@ jobs:

- uses: mbta/actions/deploy-ecs@v2
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-to-assume: ${{ secrets.aws-role-arn }}
ecs-cluster: dotcom
ecs-service: dotcom-${{ inputs.deployment-env }}
docker-tag: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
Expand Down

0 comments on commit f0b7e69

Please sign in to comment.