- Terraform Weekly
- Posts
- weekly.tf - Issue #84 - Terraform every AWS region, Testing with Python, LumApps, Custom policies in checkov
weekly.tf - Issue #84 - Terraform every AWS region, Testing with Python, LumApps, Custom policies in checkov
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/73479d45-73a9-4c26-8344-7bd273a1ae71/r.jpeg)
Nic Waller made a good point that when managing AWS infrastructure with Terraform, it is surprisingly hard to create resources in all enabled regions. AB: Until there is a native way in Terraform to instantiate providers using a loop, users have to come up with strange solutions like render templates using Jinja, use Terragrunt, or use CDK for Terraform. I would like my kids not to know what I did with Jsonnet in the past, too.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cf04c7a6-c010-4c35-92fa-c5ce3acbab68/1_uoOZZhWa85I9uR6OEw1Tkg.png)
Mehdi Ouazza explains how to test IaC with Python. AB: Python is a decent option until the module testing experiment in Terraform is concluded and we all can happily use Human-friendly Configuration Language (aka HCL) and enjoy running terraform test (video 1, video 2).
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/29c41311-d75a-4588-987a-a217c87d729c/0_nwIvTACQguZqXK2M.png)
Jérôme Pin wrote about LumApps journey toward Service-Oriented Architecture touching on platform domain, use-cases, and implementation details. AB: They operate in GCP and Azure.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0f98cd79-05b5-4bf8-9267-303e1b63725b/1_bXUBDzERu-vBarbBg5z2lg.png)
Anil Nanda explains how to define custom policies in Checkov to do a static code analysis for misconfigurations that may lead to security or compliance problems.
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c8bfdb98-bdf5-448b-911b-672c2c2ba127/1643925645-social-share-card_euro.png)
Join the HashiCorp community for two full days of infrastructure and security automation, modern application delivery, and the future of the cloud. AB: See you in Amsterdam!
Open-source projects
![](https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ebd37899-3216-4db2-bb8a-7860ccaf04d1/terraform-python-testing-helper.png)
Simple Python test helper for Terraform.
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! 🇺🇦