Skip to content

Commit

Permalink
Fixes deployment validation error when LAW is not deployed, and AMBA …
Browse files Browse the repository at this point in the history
…is enabled (#1820)

Co-authored-by: Jack Tracey <[email protected]>
  • Loading branch information
arjenhuitema and jtracey93 authored Nov 5, 2024
1 parent 7749691 commit 7662460
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
7 changes: 7 additions & 0 deletions docs/wiki/Whats-new.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## In this Section

- [Updates](#updates)
- [November 2024](#november-2024)
- [🔃 Policy Refresh Q1 FY25](#-policy-refresh-q1-fy25)
- [October 2024](#october-2024)
- [September 2024](#september-2024)
Expand Down Expand Up @@ -48,6 +49,12 @@ This article will be updated as and when changes are made to the above and anyth

Here's what's changed in Enterprise Scale/Azure Landing Zones:

### November 2024

#### Tooling

- A bug was resolved in the Portal Accelerator that caused deployment validation to fail with the error message "The 'location' property must be specified for 'amba-id-amba-prod-001'". This event happened when a Log Analytics Workspace was not deployed, but Azure Monitor Baseline Alerts were enabled. This issue occurred because Azure Monitor Baseline Alerts depend on the management subscription, which is not provided if the Log Analytics Workspace is not deployed. To address this scenario, an additional section was implemented in the Baseline alerts and monitoring tab allowing the selection of a Management subscription when not deploying a Log Analytics Workspace.

### 🔃 Policy Refresh Q1 FY25

- Updated ALZ custom policies enforcing minimum TLS versions to properly evaluate the minimum TLS version, ensuring services configured to deploy TLS 1.3 will successfully evaluate.
Expand Down
42 changes: 38 additions & 4 deletions eslzArm/eslz-portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@
}
]
},

{
"name": "multiPlatformMgmtSub",
"type": "Microsoft.Common.InfoBox",
Expand Down Expand Up @@ -1244,6 +1243,41 @@
],
"visible": "[equals(steps('monitor').enableMonitorBaselines,'Yes')]"
},
{
"name": "AmbaEsMgmtSubSection",
"type": "Microsoft.Common.Section",
"label": "Management subscription",
"elements": [
{
"name": "AmbaEsMgmtSubUniqueWarningAmba",
"type": "Microsoft.Common.InfoBox",
"visible": true,
"options": {
"text": "Ensure you select a subscription that is dedicated/unique for Management. Selecting the same Subscription here for Connectivity or Identity will result in a deployment failure. If you want to use a single Subscription for all platform resources, select 'Single' on the 'Azure Core Setup' blade.",
"uri": "https://learn.microsoft.com/azure/cloud-adoption-framework/ready/landing-zone/design-area/resource-org-subscriptions#organization-and-governance-design-considerations",
"style": "Warning"
}
},
{
"name": "AmbaEsMgmtSub",
"type": "Microsoft.Common.DropDown",
"label": "Management subscription",
"defaultValue": "[parse('[]')]",
"toolTip": "",
"multiselect": false,
"selectAll": false,
"filter": true,
"filterPlaceholder": "Filter subscriptions...",
"multiLine": true,
"visible": true,
"constraints": {
"allowedValues": "[steps('basics').getSubscriptions.data]",
"required": true
}
}
],
"visible": "[and(equals(steps('management').enableLogAnalytics, 'No'), equals(steps('monitor').enableMonitorBaselines,'Yes'), not(equals(steps('core').platformSubscription, 'Single')))]"
},
{
"name": "esAmbaAgConfig",
"type": "Microsoft.Common.Section",
Expand Down Expand Up @@ -4453,7 +4487,7 @@
},
"visible": "[and(equals(steps('identity').esIdentityConnectivity, 'Yes'), not(equals(steps('connectivity').enableHub,'No')))]"
},
{
{
"name": "esIdentitySecondarySubSection",
"type": "Microsoft.Common.Section",
"label": "Secondary Region Identity",
Expand Down Expand Up @@ -4498,7 +4532,7 @@
"visible": "[and(equals(steps('identity').esIdentitySecondarySubSection.esIdentityConnectivitySecondary, 'Yes'), not(equals(steps('connectivity').enableHub,'No')))]"
}
]
}
}
]
},
{
Expand Down Expand Up @@ -9411,7 +9445,7 @@
"enableVmInsights": "[steps('management').enableVmInsights]",
"retentionInDays": "[string(steps('management').retentionInDays)]",
"enableSentinel": "[steps('management').enableSentinel]",
"managementSubscriptionId": "[steps('management').esMgmtSubSection.esMgmtSub]",
"managementSubscriptionId": "[if(and(equals(steps('management').enableLogAnalytics, 'No'), equals(steps('monitor').enableMonitorBaselines,'Yes'), not(equals(steps('core').platformSubscription, 'Single'))), steps('monitor').AmbaEsMgmtSubSection.AmbaEsMgmtSub, steps('management').esMgmtSubSection.esMgmtSub )]",
"enableAsc": "[steps('management').enableAsc]",
"emailContactAsc": "[steps('management').emailContactAsc]",
"enableAscForServers": "[steps('management').enableAscForServers]",
Expand Down

0 comments on commit 7662460

Please sign in to comment.