🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

Terraform Assingment

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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
()
x