assignment-3

What is terraform?

Terraform is an infrastructure as code tool that lets you build, change, and version cloud and on-prem resources safely and efficiently.

Example of terraform:

terraform {

required_providers {

aws = {

source = “hashicorp/aws” version = “~> 3.27”

}

}

required_version = “>= 0.14.9”

}

provider “aws” {

profile = “default” region = “us-west-2”

}

5 commands

init: Prepare your working directory for other commands

validate: Check whether the configuration is valid

plan : Show changes required by the current configuration

apply: Create or update infrastructure

destroy: Destroy previously-created infrastructure

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