DevOps Classroom Series – 19/Oct/2020

Terraform contd..

  • Manual Steps:
    • Create an ubuntu 18 instance in AWS
    • Login into the instance and execute the commands
      sudo apt update
      sudo apt install nginx -y
      
  • Refer Here for the changes made
  • Imporovments:
    • Our terraform template is not showing any outputs. It would be good if terraform shows the output urls of web server and appserver
    • Eliminate copy pastes, Try to use DRY (Dont repeat yourself)

Terraform Output

  • Refer Here for official documentation.
  • To accomodate outputs the following changes are made Refer Here

Terraform Modules

  • Terraform Modules help in creating reusable infrastructure
  • On a larger note there are two kinds of modules
    • Modules created by user
    • Modules shared by community
  • Now lets focus of creating user modules
  • Refer Here for the changes done.

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%