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

Rewrite disable auto permission test #312

Merged

Conversation

fredericbarthelet
Copy link
Collaborator

Serverless v3.28.0 updates permissions given to lambda to be able to use a new logs:TagResource action on Cloudwatch groups. Rewriting the test to ensure no permission regarding s3 are added to lambda instead of checking exact Action match assertions, in order to have tests passing both for serverless v2 and latest v3

PR made on Serverless v3.28.0 that introduce this change : serverless/serverless#11766

Serverless v3.28.0 updates permissions given to lambda to be
able to use a new logs:TagResource action on Cloudwatch groups.
Rewriting the test to ensure no permission regarding s3 are added
to lambda instead of checking exact Action match assertions, in
order to have tests passing both for serverless v2 and latest v3
@fredericbarthelet fredericbarthelet merged commit d0201d6 into master Mar 1, 2023
@fredericbarthelet fredericbarthelet deleted the update-tests-with-new-serverless-permissions branch March 1, 2023 23:41
@mnapoli
Copy link
Member

mnapoli commented Mar 2, 2023

Awesome!

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.

None yet

2 participants