JohannesEbke / aws_list_all

List all your AWS resources, all regions, all services.
MIT License
414 stars 97 forks source link

Support for Profile #11

Closed tmtiwari closed 4 years ago

tmtiwari commented 5 years ago

Currently it only works with the [default] profile credentials. Please provide support for using a different profile from ~/.aws/credentials.

In general we have multiple profiles for different accounts for different purposes.

JohannesEbke commented 5 years ago

Hi @tmtiwari , in general you can use AWS_PROFILE to select the profile you want to use with boto3 (see Boto3 Docs. I guess it would be nice to have a --profile option too, I'd be open for pull requests.

alexjmoore commented 5 years ago

I just submitted PR #28 as a first attempt to address this. Needs a bit of checking as its failing tests, but I have commented on it.

JohannesEbke commented 4 years ago

Fixed by merging #28