What is terraform
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Terraform is a code tool it is an open source created by hashicrop.
It makes users to write code in easy way. It then generates a plan for reaching that end-state and executes the plan to provision the infrastructure. It makes you define both cloud and on-prem resources in human-readable configuration.
Example on terraform
provider “aws” {
region = “us-west-1”
}
List of five commands
Validate – Check whether the configuration is valid or not
apply – Create or update infrastructure
init – prepare your working directory for other commands
destroy – destroy previous infrastructure
console – try terraform expression at an interactive command prompt.