Terraform for Azure: Basics (9)

This post aims to cover the subject of putting YAML pipelines into templates. This means separating out repeated and re-usable code into separate files that are project or client agnostic, just as we did with our Terraform modules.

Terraform for Azure: Basics (8)

In this post I want to cover the differences between directories and workspaces (I use directories, I’ll explain why, but there are arguments for both and people’s preferences differ – choose what works for you). I’ll try and give examples of how we can create separate environments using pipeline stages, and I’ll also start adding a little more structure to our repository’s root folder.

Terraform for Azure: Basics (7)

This time we’re going to be looking at Terraform modules to try and simplify things and reduce the amount of lines in our main deployment code. It’s another long one I’m afraid, but hopefully it will really help some things gel in your mind. We will discuss what modules are and how to use them, then we’ll make all our code re-usable by moving the data into a separate variables file.

Terraform for Azure: Basics (6)

In this episode I’m going to be looking at refining our pipeline code by adding formatting checks and putting some of our more sensitive variables into and Azure DevOps library. If you’ve been with me on the whole journey you now should have a relatively good understanding of the structure of pipelines, and be able to use them to deploy resources into Azure using basic Terraform code.

Terraform for Azure: Basics (5)

This fifth episode in our series of posts dealing with the basics of HashiCorp Terraform for Azure is going to be a bit shorter than usual. I felt we needed a little breather after the last epic that we had to work through. I’m going to discuss how to lock down the Terraform state storage account and manipulate its firewall while we perform DevOps operations.