Skip to content
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

feat(aws-lambda): Add lambda:ListLayerVersions permission to layer #579

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

andreiborza
Copy link
Member

@andreiborza andreiborza commented Dec 11, 2024

Currently, it's not possible to query the versions of our lambda layers because the layers lack the ListLayerVersions permission. This also means it's not possible to use popular plugins like https://github.com/mooyoul/serverless-latest-layer-version.

Requested in: getsentry/sentry-javascript#11773

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for me to understand this (and please also update the PR description accordingly for posterity): Adding this permission allows AWS users to query the latest version of the layer, correct?

@andreiborza andreiborza requested a review from Lms24 December 11, 2024 10:05
@andreiborza
Copy link
Member Author

@Lms24 yep that's right, adding this permission should make it queryable. Added the description to the PR, thanks for the reminder!

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for updating the description! This makes sense to me.

@andreiborza andreiborza merged commit ab21495 into master Dec 11, 2024
11 checks passed
@andreiborza andreiborza deleted the ab/lambda-layer-listlayerversion branch December 11, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants