2 Important Components of Terraform file - polganesh/terraform-examples GitHub Wiki
Providers
- A Provider is responsible for understanding API specific to the cloud provider.
- Complete list can be found at URL
- We can create our own provider if required.
- Main purpose of this component is to very quickly provision resources.
- Example of AWS provider in tf file.
provider "aws" { access_key = "<your-access-key>" secret_key = "<your-secret-key>" region = "ap-south-1" }