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 basics of Terraform to deploying to Azure! The GitHub repository https://github.com/thomast1906/terraform-on-azure What you will learn … Read more

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 post, I completed similar using Terraform and AzAPI but in a recent Terraform update 3.43.0 … Read more

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

Screenshot showing a Terraform error message indicating a deprecated provider version constraint. The error message highlights the issue on providers.tf line 2, where the provider version is specified within the provider block. The message explains that Terraform 0.13 and earlier allowed version constraints here, but this practice is now deprecated and will be removed in future Terraform versions. It advises moving the version constraint into the required_providers block to resolve the warning.

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 other providers. Using Terraform version > 0.13, you will see this warning with similar output … Read more

Azure Load Testing Managed Service First Thoughts

Screenshot from Azure Load Testing displaying a test rule. The image shows the configuration details of a specific test rule, including parameters such as conditions, thresholds, and actions associated with the rule. It highlights how the test rule is set up to monitor and respond to specific performance criteria during the load testing process.

In a recent announcement, Azure Load Testing has now became GA and in this blog, I will be giving a brief overview of using it along with first thoughts! Having used a number of Load testing suites throughout the years, I was very curious when Azure Load Testing was announced as a fully-managed Azure service! … Read more

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

High-Level Diagram (HLD) showing the architecture involving a Container App, Managed Identity, and Azure Container Registry (ACR). The diagram illustrates how the Container App is configured to pull container images from ACR. It also shows the Managed Identity linked to the Container App, enabling secure access to ACR and other Azure resources.

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 a diagram of what I will be deploying; it shows container app accessing a container … Read more

Build and push Docker Image to Azure Container Registry using GitHub Action

Screenshot of a GitHub Actions job for Docker build and push to Azure Container Registry (ACR), showing all stages as successful. The image highlights the workflow steps, including building the Docker image and pushing it to ACR, with green check marks indicating that each stage completed without errors.

In this blog post I am going to show how you can build and push Docker Images to Azure Container Registry (ACR) using a GitHub Action. Creating Azure Container Registry We will use Az CLI to create the Azure Container Registry, script below: A successful run of the above script will create a resource group … Read more

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

High-Level Diagram (HLD) illustrating the workflow from a GitHub repository to deployment on Azure services. The diagram shows a GitHub repository with GitHub Actions configured to build and push images to Azure Container Registry (ACR). It also depicts the deployment of these images from ACR to an Azure Container App using a managed identity for secure access. Additionally, the diagram includes integrations with Application Insights and Log Analytics for monitoring and logging purposes.

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 Container Application being deployed – along with looking at alerting/monitoring! This is also my contribution … Read more

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 Terraform and Azure DevOps. You will also have noticed in the title, it references both … Read more

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 option to create additional replicas with a variable addition (up to 5 replicas allowed currently … Read more

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 Azure resources into terraform state locally and also directly to an Azure Storage Account. “A … Read more