Skip to content

Commit

Permalink
Using base 64
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed Apr 26, 2024
1 parent a18e1ed commit c568e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ecs_deploy_docker_taskdef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ jobs:
pipenv install && \
pipenv run python ${{ env.taskdef_file_script }} \
-pf code/${{ inputs.taskdef_file_vars }} -tt ${{ env.taskdef_file_template }} \
-acc ${{ fromJSON(inputs.account_number) }} \
-acc $(echo "${{ inputs.account_number }}" | base64 --decode) \
-app ${{ inputs.app_name }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: ${{ inputs.aws_region }}
role-to-assume: arn:aws:iam::${{ fromJSON(inputs.account_number) }}:role/${{ inputs.app_name }}-GithubActionsRole
role-to-assume: arn:aws:iam::$(echo "${{ inputs.account_number }}" | base64 --decode):role/${{ inputs.app_name }}-GithubActionsRole
role-session-name: GithubActionsSession

- name: Login to Amazon ECR
Expand Down

0 comments on commit c568e08

Please sign in to comment.