DevOps Classroomnotes 16/Aug/2023

Reusability in terraform

Create a vpc in AWS in mumbai

Create a module to create aws security group

  • Refer Here for the module created to create an aws security group
  • Now lets try to use this module from local path
    Refer Here
  • Try creating 2 security groups one in mumbai and one in oregon
  • Refer Here for module submitted in git

Concepts: Module

  • Refer Here for official docs
  • Terraform registry is collection of public modules
  • modules can be used from various sources Refer Here
  • Terraform supports connecting to same cloud using provider with alias for different configurations as part of one deployment
    • In AWS if we want terraform to create resources in two different regions or two different accounts
    • In Azure to create resources in two different subscriptions/accounts

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube