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
{{ message }}
Repository navigation
Serverless deploy with --package and --aws-profile #5150
Created CI/CD pipeline to deploy lambda function. In build step, package using serverless package and push .serverless directory to s3 artifacts bucket. In deploy step use the build package from s3 to deploy to different env using `serverless deploy --aws-profile ${ENV} --package path-to-folder
Note: I am passing the deploymentBucket as variable during deploy step. I also have serverless.yml in as referred in this #4715 issue.
For bug reports:
What went wrong?
Serverless Error ---------------------------------------
Resource ServerlessDeploymentBucket does not exist for stack bucket
What did you expect should have happened?
Expected to use the profile and deploy using already created build
What stacktrace or error message from your provider did you see?
None from AWS provider.
Additional Data
Serverless Framework Version you're using:
Serverless Version: 1.28.0
Operating System:
OS: darwin
Stack Trace:
Provider Error messages:
Note: I was able to put a workaround removing --package flag from serverless deploy, which worked but it did build it again. Which makes my build stage obsolete.
Thank You :)
Reacted by Sushant Pradhan, Brian Neisler and Derek Slagle
Activity