Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ resource copyVhdDeploymentScript 'Microsoft.Resources/deploymentScripts@2020-10-
}

@description('The URI of the created VHD.')
output vhdUri string = 'https://${storageAccount.name}.blob.core.windows.net/vhds/${imageTemplateNamePrefix}.vhd'
output vhdUri string = 'https://${storageAccount.name}.blob.${environment().suffixes.storage}/vhds/${imageTemplateNamePrefix}.vhd'

@description('The resource ID of the created Storage Account.')
output storageAccountResourceId string = storageAccount.id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ resource keyPermissions 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
}

@description('The URI of the created VHD.')
output vhdUri string = 'https://${storageAccount.name}.blob.core.windows.net/vhds/${imageTemplateNamePrefix}.vhd'
output vhdUri string = 'https://${storageAccount.name}.blob.${environment().suffixes.storage}/vhds/${imageTemplateNamePrefix}.vhd'

@description('The principal ID of the created Managed Identity.')
output managedIdentityPrincipalId string = managedIdentity.properties.principalId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-01-01' = {
}

resource privateDNSZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
name: 'privatelink.azurecr.io'
name: 'privatelink${environment().suffixes.acrLoginServer}'
location: 'global'

resource virtualNetworkLinks 'virtualNetworkLinks@2020-06-01' = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-01-01' = {
}

resource privateDNSZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
name: 'privatelink.azurecr.io'
name: 'privatelink${environment().suffixes.acrLoginServer}'
location: 'global'

resource virtualNetworkLinks 'virtualNetworkLinks@2020-06-01' = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module testDeployment '../../deploy.bicep' = {
{
name: 'frontEnd'
properties: {
hostName: '${resourceName}.azurefd.net'
hostName: '${resourceName}.${environment().suffixes.azureFrontDoorEndpointSuffix}'
sessionAffinityEnabledState: 'Disabled'
sessionAffinityTtlSeconds: 60
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module testDeployment '../../deploy.bicep' = {
{
name: 'frontEnd'
properties: {
hostName: '${resourceName}.azurefd.net'
hostName: '${resourceName}.${environment().suffixes.azureFrontDoorEndpointSuffix}'
sessionAffinityEnabledState: 'Disabled'
sessionAffinityTtlSeconds: 60
}
Expand Down