web-identity-token-file is not in v1, but readme says it is
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.
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.
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'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
We have now released configure-aws-credentials. V1 will now have the web-identity-token-file related changes.
This has been released 🙂
⚠️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.