Skip to content

Commit

Permalink
Gangams/msi onboarding arm template updates for AKS (#721)
Browse files Browse the repository at this point in the history
* msi arm template updates

* handle space in location
  • Loading branch information
ganga1980 authored Mar 16, 2022
1 parent 8019731 commit b58ff42
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,18 @@
"dcrResourceTagValues": {
"type": "object",
"metadata": {
"description": "Existing or new tags on DCR Cluster Resource"
"description": "Existing or new tags on DCR Resource"
}
}
},
"variables": {
"clusterSubscriptionId": "[split(parameters('aksResourceId'),'/')[2]]",
"clusterResourceGroup": "[split(parameters('aksResourceId'),'/')[4]]",
"clusterName": "[split(parameters('aksResourceId'),'/')[8]]",
"clusterLocation": "[replace(parameters('aksResourceLocation'),' ', '')]",
"workspaceSubscriptionId": "[split(parameters('workspaceResourceId'),'/')[2]]",
"workspaceResourceGroup": "[split(parameters('workspaceResourceId'),'/')[4]]",
"dcrName": "[Concat('MSCI', '-', split(parameters('workspaceResourceId'),'/')[8])]",
"dcrName": "[Concat('MSCI', '-', variables('clusterName'), '-', variables('clusterLocation'))]",
"associationName": "ContainerInsightsExtension",
"dataCollectionRuleId": "[resourceId(variables('workspaceSubscriptionId'), variables('workspaceResourceGroup'), 'Microsoft.Insights/dataCollectionRules', variables('dcrName'))]"
},
Expand Down

0 comments on commit b58ff42

Please sign in to comment.