Providers
Terraform providers connect Terraform to external APIs and infrastructure platforms.
What A Provider Does
- Authenticates with the target service.
- Translates Terraform actions into API calls.
- Exposes resources and data sources to Terraform.
Examples
- AWS
- AzureRM
- Google Cloud
- Kubernetes
- GitHub
Practical Notes
- Provider version pinning matters.
- Keep provider configuration close to the root module.
- Use aliases when you need multiple accounts or regions.