• Terraform Weekly
  • Posts
  • weekly.tf - Issue #86 - On-demand envs, RDS Password Rotation, Dependency Version Management, Datree, Lambda with CDKTF, LocalStack with Terraform

weekly.tf - Issue #86 - On-demand envs, RDS Password Rotation, Dependency Version Management, Datree, Lambda with CDKTF, LocalStack with Terraform

Dear reader! 👋

This is the last Terraform Weekly newsletter before August.

I want to thank my supporters, GitHub Sponsors, livestream viewers, newsletter readers (yes, it is you!), and hundreds of open-source contributors to Terraform AWS modules, pre-commit-terraform, and other projects I work on.

See you at HashiConf Europe in Amsterdam next week. Have a lovely summer! ☀️

This article shows how software development teams can build on-demand instances of a web application project. AB: It also gives a good amount of details and context on high-level implementation decisions based on the best practices guided by the 12-Factor Application methodology.

Another great post by Tamás Sallai about Secrets Manager password rotation with a VPC and a Lambda function. Source code.

Xynova shares how to manage Terraform dependency changes across shared modules when deploying to multiple environments. AB: They use HTTP URLs as module sources. Users should also evaluate such a solution if they want to bring a bit of agility to static Terraform modules (e.g., as a workaround for issue 3116, "Cannot use interpolation in lifecycle attributes").

Jairo Andrés Rojas Bonilla explains how to automate the analysis of the manifests of K8s applications declared in a git repository before they are deployed. The implementation relied on Datree to validate K8s misconfigurations through policy checks.

Andriy Bulezyuk describes a process for deploying the AWS Lambda function using CDK for Terraform using Terraform AWS Lambda module.

Open-source projects

I want to share a couple of not Terraform-related but valuable repositories.

📖 A collection of pure bash alternatives to external processes.

📖 A collection of pure POSIX sh alternatives to external processes.

🔴 [LIVE] Using LocalStack with Terraform

On June 17th, 2022, I will look into some interesting and advanced cases for LocalStack with Terraform. It will be a hands-on Terraform Tools Review (see playlist of all episodes), so things may will break.

Feedback ❤️

Do you like this newsletter? How about sharing it on social media and providing your feedback to me (e.g., @antonbabenko or reply to the email)? I want to know it!

PS: One of the best ways to help Ukraine - https://palianytsia.com.ua/

Glory to Ukraine! 🇺🇦