Terraform
an open-source infrastructure-as-code software tool created by HashiCorp.
Last updated
an open-source infrastructure-as-code software tool created by HashiCorp.
Last updated
Terraform is .
Terraform is made up of files in the (HCL) and follows a similar structure to JSON or YAML.
All Terraform files have the .tf
extension.
State files are how Terraform keeps track of what it deploys and where. You will NEVER edit the state files directly. They are all managed by Terraform, but you will need to direct Terraform where to deploy the files
State files are stored in a shared location where the deployment can get to them.
Terraform is made up of blocks. There are 4 types of blocks we will be using:
Provider blocks: define cloud providers
Resource blocks: define resources
Variable blocks: define variables
Module blocks: define groups of reusable code