DevOps Classroomnotes 31/Dec/2021

Terraform Modules

  • Terraform moduels are container which have resources defined together.
  • There are two kinds of modules
  • Published Modules: These modules are published in Terraform Registry Refer Here
  • Local/Private Modules

Activity 4: Using Published Terraform Module to Create VPC in AWS & vnet in Azure

  • Use the published module to create vpc Refer Here
  • Refer Here
  • Now lets try to use a module to create a virtual network in azure
  • Refer Here for the changes
  • To use the module Refer Here for module syntax
  • Modules can be hosted in Registry or git or various other supported sources Refer Here

Activity 5: Lets create our own module and use it

  • Lets reuse our activity 3 virtual network created in Azure and make it a module and activity 2 also as a module
  • Lets continue this activity on sunday

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner