Terraform: create zip files

· Thiago Perrotta · March 17, 2025, 8:13 p.m.
Summary
This blog post illustrates two approaches to creating zip files in Terraform for AWS Lambda using a NodeJS source code file. The author explains both methods and prefers the second approach for its efficiency, requiring only one Terraform apply per update instead of two.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →