Terraform has become the standard for managing cloud infrastructure, and with good reason. It provides consistent, repeatable deployments and integrates with almost every cloud provider. But there’s one piece that’s often overlooked until it causes problems: the Terraform state file. Your terraform.tfstate file is more than just metadata — it’s the single source of truthContinueContinue reading “How to Secure Your Terraform State File in Azure”
Tag Archives: Azure
Integrate Azure DevOps Pipelines with Private GitHub Repos
In cloud-native engineering, securely connecting Azure DevOps pipelines to private GitHub repositories is essential — especially when working with Terraform modules that define your infrastructure. This guide walks through how to establish that connection using PowerShell Core, ensuring a secure and maintainable setup. 🛠️ Prerequisites Before you begin, make sure you have: An Azure DevOps organisation andContinueContinue reading “Integrate Azure DevOps Pipelines with Private GitHub Repos”
Managing Azure API Versions Dynamically Using Terraform
When developing APIs for consumption from many callers you can’t just throw in new major or minor updates without impacting how they are calling the API. Doing this can cause major issues so you would normally develop APIs in things like Azure Web Applications with versioning. The callers of the APIs can then reference theseContinueContinue reading “Managing Azure API Versions Dynamically Using Terraform”
Validating Azure APIM in CI: A Practical Approach to Safe API Deployments
When deploying any code you want to validate it as much as you can before deploying. However with APIs in the APIM you can’t validate the XML Policy or the API logic until it is deployed into the API Management Service (APIM). This means you are limited to the options to validate the code, beforeContinueContinue reading “Validating Azure APIM in CI: A Practical Approach to Safe API Deployments”
Progressive Learning in Coding: The Elevator Approach
Learning new skills can be hard and when working with complex technology like coding it can be confusing. Over the years as I have learnt more technologies, I have found an approach that has helped keep learning simple. This is something I was taught before when I first started and continue to pass on toContinueContinue reading “Progressive Learning in Coding: The Elevator Approach”
Manage Complex Terraform Lists and Maps in a CSV Format
When developing some resource in Terraform you develop a large complex map or list of entries. This can become hard to manage, difficult to read and worst to maintain. An easier method is to convert these items into a Comma Separated Values (CSV) file. This will condense something that could be 100’s of lines down toContinueContinue reading “Manage Complex Terraform Lists and Maps in a CSV Format”
Authenticating with Azure Databricks Service Principal
While working with Azure Databricks, I have discovered a few different ways to authenticate with the Service Principal. Some of these are documented and some I have found through a lot of searching, but none I have found a quick easy guide on how to action them all. Setup Step one is of course makeContinueContinue reading “Authenticating with Azure Databricks Service Principal”
Automating Azure PIM Requests with PowerShell
Privileged Identity Management (PIM) is made to be a secure authentication method to assign user permissions via groups and monitor the access. This enables short time requests for the permissions that can require fields like reason for access, how long to have access and who is having access. This can typically be used for engineers’ContinueContinue reading “Automating Azure PIM Requests with PowerShell”