localstack / serverless-localstack

⚡ Serverless plugin for running against LocalStack
511 stars 82 forks source link

Add new custom-resource patching mechanism for serverless>3.39.0 #254

Closed dfangl closed 1 week ago

dfangl commented 1 week ago

Motivation

With 3.39.0, serverless migrated their custom resource lambedas to AWS SDK v3, which broke our patching of the s3ForcePathStyle into the global AWS config object.

252 explains the issue in more detail, with impact explained.

We need to adapt our patching mechanism, while still maintaining backwards compatibility with older serverless versions.

Changes

dfangl commented 1 week ago

I also updated the version to 1.2.1 and added it in the readme. Would be nice if we could release that version after merge