From 0c61c79849d77384dc185ce863924868019f839d Mon Sep 17 00:00:00 2001 From: murali Date: Wed, 25 Feb 2026 20:04:47 +1100 Subject: [PATCH] Fixed tag policy params snippet in Task 10: Step 2 Update the add-tag-policy-params.json example in the walkthrough: Inserted the correct code snippet for params --- .../walkthrough/challenge-01/solution-01.md | 31 +++++++++---------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/03-Azure/01-03-Infrastructure/01_Sovereign_Cloud/walkthrough/challenge-01/solution-01.md b/03-Azure/01-03-Infrastructure/01_Sovereign_Cloud/walkthrough/challenge-01/solution-01.md index 83049f2a7..4b3e0e0a3 100644 --- a/03-Azure/01-03-Infrastructure/01_Sovereign_Cloud/walkthrough/challenge-01/solution-01.md +++ b/03-Azure/01-03-Infrastructure/01_Sovereign_Cloud/walkthrough/challenge-01/solution-01.md @@ -712,24 +712,21 @@ Create a file named `add-tag-policy-params.json`: ```json { - "if": { - "field": "[concat('tags[', parameters('tagName'), ']')]", - "exists": "false" + "tagName": { + "type": "String", + "metadata": { + "displayName": "Tag Name", + "description": "Name of the tag to add" + }, + "defaultValue": "DataClassification" }, - "then": { - "effect": "modify", - "details": { - "roleDefinitionIds": [ - "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c" - ], - "operations": [ - { - "operation": "add", - "field": "[concat('tags[', parameters('tagName'), ']')]", - "value": "[parameters('tagValue')]" - } - ] - } + "tagValue": { + "type": "String", + "metadata": { + "displayName": "Tag Value", + "description": "Value of the tag to add" + }, + "defaultValue": "Sovereign" } } ```