Set a Default AWS Profile
In some cases, developers may have multiple AWS profiles, and the veloctl CLI
enable-cloud-resourcescommand works with the default profile.
This guide will walk you through the process of selecting a default AWS profile, which you'd like Velocity to use to spin up AWS cloud resources associated with your Velocity Environments.
AWS Profiles are defined in
The following commands will set one of your multiple AWS Profiles as the default via an environment variable in the current terminal session:
# Linux and MacOS
# Windows Command Prompt
setx AWS_PROFILE profile-2
Adding the appropriate line from the above codeblock to your
~/.bashrcor equivilent file will set your preferred default user automatically each time you open a terminal.