Day-4

 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

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x