configure-aws-credentials icon indicating copy to clipboard operation
configure-aws-credentials copied to clipboard

web-identity-token-file is not in v1, but readme says it is

Open mhenderson-t2 opened this issue 4 years ago • 4 comments

The readme indicates that web-identity-token-file is present in @v1

You can configure your workflow as follows in order to use this file:

uses: aws-actions/configure-aws-credentials@v1
with:
  aws-region: us-east-2
  role-to-assume: my-github-actions-role
  web-identity-token-file: /var/run/secrets/eks.amazonaws.com/serviceaccount/token

However it appears this functionality was added 4th August and the module has not been released since then. Hence you cannot use this feature as it is documented.

I have worked around this by

uses: aws-actions/configure-aws-credentials@master

But I cannot recommend this to others, as it does not pin the module to a stable (or released) version. However this may be worth either documenting, or removing the documentation until it has been released.

mhenderson-t2 avatar Sep 23 '21 02:09 mhenderson-t2

Hello @mhenderson-t2 ! Sorry for the late check-in 🙇🏼‍♀️!

Thank you very much for reporting this! Yes, the documentation should be removed until it’s released. We will fix the README as soon as possible.

Lou1415926 avatar Sep 30 '21 16:09 Lou1415926

I'm facing the same issue and my project needs to use Web Identity-based credentials. Is there a workaround to use this feature from a release candidate branch maybe in the meanwhile?

diogokiss avatar Oct 13 '21 12:10 diogokiss

I'm facing the same issue and my project needs to use Web Identity-based credentials. Is there a workaround to use this feature from a release candidate branch maybe in the meanwhile?

I managed to go around the error by using:

      - name: Configure AWS Credentials
        # https://github.com/aws-actions/configure-aws-credentials/issues/266
        uses: aws-actions/configure-aws-credentials@8053174404968575ac1dd102dcb1109d2fe6d9ea

diogokiss avatar Oct 13 '21 12:10 diogokiss

We have now released configure-aws-credentials. V1 will now have the web-identity-token-file related changes.

paragbhingre avatar Nov 23 '21 21:11 paragbhingre

This has been released 🙂

peterwoodworth avatar Oct 06 '22 21:10 peterwoodworth

⚠️Comment Visibility Warning⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Oct 06 '22 21:10 github-actions[bot]