Common Patterns of Infrastructure as Code Architecture: Terraform & Terragrunt
This article discusses common patterns in Infrastructure as Code (IaC) based on Terraform and Terragrunt examples and summarizes the design principle underlying good architecture. It presents these patterns in an abstract way, emphasizing that they apply to other popular IaC tools and platforms like Pulumi, AWS CDK, CloudFormation, Terraform Cloud, Atlantis, Spacelift, and Terraform Cloud alternatives. The main concepts include separating the process of IaC into development and deployment phases, separating cloud architecture components, using modularization and configuration inheritance to DRY up IaC code, and choosing between mono-repo and multi-repo architectures.
Company
Spacelift
Date published
Nov. 9, 2021
Author(s)
Tianchen Wu
Word count
1371
Language
English
Hacker News points
None found.