Skip to content

Hands-on Terraform examples: Provision AWS EC2, VPC, security groups, and modules. Learn infrastructure-as-code (IaC) deployment workflows and best practices.

Notifications You must be signed in to change notification settings

SanketNalage/Terraform-Hands-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform-Hands-on

Terraform Version License

A Terraform project to deploy [brief description of infrastructure, e.g., "AWS VPC, EKS, and RDS"].


📌 Table of Contents


✨ Features

  • Deploys [list key features, e.g., "Highly available AWS infrastructure"].
  • Uses [specific tools/modules, e.g., "Terraform AWS Modules"].
  • Supports [any special configurations, e.g., "multi-region deployment"].

Installation Steps

Step 1: Update the System

sudo apt-get update && sudo apt-get install -y gnupg software-properties-common

Step 2: Add the HashiCorp GPG Key

wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg

Step 3: Verify the Key Fingerprint

gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint

Step 4: Add the HashiCorp Repository

echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list

Step 5: Update the Package List

sudo apt update

Step 6: Install Terraform

sudo apt-get install terraform

Verify Installation

To confirm Terraform is installed, run:

terraform -version

You should see an output similar to:

Terraform v1.x.x

🛠 Prerequisites

About

Hands-on Terraform examples: Provision AWS EC2, VPC, security groups, and modules. Learn infrastructure-as-code (IaC) deployment workflows and best practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published