assignment-3
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
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