Infra Automation by Terraform Pipeline Setup — Part5

  • Reading time:5 mins read

In this part, we explore the benefits and steps involved in setting up a Terraform pipeline for Azure. The pipeline ensures consistent Infrastructure as Code (IaC) deployments and automates provisioning and updates. Integration with version control systems like Git allows for tracking changes and collaboration. The pipeline also enhances security through secrets management for sensitive information. The pipeline is structured with multiple jobs, including Terraform Plan, Review, and Deploy, to manage infrastructure changes efficiently and securely.

Continue ReadingInfra Automation by Terraform Pipeline Setup — Part5

Infra Automation by Terraform for Azure Cloud — Part 3

  • Reading time:6 mins read

In Part 3 of this Terraform Azure Automation series, we focus on authenticating Terraform with Azure to manage infrastructure. First, use the Azure CLI to log in and set your subscription ID. Then, create a Service Principal in Azure Active Directory with Contributor permissions. Set the required environment variables for Terraform to use, including the client ID, secret, subscription ID, and tenant ID. Next, create a terraform-azure directory and configure the Azure provider in a main.tf file. After initializing the Terraform directory, run terraform plan to preview the changes, followed by terraform apply to implement the changes to your Azure infrastructure

Continue ReadingInfra Automation by Terraform for Azure Cloud — Part 3