/azure-automation

Azure Automation Accounts

Primary LanguageHCLMIT LicenseMIT

Azure Automation Accounts

Patching and automation operations on Azure with Automation Accounts.

ℹ️ New patching should be done with Update Manager

Set the .auto.tfvars file:

cp config/template.tfvars .auto.tfvars

Create the infrastructure:

terraform init
terraform apply -auto-approve

After this, enable the update for the VMs from the automation account.

👉 Since Automation does not support Ubuntu 22, I'm running this with 20.04.

Once configured and executed, patching should be fixed on all machines:

Inventory and change tracking are also enabled via Terraform:

Runbook

A PowerShell 7.2 runbook is created to rotate Storage Account keys.