Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Account ID is masked in Notify Proton Step #20

Open
warpspeed6 opened this issue Apr 7, 2022 · 0 comments
Open

AWS Account ID is masked in Notify Proton Step #20

warpspeed6 opened this issue Apr 7, 2022 · 0 comments

Comments

@warpspeed6
Copy link

Ref: aws-actions/configure-aws-credentials#304

As configure-aws-credentials masks the AWS Account ID, the --resource-arn ${{ needs.get-deployment-data.outputs.resource_arn }} resolves to a masked (xxx) AWS_ACCOUNTID in the ARN, resulting in step failure.

A solution would be to include mask-aws-account-id: 'no' in Configure AWS Credentials step.

    - name: Configure AWS Credentials
      id: assume_role
      uses: aws-actions/configure-aws-credentials@v1
      with:
        aws-region: ${{ needs.get-deployment-data.outputs.target_region }}
        role-to-assume: ${{ needs.get-deployment-data.outputs.role_arn }}
        role-session-name: TF-Github-Actions-Notify-Proton
        mask-aws-account-id: 'no'
frankret pushed a commit to frankret/aws-proton-terraform-github-actions-sample that referenced this issue May 16, 2022
…nment-debdaf86-2c8e-4381-a441-84388f742eb0

Update requested for Proton - environment/my_new_tf_env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant