4

Serverless framework cli with different AWS credential profiles

 3 years ago
source link: https://www.kevinhooke.com/2021/07/19/serverless-framework-cli-with-different-aws-credential-profiles/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Serverless framework cli with different AWS credential profiles

If you have multiple aws cli profiles configured to work with multiple sets of credentials, you can tell the serverless cli which profile to use with either:

export AWS_PROFILE="profileName2"
serverless deploy --aws-profile profilename

This is covered in the docs here.

CategoriesKev's BlogTagsaws, cloud, serverless

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Comment

Name *

Email *

Website

Save my name, email, and website in this browser for the next time I comment.

Notify me of follow-up comments by email.

Notify me of new posts by email.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK