getlift / lift

Expanding Serverless Framework beyond functions using the AWS CDK
MIT License
912 stars 111 forks source link

Rewrite disable auto permission test #312

Closed fredericbarthelet closed 1 year ago

fredericbarthelet commented 1 year ago

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 : https://github.com/serverless/serverless/pull/11766

mnapoli commented 1 year ago

Awesome!