03 · automate
Infrastructure as code
Automation & IaC
Terraform and Bicep, shipped through CI/CD. Nothing gets clicked into existence: every environment is a reviewed, repeatable artefact.
# pipeline: plan on pull request, apply on main
trigger: [main]
steps:
- task: TerraformInstaller
- script: terraform init && terraform validate
- script: terraform plan -out=tfplan
- script: terraform apply tfplan # main only
# AKS + policy baseline, kept in the same repo
resource "azurerm_kubernetes_cluster" "main" {
name = "aks-platform"
dns_prefix = "platform"
kubernetes_version = "1.29"
}