A tech blog about Cloud and DevOps. Specializing in Azure, Azure DevOps, Terraform & Kubernetes! ☁️

Dynamic Terraform deployments across multiple environments

The structure of your Terraform code is subjective! But here's my take on the ‘best’ way to lay it all out in my experience!

Photo by Blake Connally on Unsplash

The ideal structure needs to take into account the following principles:

  1. You should have a centralized module repository that you can reuse across multiple projects.
  2. You…

Whilst attempting to import an item into terraform state in a state file held in an Azure storage account, I encountered this error:

Error: building client: unable to obtain access token: running Azure CLI: exit status 1: ERROR: AADSTS50158: External security challenge not satisfied. User will be redirected to another…

Jack Roper

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store