Skip to content

Commit

Permalink
added missing privateDnsZoneId for storage in private link to fix age…
Browse files Browse the repository at this point in the history
…nt reporting (#470)
  • Loading branch information
shawngib committed Oct 21, 2021
1 parent bfc675e commit e4bccd4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 10 additions & 3 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.1008.15138",
"templateHash": "13476760732826675507"
"templateHash": "1945358306611262395"
}
},
"parameters": {
Expand Down Expand Up @@ -1132,7 +1132,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.1008.15138",
"templateHash": "12334361858927907885"
"templateHash": "1009610201033923691"
}
},
"parameters": {
Expand Down Expand Up @@ -2189,7 +2189,7 @@
"_generator": {
"name": "bicep",
"version": "0.4.1008.15138",
"templateHash": "13842549561263775660"
"templateHash": "18251381868621303940"
}
},
"parameters": {
Expand Down Expand Up @@ -2332,11 +2332,18 @@
"properties": {
"privateDnsZoneId": "[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_agentsvc_azure_automation_name'))]"
}
},
{
"name": "storage",
"properties": {
"privateDnsZoneId": "[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_blob_core_cloudapi_net_name'))]"
}
}
]
},
"dependsOn": [
"[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_agentsvc_azure_automation_name'))]",
"[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_blob_core_cloudapi_net_name'))]",
"[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_monitor_azure_name'))]",
"[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_ods_opinsights_azure_name'))]",
"[resourceId('Microsoft.Network/privateDnsZones', variables('privateDnsZones_privatelink_oms_opinsights_azure_name'))]",
Expand Down
6 changes: 6 additions & 0 deletions src/bicep/modules/privateLink.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ resource dnsZonePrivateLinkEndpoint 'Microsoft.Network/privateEndpoints/privateD
privateDnsZoneId: privatelink_agentsvc_azure_automation_net .id
}
}
{
name: 'storage'
properties: {
privateDnsZoneId: privatelink_blob_core_cloudapi_net.id
}
}
]
}
dependsOn: [
Expand Down

0 comments on commit e4bccd4

Please sign in to comment.