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

support of shared-credentials-file #62

Open
ViktorZak opened this issue Aug 14, 2023 · 1 comment
Open

support of shared-credentials-file #62

ViktorZak opened this issue Aug 14, 2023 · 1 comment

Comments

@ViktorZak
Copy link

HI, why shared-credentials-file is not valid method?
if ( not os.environ.get('AWS_ACCOUNT_ID', None) and not (boto3.Session().get_credentials().method in ['iam-role', 'assume-role', 'assume-role-with-web-identity']) ): raise EnvironmentError('Environment variableAWS_ACCOUNT_IDnot set and no role found.')

@jegesh
Copy link
Owner

jegesh commented Nov 18, 2024

Sorry I'm not really actively maintaining the repo. The code requires an account id (otherwise queue creation/discover doesn't work). If you have a good idea for a workaround, please submit a PR!

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

2 participants