Azure AKS Operations With Terraform

Azure Kubernetes Service follows the same managed-control-plane pattern as EKS and GKE, but the resource model, networking defaults, and identity system are different enough that provider-specific knowledge matters during provisioning. For a runnable lab, see the azure directory in the IaC repository. Resource Group Structure Everything in Azure lives in a resource group. The AKS cluster, VNet, and NSG are typically in the same group for a lab, but production should separate network infrastructure into a shared resource group owned by the platform team: ...

June 10, 2026 · 3 min · Trinidad Marroquin

Terraform Azure Backend Bootstrap

Remote state has a chicken-and-egg problem: Terraform needs somewhere to store state, but the storage account and container may also be managed by Terraform. The clean approach is to treat backend bootstrapping as a short, explicit phase. Create the state storage resources first, migrate state intentionally, then use the remote backend for the rest of the infrastructure. Target Shape For Azure Blob Storage, the backend needs: a resource group. a storage account. a private blob container. a stable state key per root module or environment. Example backend shape: ...

June 10, 2026 · 2 min · Trinidad Marroquin