DevOps Classroom notes 16/Nov/2025

Modules contd

Provider aliasing

  • In AWS provider is linked to region and credentials
  • In Azure provider is linked to credentials
  • If we want multi region solution in aws we cant use it with one provider and in the same way we cant use the same provider for different accounts, to solve this problem terraform supports alias

Lets create a module for vpc

Lets create a module in azure for network security group

Exercise

  1. create a module in aws for security group

Datasource

  • Refer Here
  • Every provider in terraform comes with
    • resource: infra where we experess desired state
    • datasource: to query about infra with provider
  • Refer Here for datasources example
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

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%%