terraform-aws-modules / terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Apache License 2.0
885 stars 658 forks source link

fix: Issues with content filtering when using patterns #578

Open sohaibiftikhar opened 1 month ago

sohaibiftikhar commented 1 month ago

Description

-- ZipContentFilter logic for patterns that have a single allowed pattern. Earlier this would include all files. -- generate_content_hash also considers the patterns before generating the hash so that the hash generated matches the content of the zip.

Motivation and Context

Breaking Changes

Unless someone is relying on the legacy behaviour this should not be a breaking change. It will however cause redeployments because of content hash changes.

How Has This Been Tested?

github-actions[bot] commented 3 days ago

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days