claranet / terraform-aws-lambda

Terraform module for AWS Lambda functions
MIT License
157 stars 127 forks source link

Ignore __pycache__ #75

Closed pdecat closed 3 years ago

pdecat commented 3 years ago

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