You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Make quiet_archive_local_exec properly suppress Poetry/pip/npm output
- Pass quiet flag from Terraform to package.py via query data
- Add quiet flag to build_data dictionary in prepare_command
- Suppress stdout/stderr in Poetry, pip, and npm subprocess calls when quiet=true
- Add example demonstrating quiet packaging functionality
- Update documentation and apply formatting fixes
Fixes issue where quiet_archive_local_exec only affected Terraform's local-exec
output but not the actual Poetry/pip/npm subprocess calls within package.py.
Resolves#706
Copy file name to clipboardExpand all lines: examples/build-package/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
Configuration in this directory creates deployment packages in a variety of combinations.
4
4
5
+
This example demonstrates various packaging scenarios including:
6
+
- Python packages with pip requirements
7
+
- Poetry-based Python packages
8
+
- Node.js packages with npm
9
+
- Docker-based builds
10
+
-**Quiet packaging** - suppressing Poetry/pip/npm output during builds using `quiet_archive_local_exec = true`
11
+
5
12
Look into [Runtimes Examples](https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/runtimes) for more ways to build and deploy AWS Lambda Functions using supported runtimes (Rust, Go, Java).
6
13
7
14
## Usage
@@ -44,6 +51,7 @@ Note that this example may create resources which cost money. Run `terraform des
0 commit comments