You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to run sls package and inspect the generated cloudformation template.
Maybe, you misspelled some of the parameters or they don't exist ${self:provider.stage}, ${self:provider.region}, ${self:custom.namePrefix}.
Also, you can load the cloudformation template into cloudformation visual editor and run the automatic inspection there.
Were you able to resolve the first issue? If not can you share the generated cloudformation template (in the .serverless folder).
The second issue
When there was no bucketName in the config, it was giving an error as
It should actually fail with 'Please specify a bucket name for the client in serverless.yml', but maybe providing a default that works would be a better solution. It will just be a change to lib/resources/resources.yml to change that and remove the validation (that is apparently broken) in lib/validate.js.
My
serverless.yml
configuration:But on deploying, it gives error
The errors generating are random.
When there was no
bucketName
in the config, it was giving an error asSometimes, it gives
The text was updated successfully, but these errors were encountered: