Closed pdecat closed 3 years ago
This PR specifically excludes the content of __pycache__ folders.
__pycache__
A more generic approach would be to add an exclude parameter like suggested in https://github.com/claranet/terraform-aws-lambda/issues/65 but given this terraform module is really python centric, it's probably not worth it.
exclude
Note: the well maintained community module has a patterns parameter that fits all use cases: https://github.com/terraform-aws-modules/terraform-aws-lambda
patterns
This PR specifically excludes the content of
__pycache__
folders.A more generic approach would be to add an
exclude
parameter like suggested in https://github.com/claranet/terraform-aws-lambda/issues/65 but given this terraform module is really python centric, it's probably not worth it.Note: the well maintained community module has a
patterns
parameter that fits all use cases: https://github.com/terraform-aws-modules/terraform-aws-lambda