Skip to content

Commit

Permalink
updated dns name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 19, 2022
1 parent 2eefe87 commit 346883c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-01-01' = {
}

resource privateDNSZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
name: 'postgres.database.azure.com'
name: '${split(virtualNetworkName, '-')[1]}.postgres.database.azure.com'
location: 'global'

resource virtualNetworkLinks 'virtualNetworkLinks@2020-06-01' = {
Expand Down

0 comments on commit 346883c

Please # to comment.