Infrastructure as Code
IaC defines infrastructure with declarative code, version-managed and repeatably creatable, replacing manual configuration.
Purpose
Version and automate infrastructure, eliminating configuration drift and environment differences.
Mechanism
Declaratively describe the desired state (Terraform HCL/Pulumi/CloudFormation). plan previews changes, apply executes them. State files track managed resources. Reusable modules compose infrastructure.
Use cases
- Infrastructure automation
- Environment consistency
- Multi-cloud management