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

Profile not listed in --list-profiles #168

Open
kfchou opened this issue Oct 27, 2021 · 1 comment
Open

Profile not listed in --list-profiles #168

kfchou opened this issue Oct 27, 2021 · 1 comment
Labels

Comments

@kfchou
Copy link

kfchou commented Oct 27, 2021

My config file has two profiles listed.

[default]
region = eu-west-1
output = json

[profile my_role]
role_arn = arn:aws:iam::0000000000:role/XXXXXX
mfa_serial = arn:aws:iam::0000000000:mfa/YYYYYYY
role_session_name = kenny.chou
region = eu-west-1
output = json
source_profile = default

When I run awsume --list-profiles, only the default profile is recognized
image

I wonder if there's something wrong with my installation or configuration.
I'm running Ubuntu in Windows subsystem for Linux.
AWSume was installed with pip.

@mtskillman
Copy link
Collaborator

@kfchou are you running awsume --list-profiles in WSL or Ubuntu? generally speaking, with AWS development on Windows+WSL you are going to have 2 separate .aws directories -- one in Windows, one in WSL. you can symlink the linux .aws to refer to the windows .aws if you want. so basically I would confirm that your linux ~/.aws/config contains both those profiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants