Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 72d759a

Browse files
committed
apply az bicep format --file to all bicep files
1 parent 8f2f0ea commit 72d759a

File tree

9 files changed

+6
-10
lines changed

9 files changed

+6
-10
lines changed

infra/core/identity/identity.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ param location string = resourceGroup().location
1010
@description('federated name: FederatedIdentityCredentialProperties. See https://learn.microsoft.com/en-us/azure/templates/microsoft.managedidentity/userassignedidentities/federatedidentitycredentials?pivots=deployment-language-bicep#federatedidentitycredentialproperties')
1111
param federatedCredentials object = {}
1212

13-
1413
resource identity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
1514
name: name
1615
location: location

infra/core/log-analytics/log.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ param location string = resourceGroup().location
1010
@description('The public network access for ingestion.')
1111
param publicNetworkAccessForIngestion string = 'Disabled'
1212

13-
1413
resource logAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces@2022-10-01' = {
1514
name: name
1615
location: location

infra/core/monitor/private-link-scope.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ param privateLinkScopedResources array = []
66
param queryAccessMode string = 'Open'
77
param ingestionAccessMode string = 'PrivateOnly'
88

9-
109
resource privateLinkScope 'microsoft.insights/privateLinkScopes@2021-07-01-preview' = {
1110
name: privateLinkScopeName
1211
location: 'global'

infra/core/vnet/private-dns-vnet-link.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ param vnetId string
55
param privateDnsZoneName string
66
var vnet_id_hash = uniqueString(vnetId)
77

8-
98
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
109
name: privateDnsZoneName
1110
location: 'global'

infra/core/vnet/private-dns-zone-a-record.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ param ttl int = 900
1313
@description('The IP address')
1414
param ipv4Address string
1515

16-
1716
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' existing = {
1817
name: dnsZoneName
1918
}

infra/core/vnet/private-dns-zone.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ param name string
77
@description('The name of the virtual networks the DNS zone should be associated with.')
88
param vnetNames string[]
99

10-
1110
resource dnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
1211
name: name
1312
location: 'global'

infra/core/vnet/private-endpoint.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ param privateEndpointName string
1414
param groupId string
1515
param location string = resourceGroup().location
1616

17-
1817
resource privateEndpoint 'Microsoft.Network/privateEndpoints@2021-05-01' = {
1918
name: privateEndpointName
2019
location: location

infra/core/vnet/privatelink-private-dns-zones.bicep

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ var storagePrivateDnsZoneNames = [blobStoragePrivateDnsZoneName]
1111
var privateDnsZoneData = loadJsonContent('private-dns-zone-groups.json')
1212
var cloudName = toLower(environment().name)
1313
var azureMonitorPrivateDnsZones = privateDnsZoneData[cloudName].azureMonitor
14-
var privateDnsZones = union(azureMonitorPrivateDnsZones, storagePrivateDnsZoneNames, [cosmosDbPrivateDnsZoneName], [aiSearchPrivateDnsZoneName])
15-
14+
var privateDnsZones = union(
15+
azureMonitorPrivateDnsZones,
16+
storagePrivateDnsZoneNames,
17+
[cosmosDbPrivateDnsZoneName],
18+
[aiSearchPrivateDnsZoneName]
19+
)
1620

1721
resource privateDnsZoneResources 'Microsoft.Network/privateDnsZones@2020-06-01' = [
1822
for name in privateDnsZones: {

infra/core/vnet/vnet-dns-link.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
param privateDnsZoneName string
55
param vnetIds array
66

7-
87
resource privateDnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' existing = {
98
name: privateDnsZoneName
109
}

0 commit comments

Comments
 (0)