Resolving Terraform Error ApplicationGatewayInvalidPublicIpSku : Application Gateway SKU Mismatch with Public IP

If you’ve stumbled upon the following Terraform error while setting up an Application Gateway with a Public IP, this blog post will guide you through the steps to fix it. The error is straightforward—it points to a discrepancy in the SKU (Stock Keeping Unit) between the Application Gateway and the associated Public IP. The Application … Read more

Deploying Azure AKS with Application Gateway and Flux extension – An introduction to GitOps

Screenshot from the Azure Portal showing the successful deployment of GitOps configuration in Kubernetes. The image highlights the deployment status, indicating that the GitOps configuration was applied successfully. It includes details such as the deployment name, status, and any relevant logs or messages confirming the successful integration

In this blog post/tutorial, we’ll dive into a range of topics that are all deployed using GitHub Actions and Terraform. The focus is on deploying key components: This is also part of the Festive Tech Calendar – do check it out for even more awesome content! Prerequisites Before diving into Terraform deployments and application setups, … Read more

Deploying Azure AKS GitOps Flux extension with Terraform

In a previous blog post, I provided a comprehensive guide on deploying Azure AKS, Application Gateway, and GitOps extension with AKS. This involved an in-depth overview of flux/kustomization, among other components. In this post, I’ll specifically focus on deploying the Azure AKS GitOps extension and configuring flux using this extension. The Terraform Lets jump right … Read more

Setting up and using private endpoints in Azure with a storage account example in Terraform

High-Level Diagram (HLD) illustrating a virtual machine subnet successfully connecting to an Azure Storage Account via a private IP address, with no public internet access. The diagram shows the virtual machine within its subnet, the private endpoint for the Azure Storage Account, and the private IP connection path, emphasising that the connection is made securely and entirely within the Azure network without exposure to the public internet.

Azure Private endpoints have been around for some time, in this blog post I will be looking at how to setup and begin using them – will also include a storage account example in Terraform. As your cloud environment continually grows, security is and should be pretty much top priority and utilising private endpoints will … Read more

How to use If-Else in Terraform

Having been writing alot recently on if, else in various tools I use, and now it’s time to explore what Terraform brings to the table. As with any Infrastructure as Code (IaC) solution, there often comes a need to incorporate logic and conditionals into your configurations, enabling you to make choices based on specific criteria. … Read more

Referencing Azure Key Vault Certificates in Terraform

Another quick blog post on how you can reference certificates in your Azure Key Vault within your Terraform configurations. This subject follows a previous blog post in which I demonstrated how to reference Azure Key Vault secrets in Terraform. After receiving an inquiry in the comments about the possibility of doing the same for certificates, … Read more

Streamlining Multi-Component Deployments to Terraform Environments with GitHub Actions Matrices

Screenshot of GitHub Actions jobs showing the successful execution of a multi-component deployment. The image highlights various jobs in the workflow, each marked with a green check to indicate successful completion.

Deploying resources in Azure often involves deploying multiple components to numerous environments, each with its own specific configuration. Managing this complexity efficiently can be challenging. However, GitHub Actions, coupled with matrices, offers a powerful solution to streamline these multi-component deployments to multiple Terraform environments. In this blog post, we’ll explore how to use matrices in … Read more

7 Configurations I recommend you setup to deploy your Terraform into Azure at scale using GitHub Actions

Screenshot of GitHub Actions jobs output showing a configuration that creates a matrix with six combinations. The matrix includes the following combinations: [development, core], [development, logging], [development, network], [production, core], [production, logging], and [production, network]. The image highlights how the matrix configuration is used to run jobs across multiple environments and components, with each combination represented as a separate job or workflow step.

This blog post dives into the world of Terraform deployments in Microsoft Azure and explores how GitHub Actions can be harnessed to streamline the process, particularly when dealing with larger-scale deployments across various terraform resources, components and environments. We’ll walk through the essential configurations and best practices that I recommend for deploying Terraform at scale … Read more

Using Terraform Providers To Deploy Resources To Different Azure Subscriptions

Deploying Terraform in Azure, there may be a need to deploy or reference a resource in different subscription that the current Terraform deployment is configured to deploy to. In this blog post, I will delve into the process of deploying or referencing resources in different Azure subscriptions using Terraform providers. I will cover the fundamental … Read more

Configuring Groups Optional Claims in Terraform for an Azure AD Application

Recently I was looking at automation of an Azure AD application, one of the requirements of this was to configure groups optional claims within terraform. In this blog post, I will show how I achieved this, as the current Terraform documentation is slightly tricky to understand. Further reading on this setup and more details on … Read more