Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Terraform Project – Assignment – Exercise – Lab#3: Mixed

How to submit Assignment?

Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post.


  • Exercise 1 – Write a terraform configuration file to create a EC2-Instance(RHEL7.5) along assigned with newly created Keypair, Security group in default VPC.
  • Exercise 2 – Write a terraform configuration file to create a EC2-Instance(RHEL7.5) along assigned with newly created Keypair, Security group in default VPC and run some shell script using local exec and install httpd in EC2-Instance using remote exec and copy a index.html from host machine to EC2-Instance.
  • Exercise 3 – Write a terraform configuration file to create a EC2-Instance(RHEL7.5) along assigned with newly created Keypair, Security group in newly created VPC and run some shell script using local exec and install httpd in EC2-Instance using remote exec and copy a index.html from host machine to EC2-Instance.
  • Exercise 4 – Convert into hard coding values to variables and all variables duplicate at vars.tf, command line and environemnt(3 Places). Values much be at terraform.tfvars, command line and environemnt(3 Places). Do let me know which has highest precedence.
  • Exercise 5 – Create a example for each functions such .
    • max
    • min
    • join
    • upper
    • index
    • length
    • loopup
    • file
    • tolist
    • tostring
  • Exercise 6 – Convert into Module a Exercise 4 programs.
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.