- Terraform Weekly
- Posts
- weekly.tf - Issue #51 - Terraform Atomic Design, EC2 Image Builder
weekly.tf - Issue #51 - Terraform Atomic Design, EC2 Image Builder
Source: /r/Terraform. AB: Locally I always run "terraform apply" and then type "sdfhsdfhrwe" if I really don't want to apply the plan I see. It saves me a few seconds a day for a few years! What are your #TerraformTricks? :)
Cloud Infrastructure Magician Matheus Cunha explains how adapting the Atomic Design Methodology to Infrastructure as Code components can help foster code reusability, ease of maintenance, and agile development of the infrastructure. Creates standardization, validates inputs, and brings the Terraform definitions closer to the developers (self-service Ops).
AB: There are a lot of similarities in terraform-best-practices.com that I want to update during 2021, too.
⭐️ EC2 Image Builder
I am sure that many of the readers already heard about Packer by HashiCorp. If you are using just AWS, make sure to check the EC2 Image Builder by AWS since it has excellent integration with AWS (obviously) and can be configured via Terraform natively. Good comparison: EC2 Image Builder vs. Packer by Kah Tang.
Articled contains most of the Terraform code to help you with the EC2 Image Builder service. If anyone feels adventurous, feel free to make a module out of it and maybe donate it to terraform-aws-modules (watch this before donating it).