Azure DevOps Pipelines with Terraform and Stages

In this video, we build an Azure DevOps pipeline with stages to deploy resources built with Terraform.  We start by reviewing the environment including the code and the storage account used for the backend Terraform data.  We add the Terraform extension to DevOps and create a multiple stage Azure DevOps pipeline with tasks to initialize, verify plan and apply the Terraform configuration.  Next, we create a second pipeline to run the destroy command to clean up the deployment.

Continue reading “Azure DevOps Pipelines with Terraform and Stages”

Azure DevOps and Bicep Pipelines

Azure DevOps

In this video, we build on DevOps repos by creating an Azure DevOps pipeline that deploys Azure Bicep template files.  We start by creating a service connection, allowing DevOps to deploy resources to Azure.  Next, we create multiple pipeline jobs, splitting the deployment into two parts, or jobs, that run sequentially.  One job deploys resources to Azure and the other removes the resources.  A dependency is used to only run the second job if the first is successful.  Azure Bicep files are used for this example.  We review the modular deployment then create a parameters file to set configuration parameters for the deployment.

Continue reading “Azure DevOps and Bicep Pipelines”