Infra Provisioning with Terraform
Purpose
- Generally terraform is used to create infrastructure
- to be more specific it creates virtual infrastructure
Do we have alternatives for Terraform?
- AWS => Cloudformation
- Azure => ARM Templates
How to write terraform scripts?
- Terraform has its own Domain Specific Language
Terraform Building Blocks
- Resource: atomic unit of creation
- Variables: passing different values
- Datasources:
- output: Information to be shown to the user
- Provider: Where do you want to create infra