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

Terraform

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!

What is terraform?

It is an open source infrastructure as code software tool that allows to programmatically provision the physical resources an application requires to run.

Example

//provider code for github provider

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

//resource code

resource “github_repository” “example” {
name = “test”
description = “test repo”

visibility = “public”
}

5 terraform commands

  • init :Used to initialize provider
  • plan : Used to create a execution plan.
  • apply: It executes the actions proposed in plan commands.
  • show : Used to display the contents of repository
  • destroy : Used to destroy the repository.
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