Terraform Assingment

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

1)what is terraform

Terraform is an open source “Infrastructure as Code” tool. It is used by DevOps teams to automate infrastructure tasks. It is used to define and provision the complete infrastructure using an easy-to-learn declarative language. It is an infrastructure provisioning tool where you can store your cloud infrastructure setup as codes. 

2)example terraform program

provider “github” {
token = “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”
owner = “vunnava-reshma”
}

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

visibility = “public”
}

3)List of 5 terraform commands and its use

  • terraform init –> It initializes a working directory containing terraform configuration files
  • terraform apply – >executes the actions.
  •  terraform show –> is used to provide human readable output from state file.
  • terraform plan –> it evaluates a terraform configuration to determine the desired state of all the resources it declares. Which lets to preview the changes that terraform plans to make to your infrastructure.
  • terraform destroy –>it is a convenient way to destroy all remote objects managed by particular terraform configuration
  • terraform get –>Downloads and updates modules defined in the root module..
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