You now understand Infrastructure as Code at the level expected in SRE interviews.
What to remember:
- Terraform provisions infrastructure declaratively. State tracks what exists
- Remote state with locking prevents corruption from concurrent applies
- Modules enable reuse. Pin versions and use consistent structure
- Terraform creates resources, Ansible configures them
- GitOps uses Git as single source of truth with continuous reconciliation
- Test infrastructure with static analysis, plan review, and integration tests
Next, you'll learn CI/CD and deployment strategies.