Infrastructure as code (IaC)
Main idea:
- Use code to describe the setup and configuration of resources, such as hardware and cloud resources
- Resource setup can be included in version control this way
There's two styles:
- Imperative: detail each step to reach the desired setup
- Declarative: describe the desired setup and let an interpreter work out how to achieve that outcome
The declarative style is more robust.