mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-13 18:48:09 +00:00
Deployment fails in westus3 due to "Region doesn’t support Classic resource mode for Application Insights resources." #1273 (#1291)
Co-authored-by: stas <statis@microsoft.com>
This commit is contained in:
@ -388,8 +388,17 @@
|
|||||||
"OWNER": "[parameters('owner')]"
|
"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')]",
|
"name": "[parameters('name')]",
|
||||||
"type": "microsoft.insights/components",
|
"type": "microsoft.insights/components",
|
||||||
"location": "[resourceGroup().location]",
|
"location": "[resourceGroup().location]",
|
||||||
@ -397,11 +406,15 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"ApplicationId": "[parameters('name')]",
|
"ApplicationId": "[parameters('name')]",
|
||||||
"Application_Type": "other",
|
"Application_Type": "other",
|
||||||
"RetentionInDays": "[variables('log_retention')]"
|
"RetentionInDays": "[variables('log_retention')]",
|
||||||
|
"WorkspaceResourceId" : "[resourceId('Microsoft.OperationalInsights/workspaces', parameters('name'))]"
|
||||||
},
|
},
|
||||||
"tags": {
|
"tags": {
|
||||||
"OWNER": "[parameters('owner')]"
|
"OWNER": "[parameters('owner')]"
|
||||||
},
|
},
|
||||||
|
"dependsOn" : [
|
||||||
|
"[resourceId('Microsoft.OperationalInsights/workspaces', parameters('name'))]"
|
||||||
|
],
|
||||||
"resources": [
|
"resources": [
|
||||||
{
|
{
|
||||||
"name": "df20765c-ed5b-46f9-a47b-20f4aaf7936d",
|
"name": "df20765c-ed5b-46f9-a47b-20f4aaf7936d",
|
||||||
|
Reference in New Issue
Block a user