Day-4
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
What is terraform?
Hashicorp is an organisation or company that provides us Terraform platform.Terraform is an infrastructure as code tool that lets us understand or work with both cloud and also some of the readable configuration files that we can edit , plan,apply changes,version and reuse and also share.
One example terraform program
resource “github_repository” “example” {
name = “example9999999”
description = “My awesome codebase hey”
visibility = “public”
}
provider “github” {
token = “xxxxxxx”
owner = “xxxxxxx”
}
List 5 commands in terraform and their uses
1.vi terraform.tf
2.terraform init
3.terraform plan
4.terraform apply
5.terraform destroy