From 7bac33d4872d9087a308e69115b791807568a38c Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Wed, 7 Aug 2024 17:15:20 +0100 Subject: [PATCH] azure: Update storage config following Gallery Image API change Tested and working. Signed-off-by: James Le Cuirot --- CHANGELOG.md | 1 + platform/api/azure/gallery-image-template.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 241bbcea8..3754b4fa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - DigitalOcean now supports deleting images with the same name ([#440](https://github.com/flatcar/mantle/pull/440)) - Add support to plume azure release and pre-release to use managed identities ([#535](https://github.com/flatcar/mantle/pull/535)) - Azure platform uses new go SDK, changing the way we authenticate (using azidentity now) ([#532](https://github.com/flatcar/mantle/pull/532)) +- Update storage config following Azure Compute Gallery Image API change ([#550](https://github.com/flatcar/mantle/pull/550)) ### Removed diff --git a/platform/api/azure/gallery-image-template.json b/platform/api/azure/gallery-image-template.json index 4b1fb8dcb..794181de6 100644 --- a/platform/api/azure/gallery-image-template.json +++ b/platform/api/azure/gallery-image-template.json @@ -115,7 +115,7 @@ "osDiskImage": { "hostCaching": "ReadOnly", "source": { - "id": "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_name'))]", + "storageAccountId": "[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccounts_name'))]", "uri": "[parameters('vhd_uri')]" } }