Open joeydumont opened 5 years ago
Hi Joey,
Thank you for opening this feature request. Supporting profiles like aws cli does (with a --profile cli option) is a very valid enhancement and we'll take this into account for the upcoming releases of ParallelCluster.
Francesco
FWIW @joeydumont using export AWS_PROFILE=<you-profile>
has worked for me when running pcluster on a system with multiple AWS profiles.
Environment: -aws-parallelcluster==2.4.0
I would like to be able to specify the AWS credentials through the use of a profile
~.aws/credentials
, as is done with most other AWS utilities. In the case of pcluster, this could be achieved by addingaws_profile
item in the[aws]
section of the configuration file, or by adding support for the--profile
command-line option.