This is a helper to switch AWS profiles, which then can be used by other scripts.
The script parses the ~/.aws/config
file and let's the user select one of the configured profiles. The current active profile is marked with a star.
The selected value then will be stored as AWS_PROFILE
in the env file.
To use the profile name in another script, you can get the value via: