-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add ListLayerVersions permission for Sentry lambda layers #3834
Comments
Hey @ahmedetefy, any thoughts on this one? |
Hey @ahmedetefy, do you reckon we could change the |
Hey @ahmedetefy, do you reckon we could change the lambda:ListLayerVersions permissions? |
Hey @connorads , Sorry for the late reply |
Hey @ahmedetefy I saw that you merged getsentry/sentry#28193 🎉 and so I gave it a go but still can't list layer versions 😢 |
Hey @ahmedetefy I saw that you merged getsentry/sentry#28193 🎉 and so I gave it a go but still can't list layer versions 😢 |
Hey @connorads , Yeah it seems like it needs further work to get it to work.. the team is looking into it |
Hey @ahmedetefy & @AbhiPrasad.
The only place I know where to look is the AWS Lambda/Serverless Framework docs |
Just found that we appear to be able to get the latest lambda layer version from the docs here. |
No timeline at the moment. @antonpirker perhaps you can help us out here?
Actually thought about it a little more, perhaps we can just link them to the guides page. |
@antonpirker could it be that this doesn't require any change, or that it is a change in the way we set up our extension integrtion. If yes is there another repo to add this? Possibly this is just a doc issues, add to repo there and fix that we get the correct version |
Hey @smeubank I think it will require more than a documentation change if you want to allow what the original issue description and documentation mentions: get the latest lambda layer version programatically, using serverless framework, without specifying version number explicitly. You can recreate the issue by cloning this repo and running I believe fixing it would require modifying your policies in AWS to allow lambda:ListLayerVersions for the Node (and Python) lambda layers. However if you don't want to support PS. If you'd like a call to discuss this please just drop me a message on http://connoradams.co.uk/ |
If you use the new layer it should work, please reopen if it's still a problem. |
hello @HazAT |
Any updates on this? :) |
@codebravotech mind creating new issue for this given this one has been stale for a while? Then we can assign someone to dig in deeper. Sorry for dropping the ball - thank you for the bump! |
Could you add lambda:ListLayerVersions for the Node (and Python) lambda layers
Currently you can't use
serverless-latest-layer-version
as per the AWS Lambda Serverless Framework Sentry docsThis is the error you get when trying to deploy using
serverless-latest-layer-version
The text was updated successfully, but these errors were encountered: