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

Day 4 Assignment – K. Sam Ashray

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 infrastructure as code tool that is used to define cloud resources and on-premises resources as configuration files that is understandable by human that can be versioned, reuse and shared. It manages an application’s underlying IT infrastructure through programming. It is written in Go programming language.

2) One example terraform program

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

  1. Terraform apply – it executes the actions proposed in a terraform plan.
  2. Terraform plan – creates an execution plan, which let’s us to preview the changes that terraform plans to make to your infrastructure.
  3. Terraform init – it is used to initialize a working directory containing configuration files.
  4. Terraform destroy – terminates resources defined in terraform configuration.
  5. Terraform show – used to provide human readable output from a state or plan file.
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