Error 'str' object has no attribute 'get' after running aws cli command
Problem:
After you run a aws cli command, you get the error "'str' object has no attribute 'get'" after running aws cli command
$ aws iam list-users
'str' object has no attribute 'get'
Solution:
The command is failing because it requires a aws profile specified in the cli command. Can be found in your .aws/credentials file
$ aws iam list-users --profile my-profile