From 29e47e9e8ada265075bd0feee11558f68c490437 Mon Sep 17 00:00:00 2001 From: tsweatman1 <155660739+tsweatman1@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:21:58 -0400 Subject: [PATCH] added enableAutomaticUpgrade back into code since issues was OBE. (#1119) * added enableAutomaticUpgrade back into code since issues was OBE. * GitHub Action: Build Bicep to JSON --------- Co-authored-by: github-actions --- src/bicep/mlz.json | 7 ++++--- src/bicep/modules/linux-virtual-machine.bicep | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bicep/mlz.json b/src/bicep/mlz.json index f56a0f152..f0e6c0753 100644 --- a/src/bicep/mlz.json +++ b/src/bicep/mlz.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.30.23.60470", - "templateHash": "16541325671879840467" + "templateHash": "11000848548598385857" } }, "parameters": { @@ -5710,7 +5710,7 @@ "_generator": { "name": "bicep", "version": "0.30.23.60470", - "templateHash": "3503875367735395147" + "templateHash": "208914367173865032" } }, "parameters": { @@ -6047,7 +6047,7 @@ "_generator": { "name": "bicep", "version": "0.30.23.60470", - "templateHash": "5686981733462823694" + "templateHash": "4932706162089134974" } }, "parameters": { @@ -6211,6 +6211,7 @@ "type": "GuestAttestation", "typeHandlerVersion": "1.0", "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, "settings": { "AttestationConfig": { "MaaSettings": { diff --git a/src/bicep/modules/linux-virtual-machine.bicep b/src/bicep/modules/linux-virtual-machine.bicep index 50cb5379b..3acb93d55 100644 --- a/src/bicep/modules/linux-virtual-machine.bicep +++ b/src/bicep/modules/linux-virtual-machine.bicep @@ -128,6 +128,7 @@ resource guestAttestationExtension 'Microsoft.Compute/virtualMachines/extensions type: 'GuestAttestation' typeHandlerVersion: '1.0' autoUpgradeMinorVersion: true + enableAutomaticUpgrade: true settings: { AttestationConfig: { MaaSettings: {