About Terraform by Katte Jahnavi

 What is terraform?

Terraform is an infrastructure as code tool that lets you define both cloud and resources in human-readable configuration files that you can version, reuse, and share which enables you to safely and predictably create, change, and improve infrastructure.. Terraform supports a number of cloud infrastructure providers such as AWS, microsoft azure,IBM Cloud and many more.

 One example for terraform program:

provider “aws” {

region = “us-west-1”

}

resource “aws instance” myec2″ {

ami = “ami-12345qwert”

instance_type = “t2.micro”

}

List of 5 terraform commands and its use:

Terraform –version : Shows terraform version installed

terraform init : Initialize a working directory

Terraform init -input=true : Ask for input if necessary

terraform init -lock=false : Disable locking of state files during state-related operations

terraform get : downloads and update modules mentioned in the root module

Subscribe
Notify of
guest

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

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