1. Overview
Last updated
Last updated
Terraform is tool for building, changing, and versioning infrastructure safely and efficiently
It enables application software best practices to infrastructure
Compatible with many clouds and services
Written in hashicorp configuration language in a file that has .tf extension
It is a plugin that allows us to talk to set of APIs
For instance, to interact with AWS, we have to download the AWS provider
Similarly, in order to interact with Kubernetes, we have to download the Kubernetes provider
Used to reference the existing resources in the cloud
terraform init
- looks for all the providers in all config files in current directory and downloads the necessary plugins
terraform plan
- does a dry run of your code
terraform apply
- to run our code