Infra Automation by Terraform Accessing Modules from a different Repo — Part8

  • Reading time:9 mins read

Accessing Terraform modules from a separate repository enhances the modularity, reusability, and centralized maintenance of infrastructure code. By linking modules to a primary Terraform directory via HTTPS or SSH, you can ensure that modules are maintained and updated in one location, reducing redundancy and ensuring consistency.

Continue ReadingInfra Automation by Terraform Accessing Modules from a different Repo — Part8

Infra Automation by Terraform Dynamic Block for List(Objects) Usecase — Part7

  • Reading time:3 mins read

In Terraform, dynamic blocks help automate the generation of multiple instances of a block for a variable list of configurations. In this example, a dynamic block is used to define Azure Security Group rules dynamically based on a list of virtual network rules. The rules are defined in a list of objects, and Terraform creates individual security rules for each item.

Continue ReadingInfra Automation by Terraform Dynamic Block for List(Objects) Usecase — Part7

Infra Automation by Terraform Dynamic Block for Map(Objects) Usecase— Part6

  • Reading time:3 mins read

This discussion demonstrates the use of dynamic blocks in Terraform to create Azure Front Door routing rules. It defines a map of routing rules in the terraform.tfvars file, where each rule includes attributes like accepted protocols, patterns to match, and frontend endpoints. The dynamic block is used to iterate over these routing rules and generate configuration blocks for each rule dynamically. In the case of forwarding rules, another nested dynamic block is used to configure forwarding settings.

Continue ReadingInfra Automation by Terraform Dynamic Block for Map(Objects) Usecase— Part6

Importance of Terraform in Realtime Usecases — Part1

  • Reading time:4 mins read

Terraform is an open-source Infrastructure as Code (IaC) tool that enables users to define, provision, and manage infrastructure in a declarative, version-controlled manner. It supports multiple cloud providers, ensuring consistency across environments. With its modularity, dependency graph, and change automation features, Terraform simplifies infrastructure management, enhances collaboration, and promotes scalability and reliability in modern cloud-based infrastructure.

Continue ReadingImportance of Terraform in Realtime Usecases — Part1