Skip to content

Commit

Permalink
use the common diagnosticSettings provider version in centralLogging.…
Browse files Browse the repository at this point in the history
…bicep (#453)
  • Loading branch information
glennmusa committed Oct 12, 2021
1 parent 077d545 commit f0e588d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions src/bicep/mlz.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.613.9944",
"templateHash": "11625881222170284328"
"templateHash": "12997432989008627632"
}
},
"parameters": {
Expand Down Expand Up @@ -5983,7 +5983,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.613.9944",
"templateHash": "10501865331857601559"
"templateHash": "8810160807544413438"
}
},
"parameters": {
Expand All @@ -5998,7 +5998,7 @@
"resources": [
{
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"apiVersion": "2017-05-01-preview",
"name": "[parameters('diagnosticSettingName')]",
"properties": {
"workspaceId": "[parameters('logAnalyticsWorkspaceId')]",
Expand Down Expand Up @@ -6072,7 +6072,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.613.9944",
"templateHash": "10501865331857601559"
"templateHash": "8810160807544413438"
}
},
"parameters": {
Expand All @@ -6087,7 +6087,7 @@
"resources": [
{
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"apiVersion": "2017-05-01-preview",
"name": "[parameters('diagnosticSettingName')]",
"properties": {
"workspaceId": "[parameters('logAnalyticsWorkspaceId')]",
Expand Down Expand Up @@ -6161,7 +6161,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.613.9944",
"templateHash": "10501865331857601559"
"templateHash": "8810160807544413438"
}
},
"parameters": {
Expand All @@ -6176,7 +6176,7 @@
"resources": [
{
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"apiVersion": "2017-05-01-preview",
"name": "[parameters('diagnosticSettingName')]",
"properties": {
"workspaceId": "[parameters('logAnalyticsWorkspaceId')]",
Expand Down Expand Up @@ -6250,7 +6250,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.613.9944",
"templateHash": "10501865331857601559"
"templateHash": "8810160807544413438"
}
},
"parameters": {
Expand All @@ -6265,7 +6265,7 @@
"resources": [
{
"type": "Microsoft.Insights/diagnosticSettings",
"apiVersion": "2021-05-01-preview",
"apiVersion": "2017-05-01-preview",
"name": "[parameters('diagnosticSettingName')]",
"properties": {
"workspaceId": "[parameters('logAnalyticsWorkspaceId')]",
Expand Down
2 changes: 1 addition & 1 deletion src/bicep/modules/centralLogging.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ param diagnosticSettingName string
param logAnalyticsWorkspaceId string

//// Central activity logging to LAWS
resource centralLoggingDiagnosticSettings 'Microsoft.Insights/diagnosticSettings@2021-05-01-preview' = {
resource centralLoggingDiagnosticSettings 'Microsoft.Insights/diagnosticSettings@2017-05-01-preview' = {
name: diagnosticSettingName
properties: {
workspaceId: logAnalyticsWorkspaceId
Expand Down

0 comments on commit f0e588d

Please sign in to comment.