Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why would serverless package need creds?

According to the docs:

you can package your project without deploying it to AWS

If this is the case, why would I get the below error?

AWS provider credentials not found.
like image 665
swade Avatar asked Feb 16 '26 15:02

swade


1 Answers

If you specify a particular deployment bucket (instead of letting serverless create its own), then you may encounter this bug:

  • "serverless package" requires AWS access if deploymentBucket provider config is used #4040

For now, you can hack the deployed server less code and comment out the check, then wait for the bug to be fixed.

like image 188
Trent Bartlem Avatar answered Feb 19 '26 04:02

Trent Bartlem



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!