Using GitHub Actions variables as Terraform variables

In Terraform you can use variables to make your code more dynamic and reusable. You can use variables to pass in values from the command line, from a file, or from environment variables. In this blog post I will show…

GitHub Action Workflow hashicorp/setup-terraform@v2 ERROR: Please run ‘az login’ to setup accountGitHub Action Workflow hashicorp/setup-terraform@v2 error:

A quick blog post on assisting with a couple of errors I came across when using workflow hashicorp/setup-terraform@v2 - this also remediates hashicorp/setup-terraform@v1 also. Two errors found, relating to the same fix: First error: Error: building AzureRM Client: obtain subscription()…

Terraform Secret Management in Azure using Azure Key Vault

Deploying Terraform to Azure is a great way to manage your infrastructure as code. In this blog post, I will show you how to use Azure Key Vault to store your Terraform secrets. I was asked this query recently and…

Deploy Container App and pull image from Azure Container Registry using Terraform

In this blog post, I am going to show how you can Deploy an Azure Container Image and pull its image from Azure Container Registry using an user assigned managed identity - all done via Terraform. In a previous blog…

Terraform Warning: “Version constraints inside provider configuration blocks are deprecated” fix

A quick blog post on how to resolve the Terraform warning Warning: Version constraints inside provider configuration blocks are deprecated within your Terraform configuration. The fix below is in relation to azurerm provider, but similar fix can be used for…

Deploy Container App and pull image from Azure Container Registry using Terraform and AzAPI

In this blog I am going to show how to deploy Container App and pull an image from Azure Container Registry using user assigned managed identity for authentication. I will be achieving this using Terraform and AzAPI. Image below shows…

Deploy your first container app using Terraform and GitHub Actions tutorial/lab

This tutorial/lab has been created to take you through a DevOps journey to build & deploy an Azure Container Application using Terraform and GitHub Actions. It will include from setting up the GitHub pipeline, prerequisites and finishing with a successful…

Building and deploying to an AKS cluster using Terraform and Azure DevOps with Kubernetes and Helm providers

I have a few blogs now on deploying Azure Kubernetes Services (AKS) with different scenarios, such as deploying AKS with Application Gateway Ingress, in this blog post I am going to be building and deploying to an AKS cluster using…

Creating multiple Azure postgresql server replicas using Terraform

Using Terraform to create a postgresql server in Azure? There may be sometimes a requirement to create additional read-replicas of this server. In this blog, I am going to show how you can achieve this! I will be giving the…

Using Aztfy to import existing Azure resources into Terraform

Wanting to import existing Azure resources into Terraform? A recently announced tool called Terrafy will be something you will be certainly interested in! In this blog, I will have a look at using Aztfy and its configuration to both import…