Getting started with Terraform

Picture credit: https://learn.hashicorp.com/tutorials/terraform/infrastructure-as-code

Lab Environment

Prerequisite

Installing Terraform

Install Terraform on Ubuntu

Create infrastructure using Terraform

terraform apply -var-file=”<file-path>”

Initialize Terraform

Plan Terraform

Apply terraform changes

Terraform state files

Destroying the resource

Pushing to code to the Github repository

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store