-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change when using --noDeploy, it now requires valid aws credentials. #2648
Comments
I noticed that the |
Just linking #2473 here - splitting build and deploy into distinct steps would fix this issue. |
I noticed the same discussion also, that's why I haven't push the development of my branch any further. |
That discussion has gone very quite, unsure which direction @flomotlik would like to go with it. I automated our serverless deployment packaging everything and running sls deploy. But there some big issues with consistency. |
I just checked and I got the same error in 1.0.3, but not 1.0.2. The problem is in this commit: 296810c We need to return after writing to disk in case --noDeploy is set. And we need to add an integration test that makes sure this works. Added to bugs to fix. |
@flomotlik, I could do this, is the fix master...laardee:deploy-offline that I already started to do something that I should continue with? |
@laardee yup that looks pretty reasonable. Could you open a PR with that so we can review. It would be great if we could add an integration test in the same repo, that makes sure this works without any credentials in place. Happy to help with that, we can discuss it in the PR. |
@flomotlik, here is the PR #2651 |
Just did a code review. @eahefnawy will look into it as well. Will be resolved in one of the upcoming releases! 💪 @laardee thanks for working on the fix! |
This is a Bug Report
Description
Running
serverless deploy --noDeploy
throws error requiring valid aws credentials this wasn't required in previous version v1.0.3 or v1.0.2Additional Data
The text was updated successfully, but these errors were encountered: