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 an open-source infrastructure as code software tool created by HashiCorp. Users define and provide data center infrastructure using a declarative configuration language known as HashiCorp.
Terraform Program
provider "github" {
token = "${var.github_token}"
owner = "${var.github_owner}"
}
5 Terraform Commands
terraform version-display Terraform binary version, also warns if version is old
terraform init- initialize directory, pull down providers
terraform plan-to output your plan to apply it later.
terraform apply-deploys or applies your configuration to a provider.
terraform destroy-will destroy your infrastructure
terraform show- current state of a saved plan, providing good information about the infrastructure you’ve deployed