mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-13 02:28:10 +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')]"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"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]",
|
||||
@ -397,11 +406,15 @@
|
||||
"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",
|
||||
|
Reference in New Issue
Block a user