terraform-aws-modules/terraform-aws-lambda

Zip quiet mode

anthonyangel opened this issue ยท 5 comments

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • No ๐Ÿ›‘: please wait to file a request until the functionality is avaialble in the AWS provider

Is your request related to a problem? Please describe.

Currently when running this lambda I get 1000's of log lines as packages as added to the zipfile, these provide no value to me, and clutter the logs

Describe the solution you'd like.

The option of passing in zip_quiet as an argument, which would result in the (python equivalent) of zip -qq when the Terraform is applying.

Good point. PR is welcome.

k5njm commented

I just performed a test, adding TF_LAMBDA_PACKAGE_LOG_LEVEL=WARNING or any other less verbose log level will suppress the (potentially hundreds of) zip: adding: lines, but will not suppress the docker or pip output.

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