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
Plugin fails starting from Serverless v2.5.0 #52
Comments
Just ran into the same issue! |
Ran into this issue as well. |
I am experiencing this issue as well. |
Master version specifies no lock on the version (https://github.com/functionalone/serverless-iam-roles-per-function/blob/master/package.json). Is this on purpose? "serverless": "^1.51.0", Therefore if any breaking changes are introduced, say from 2.4.0 to 2.5.0, you will have to deal with that. |
Use this : |
@amitpn805 it will fail for 2.5.0 use 2.4.0< version of serverless for now |
Same issue here
That doesn't work in my case |
This is the only workaround which worked for me for now. |
Same problem here . |
same problem here . |
I've fixed the builds and failing tests for the PR and the package as a whole. If anyone feels inclined to review the PR I'd be so happy. 🙏 Meanwhile I've published a temporary package under the innovative name of |
facing the same problem here as well
|
It's a critical bug for community that might be fixed in one click (and later you may implement the correct solution). why not? |
any updated? |
@glicht Would also enormously appreciate it if you guys could merge this PR :) |
Hi, sorry for being non responsive. I will take a look at the PR. As I am currently limited in time for the project, I am looking to add an additional maintainer for the project. If someone is interested please let me know. |
@glicht I'm happy to help out. I depend on this project a lot. |
@glicht Hello. Also would be glad to help. Heavily dependable on this project |
@glicht The same here! 🙂 |
@theburningmonk @randomhash @andersquist @Enase thanks for offering your help. Really appreciated. I've added you to the repo with write access. So you will be able to approve and merge PRs. Additionally, I've just deployed a pre-release of version 3.0.0 with the latest merged PRs: https://www.npmjs.com/package/serverless-iam-roles-per-function/v/3.0.0-d84bffd I am also looking into automating the deployment process so at least for the |
@glicht Even updating to @next, I see this:
And
The app in question had worked fine until updating to latest Serverless, no changes have been made. Nothing is being created at all in AWS. Here's my config: https://gist.github.com/davidfells/681ffb43a42a73da0522c2df69692d34 |
@davidfells the first warning is b/c Serverless validates Regarding the 2n error, it has nothing to do with this plugin either. 1st result in Google yielded this - https://stackoverflow.com/a/51728883/2727317 And it applies to your config. You're using |
On the warning, thanks. Not sure how I lost my pesudo parameters plugin and didn't catch it in Git, but adding it back resolved the issue. Thanks again. |
|
Was this fixed @theburningmonk ? |
Serverless just released a new version of the npm package (https://github.com/serverless/serverless/releases/tag/v2.5.0) and the plugin started to fail with following error:
Error & stack trace
I found a PR, which caused this error: serverless/serverless#8297
Basically, the method, which was used to validate the iam statements, was removed from
serverless
package at all, so there should be a different way to validate the statements in order to align with the new versions ofserverless
.The text was updated successfully, but these errors were encountered: