Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Serverless Error AWS profile "" doesn't seem to be configured?

It's my first time working around AWS and I'm trying to run an API through serverless. I'm not sure how to configure AWS profile. I can't seem to find much information about it online either. Does anyone have maybe a link? or something to lead me in a direction?

like image 592
Stephen Avatar asked Oct 19 '25 15:10

Stephen


1 Answers

How to setup AWS config profiles is explaiend in Named profiles. Once you set it up, in the serverless framework you use --aws-profile option to specify which profile to use, e.g.:

serverless deploy --aws-profile <my_profile>
like image 103
Marcin Avatar answered Oct 21 '25 05:10

Marcin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!