Day 4-Assignment by Dasari Sowmya

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

1) What is terraform?

Terraform is a provisioning declarative tool that based on Infrastructure as a Code Paradigm. It is written in Golang. It is a open source. Owned by Hashicorp company. It is a multipurpose composition tool to composes multiple tiers (SaaS/PaaS/IaaS) and a plugin-based architecture model.

See the source image

2)One example terraform program

using github as a provider

provider “github” {

token=”github personal access token XXXXXXX”

}

resource “github_repository” “example” {
name = “example”
description = “My awesome codebase”

visibility = “public”
}

3)List of 5 terraform commands and its use

  • terraform init : this command is used for initializing a working directory containing Terraform configuration files
  • terraform plan : show changes required for current configuration
  • terraform apply: create or update infrastructure/resource.
  • terraform show: show the current state.
  • terraform destroy: destroy previously created resources/infrastructure.
Subscribe
Notify of
guest

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

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