DevOps Classroom notes 24/May/2026

Creating reusable modules

  • Terraform module is a reusable template
  • At the module level
    • Variables we define in the module will become arguments
    • outputs we define in the module will be come attributes of the module
  • Modules will not have a provider block who ever is calling module needs to have a provider block

lets create a module which creates a security group

  • Refer Here for creating a security group moudule and using it from local folder
  • Created a resuable module in git Refer Here
  • Refer Here for the changes done to use a reusable module from git repo.

Create a kubernetes cluster from terraform in AKS

  • Possible options
    • Using AzureRm Providers
    • Searching for existing module to create AKS Cluster
  • Steps for using AzureRm Provider
    • Figure out manual steps and implement in Terraform
  • Steps for using Existing module
    • Figure out manual steps for understanding
    • Read module documentation for passing different values

We will be creating AKS Cluster using Azure RM PRovider

  • Can you figure out manual steps to create AKS Cluster
  • Refer Here for the chagnes done
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%