top of page

Terraform-Assignment List

Terraform-Day-1

Terraform installation steps for Windows, Amazon EC2 Linux 2, and MacOS, along with a hands-on example to validate the installation.

1. Install Terraform on Windows

2. Install Terraform on Amazon EC2 Linux 2

3. Install Terraform on MacOS

Hands-On: Validate Terraform Installation with a Simple Example

  1. Create an S3 bucket in AWS using Terraform to validate the installation.

  2. Initialize Terraform:

  3. Validate the Configuration:

  4. Preview the Plan:

  5. Apply the Configuration:

  6. Deploy the resources in AWS:

  7. Verify the S3 Bucket:

  8. Clean Up Resources:


In this lab, we’ll create a Terraform configuration that deploys 3 AWS EC2 instances with unique names using the count meta-parameter.


Create the .gitignore File







Terraform-Day-2

### Hands-On Lab: Setting Up Remote Backend for Terraform with S3 and DynamoDB


# Hands-on Lab: Terraform State Commands `terraform state list`, `terraform state show`, `terraform state rm`, `terraform state mv`, and others.

Hands-on Lab: Using Terraform Data Sources for AMI (Amazon Machine Image)

# Hands-on Lab: Using Output Values in Terraform

# Hands-on Lab: Using Terraform Variables

# Hands-on Lab: Different Ways to Pass Terraform Variables

# Hands-on Lab: Terraform Workspaces (Updated with Instance Type)



Terraform-Day-3

### Hands-on Lab: Using Provisioners in Terraform

# Hands-on Lab: Creating EC2 Instance with VPC, Subnet, Internet Gateway, Route Table, and Security Group


Terraform-Day-4

# Creating Terraform Modules for EC2 Instance with VPC, Subnet, and Other Resources

# Hands-On Lab: Create Amazon EKS Cluster Using Terraform


bottom of page