You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following ~/.aws/config file on an EC2. I know it seems redundant as it isn't assuming a role, but I need the named profile for my use case:
When running aws-export-credentials --credentials-file-profile myprofile I receive the following error:
Traceback (most recent call last):
File "/home/ubuntu/.local/bin/aws-export-credentials", line 8, in <module>
sys.exit(main())
File "/home/ubuntu/.local/lib/python3.10/site-packages/aws_export_credentials/aws_export_credentials.py", line 269, in main
write_values(session, args.credentials_file_profile, values)
File "/home/ubuntu/.local/lib/python3.10/site-packages/aws_export_credentials/config_file_writer.py", line 54, in write_values
session.get_config_variable('credentials_file'))
AttributeError: 'Session' object has no attribute 'get_config_variable'
The text was updated successfully, but these errors were encountered:
I have the following
~/.aws/config
file on an EC2. I know it seems redundant as it isn't assuming a role, but I need the named profile for my use case:When running
aws-export-credentials --credentials-file-profile myprofile
I receive the following error:The text was updated successfully, but these errors were encountered: