You are on page 1of 2

Assignment 4

Due date:20-08-2022
Note: I won't accept the late assignment with any justification.
Q1
Use terraform to create the following infrastructure as mentioned in below figure in us-east-1
region. Use terraform to deploy phpMyAdmin web application (https://www.phpmyadmin.net/).

How to submit
Create a folder named as Assignment4-YourName-yourRollno. Put the main.tf, variable.tf
and output.tf and other required files/folder to run the terraform project in it (it should not
include .module folder). Zip the folder and upload in canvas.

How I grade you? I will download the zip folder. Unzip the folder and go inside the folder.
Provide the access key and secret key and region and run the following sequence of
commands.

Terraform init
Terraform plan
Terraform deploy
After executing the above mentioned commands. I should get the IP address
of webserver along with username and password to login the web
application.

Reference material
https://www.phpmyadmin.net

https://hashicorp.github.io/field-workshops-terraform/slides/aws/terraform-oss/#1

https://github.com/hashicorp/hashicat-aws

Lecture 4
https://learn.hashicorp.com/tutorials/terraform/install-cli
https://chocolatey.org/install

You might also like