-
-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Description
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 the path
are added to the package.
- ✋ I have searched the open/closed issues and my issue is not listed.
Versions
- Module version [Required]: v7.2.6
- Terraform version: v1.7.2
- Provider version(s): hashicorp/aws v5.45.0
Reproduction Code [Required]
...
build_in_docker = false
source_path = [
{
path = "${path.module}/files/lambda"
commands = [
":zip build /"
],
}
]
Steps to reproduce the behavior:
Use :zip
command with source
and destination
parameters to copy files from subdirectory.
Expected behavior
Function package only contains Files from source
directory in destination
.
Actual behavior
All files from path
are present in function package.
Additional context
Bug introduced in v7.2.6
anuradhawick
Metadata
Metadata
Assignees
Labels
No labels