My thoughts on why you should use Terraform Provisioners as a final option

In today's world, Infrastructure as Code (IaC) has become a fundamental part of managing and deploying cloud infrastructure. Terraform is a widely used IaC tool that enables us to define our infrastructure as code, store it in version control, and…

How to use GitHub Actions environment variables

In this blog, we will explore how to use environment variables in GitHub Actions, including how to create and use them in your workflows. Environment variables are an essential part of any software development process, and GitHub Actions makes it…

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…

Yarn Build and deploy image to Azure Container Registry using GitHub Actions

In this blog post I will show you can use a GitHub Action to run Yarn build and deploy a container image to Azure Container Registry. Prior to continuing with this blog, please review this post in relation to setting…

Storing and retrieving secrets in Azure Key Vault with GitHub Actions

Using GitHub Actions and wanting to store secrets security while utilising Azure? In this blog post I will be showing how you can create and store secrets in Azure Key Vault and retrieve them to be used as part of…

Learn Terraform and deploy to Azure using self-led GitHub Repository

I have been asked a lot recently on how to learn the basics of Terraform and deploy into Azure, I have now created a self-led GitHub repository tutorial/course to give you an understanding on deploying Terraform on Azure from the…

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…