Pin Azure CLI to 2.82.0 to fix JSON parsing error (#47828)

Closes: #47827

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
Peter Zaoral
2026-04-08 08:01:21 +02:00
committed by GitHub
parent bb10a2c81c
commit 2a4c9e05be
@@ -17,6 +17,9 @@ VM_SIZE="Standard_D2s_v5"
IMAGE="Ubuntu2404"
if [[ "$ACTION" == "create" ]]; then
# Pin Azure CLI to 2.82.0 (azure-core 1.38.0+ causes JSON parsing errors with az vm create)
sudo apt-get install -y -q --allow-downgrades azure-cli=2.82.0-1~noble
# 1. Resource group (created via idempotent command)
az group create --name "$CLUSTER" --location "$REGION"