Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Deployment fails in westus3 due to "Region doesn’t support Classic re…
Browse files Browse the repository at this point in the history
…source mode for Application Insights resources." #1273
  • Loading branch information
stas committed Sep 27, 2021
1 parent 22b2d62 commit e2c2f87
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/deployment/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,20 +388,33 @@
"OWNER": "[parameters('owner')]"
}
},

{
"apiVersion": "2015-05-01",
"type": "Microsoft.OperationalInsights/workspaces",
"apiVersion": "2020-08-01",
"name": "[parameters('name')]",
"location": "[resourceGroup().location]",
"properties": {}
},

{
"apiVersion": "2020-02-02-preview",
"name": "[parameters('name')]",
"type": "microsoft.insights/components",
"location": "[resourceGroup().location]",
"kind": "",
"properties": {
"ApplicationId": "[parameters('name')]",
"Application_Type": "other",
"RetentionInDays": "[variables('log_retention')]"
"RetentionInDays": "[variables('log_retention')]",
"WorkspaceResourceId" : "[resourceId('Microsoft.OperationalInsights/workspaces', parameters('name'))]"
},
"tags": {
"OWNER": "[parameters('owner')]"
},
"dependsOn" : [
"[resourceId('Microsoft.OperationalInsights/workspaces', parameters('name'))]"
],
"resources": [
{
"name": "df20765c-ed5b-46f9-a47b-20f4aaf7936d",
Expand Down

0 comments on commit e2c2f87

Please sign in to comment.