Azure DevOps Pipelines – Keeping your pipelines DRY (Don’t Repeat Yourself)

Working on Azure DevOps Pipelines you may notice some repetition over time, whether that be copying the same stage or task multiple times but changing some values. This will result in your pipeline growing and growing unnecessary over time. What can we do? If you are coming from a developer perspective you will probably have … Read more

Terraforming from zero to pipelines as code with Azure DevOps

Are you ready to Terraform? Are you ready to deploy to Azure via Pipelines as code? Then you are going to enjoy this blog post! I’ve blogged a lot recently about Azure DevOps and Terraform; both very relevant topics in Azure in relation to deploying IaC in a pipeline. This blog post; I am going … Read more

Deploying ARM Templates using Azure DevOps Pipelines

Deploying ARM Templates and want to deploy using Azure DevOps Pipelines? Lets have a look in this blog post on how to achieve this! What is Azure DevOps? Deploying resources already into Azure; you probably already have came across using Azure DevOps, it is a hosted service by Microsoft that provides an end-to-end DevOps toolchain … Read more

Provision and storing Terraform backend state remotely to use with TerraformTaskV1@0

Terraform must store state about your Azure Infrastructure and additional configurations. This “state” is used by Terraform to plan against any related real world resources. It uses the state to create the plan when you run “terraform plan” and also used to make any changes to your infrastructure; including any additions and removals. The state … Read more

Using Inspec-Azure to test your Azure Resources

Inspec-Azure is a resource pack provided by Chef that uses the Azure REST API, to allow you to write tests for resources that you have deployed in Microsoft Azure. These tests can be used to validate the Azures resources that were deployed via code using Terraform or Azure RM templates. Inspec is an open source … Read more

“the input device is not a TTY” fix when running Docker in Azure DevOps

Attempting to run Docker in Azure DevOps and getting error “the input device is not a TTY”? In in this blog post, I will show you a simple fix used to resolve the issue I was having. When attempting to use Docker inside a Bash@3 task; I kept getting the error:- The Docker command I … Read more

Validating Terraform Code During A Pull Request In Azure DevOps

I will show how to create a branch policy that will run a CI pipeline to validate Terraform code along with a Terraform plan, during a Pull Request in Azure DevOps and will include the YAML CI Pipeline. Branch policies help teams protect their important branches of development. Policies enforce your team’s code quality and change management … Read more