Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations πΊπ¦
Starting with version v7.2.6 ":zip" ignores the source parameter.
This works as expected on version v7.2.5 - lambda only contains files from the build folder in function root /.
Starting with v7.2.6 this is not the case anymore, and all files from the path are added to the package.
[X] β I have searched the open/closed issues and my issue is not listed.
Description
Starting with version v7.2.6 ":zip" ignores the
source
parameter.This works as expected on version v7.2.5 - lambda only contains files from the
build
folder in function root /. Starting with v7.2.6 this is not the case anymore, and all files from thepath
are added to the package.Versions
Reproduction Code [Required]
Steps to reproduce the behavior:
Use
:zip
command withsource
anddestination
parameters to copy files from subdirectory.Expected behavior
Function package only contains Files from
source
directory indestination
.Actual behavior
All files from
path
are present in function package.Additional context
Bug introduced in v7.2.6