When you have 2 profile names, e.g.: "trek10" and "trek10-something", and you have already awsume-d "trek10-something", the script errors out when looking through the ~/.aws/cli/cache directory upon awsume-ing "trek10" because it would find 2 files matching the pattern trek10*.json.
When you have 2 profile names, e.g.: "trek10" and "trek10-something", and you have already awsume-d "trek10-something", the script errors out when looking through the
~/.aws/cli/cache
directory upon awsume-ing "trek10" because it would find 2 files matching the patterntrek10*.json
.