Deploying Azure Container Apps into your virtual network using Terraform and AzAPI

High-Level Diagram (HLD) illustrating the architecture where a virtual machine (VM) subnet connects to a Container App via a private endpoint, with no public access to the Container App. The diagram shows the VM subnet and the Container App linked through a private endpoint, emphasizing that the Container App is only accessible from within the virtual network. Public access to the Container App is restricted, ensuring secure communication over the private network.

In this blog, we will be looking at deploying Azure Container Apps into your virtual network using Terraform and AzAPI. A follow on blog from my previous – Deploying multiple Container Apps in Azure using Terraform and AzAPI Looking at the diagram below, I will be deploying the container app so it is only accessible within … Read more

Create a PostgreSQL single server read replica in Azure using Terraform

Screenshot from the Azure Portal showing an Azure PostgreSQL Single Server with one read replica. The image highlights both the primary server and the read replica, indicating their statuses and replication details.

Deploying PostgreSQL single server in Terraform and wanting to create a read replica? In this blog post I will show you how, it is rather straight-forward to setup with Terraform. Lets begin by looking at the terraform to create PostgreSQL single server; will follow on with showing how to add read-replica with terraform. Terraform for … Read more

Deploying multiple Container Apps in Azure using Terraform and AzAPI

Screenshot from the Azure Portal displaying Container Apps and a Log Analytics workspace. The image highlights the list of Container Apps alongside the Log Analytics workspace, showing their names and statuses.

In this blog post I am going to show you can deploy multiple Container Apps in Azure using Terraform and AzAPI. You may be wondering what is AzAPI? Some times with new resource updates, the terraform AzureRM provider is not up to date or missing a piece of functionality within a particular resource. With this … Read more

azure application gateway data for certificate is invalid error fix

A quick blog post to show a fix for when you get the error data for certificate is invalid error when applying backend settings within Azure Application Gateway. Within the Azure Activity log, you may come across this error: Reviewing the backend settings in the Application Gateway, we can see the snippet: For end-to-end SSL … Read more

Running pre-commit hooks as GitHub Actions

Screenshot showing a pre-commit stage failing in a pull request on GitHub. The image highlights the failure status for the pre-commit check, indicating issues detected by the hook that need to be resolved before the pull request can be merged

In your Git repository, you may be using pre-commit hooks, as part of your pre-commit process – this works fine but sometimes, someone may pull request via the UI in GitHub for example and these pre-commit hooks won’t run natively. In this blog I am going to show you can run run pre-commit hooks as … Read more

Using variables to dynamically check out a repository using a specific branch or tag in Azure DevOps Pipelines

In Azure DevOps pipeline, you might want to check out a repository using a specific branch or tag, in this blog post – I am going to show how you can use variables to dynamically achieve this! Why dynamic? My thought on creating pipelines is that I usually want it to be as dynamic as … Read more

Uploading contents of a folder to Azure Blob Storage using Terraform

In this blog post, I am going to show how you can upload contents of a folder to Azure Blob Storage using Terraform – this can work great, to keep the contents of the folder in source control! To achieve the file upload functionality, I will be using the fileset function within Terraform fileset enumerates a … Read more

Using the Terraform resource azapi_update_resource to update Azure resources that are not yet supported in AzureRM provider

A few months ago, there was an announcement of AzAPI terraform provider, that enables you to manage any Azure resource type using any API version. You may be wondering, why the need for this? Some times with new resource updates or additions, the terraform AzureRM provider is not up to date or missing a piece … Read more

Power BI Gateway error when connecting to PostgreSQL fix

A very quick blog post to detail a quick fix I found when attempting to create a Power BI on-premise Gateway connectivity to PostgreSQL. Setting up on-premise gateway and applying fix Setting up a standard on-premise gateway for data integration, following this guide from docs.microsoft Setup installs fine – when attempting to setup a new … Read more

Creating Terraform Variables from Azure DevOps Pipeline Variables

Deploying Terraform using an Azure DevOps pipeline, you can use pipeline variables as part of your Terraform variables, in this blog post I will show you how. With Terraform, you are probably using .tfvars if deploying the multiple environments – awesome! There may be a time that you want to change a variable or have … Read more