jckuester / awsweeper

A tool for cleaning your AWS account
Mozilla Public License 2.0
468 stars 45 forks source link

Fix aws credential support to enable credentials from outside the app #49

Closed kadaan closed 4 years ago

kadaan commented 4 years ago

Also fixes #34

jckuester commented 4 years ago

Hey @kadaan. It seems, there is simpler way of fixing it: https://github.com/cloudetc/awsweeper/pull/61. Let me know what you think!

Region and profile can be nil and the session also handles ENV parameters automatically, we don't need to read AWS_PROFILE etc manually.