Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ python3 ./aws-units.py --profiles default profile_2 ... profile_n
Important Information:

- Script requires at least one profile to be passed with the **required** `--profiles` flag
- if there are no named profiles configured, the script requires the `"default"` profile to be passed, eg: `--profiles default`
- If there are no named profiles configured, the script requires the `"default"` profile to be passed, eg: `--profiles default`
- To generate a list of all AWS profiles in `~/.aws/config` on MacOS or Linux, you can run this command and copy/paste the result `awk '/\[profile / {gsub(/\[profile |\]/, ""); printf "%s ", $0}' ~/.aws/config | sed 's/ *$//'`
- For more information on named profile configuration for aws cli, please refer to https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html and https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
- The script may take a longer time to run based on the size of the cloud for which it is being run for
- If you pass many profiles, it may take a considerable amount of time, subject to the size of the cloud
Expand Down