Troubleshooting - AWS Related
AWS profile properties are not in the correct
Your current AWS profile properties are not in the correct files. Use the "AWS Config and Credential file sorter" tool in Settings to sort them automatically and then try again.
You may be presented with this error if your AWS profile properties are not in the correct
~/.aws files when Cloud Glance tries to save that profile. As Example, your
region property might be in the
~/.aws/credentials file instead of the
~/.aws/config file. This is the error that you get when saving a profile.
Cloud Glance has a tool in the
Settings section called:
AWS Config and Credential file sorter.
This tool will sort your AWS profiles and rewrite the properties in your
~/.aws/config files to be in the correct file.
This is needed because CloudGlance saves AWS profiles in the recommended file according to the AWS documentation. If the profile is not in the correct file, properties can be duplicate in your config and credentials file, which causes confusion to the source of truth.
The tool will do the following:
- Make a copy of your
~/.aws/configfiles and store them in the same directory (so that you can manually restore them IF something went wrong)
- Clear both files (all comments will be lost)
- Sort and place each profile property in the right file