Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dfe-analytical-services/explore-education-statistics
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b46e2e1b95bc4ba120c67cf99edf5e3e2c18acb7
Choose a base ref
..
head repository: dfe-analytical-services/explore-education-statistics
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3d299d8958bd9f0cf7c18745ddd744fc7661de55
Choose a head ref
Showing with 0 additions and 62 deletions.
  1. +0 −62 infrastructure/templates/public-api/main.bicep
62 changes: 0 additions & 62 deletions infrastructure/templates/public-api/main.bicep
Original file line number Diff line number Diff line change
@@ -225,68 +225,6 @@ module postgreSqlServerModule 'components/postgresqlDatabase.bicep' = if (update

var psqlManagedIdentityConnectionStringTemplate = 'Server=${psqlServerFullName}.postgres.database.azure.com;Database=[database_name];Port=5432;User Id=[managed_identity_name];Password=[access_token]'

esource privateEndpoint 'Microsoft.Network/privateEndpoints@2021-05-01' = {
name: privateEndpointName
location: location
properties: {
subnet: {
id: subnet.id
}
privateLinkServiceConnections: [
{
name: privateEndpointName
properties: {
privateLinkServiceId: sqlServer.id
groupIds: [
'sqlServer'
]
}
}
]
}
dependsOn: [
vnet
]
}

resource privateDnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
name: privateDnsZoneName
location: 'global'
properties: {}
dependsOn: [
vnet
]
}

resource privateDnsZoneLink 'Microsoft.Network/privateDnsZones/virtualNetworkLinks@2020-06-01' = {
parent: privateDnsZone
name: '${privateDnsZoneName}-link'
location: 'global'
properties: {
registrationEnabled: false
virtualNetwork: {
id: vnet.id
}
}
}

resource pvtEndpointDnsGroup 'Microsoft.Network/privateEndpoints/privateDnsZoneGroups@2021-05-01' = {
name: pvtEndpointDnsGroupName
properties: {
privateDnsZoneConfigs: [
{
name: 'config1'
properties: {
privateDnsZoneId: privateDnsZone.id
}
}
]
}
dependsOn: [
privateEndpoint
]
}

resource apiContainerAppManagedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' existing = if (deployContainerApp) {
name: apiContainerAppManagedIdentityName
}