Skip to content

Commit 4139876

Browse files
authored
Update quickstart-create-server-bicep.md
If a user copies the template exactly and pastes in their VNET ExtID and Subnet Name, during deploy without the proposed change will fire off a template violation
1 parent 00c77f5 commit 4139876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/postgresql/flexible-server/quickstart-create-server-bicep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource serverName_resource 'Microsoft.DBforPostgreSQL/flexibleServers@2021-06-
5858
administratorLogin: administratorLogin
5959
administratorLoginPassword: administratorLoginPassword
6060
network: {
61-
delegatedSubnetResourceId: (empty(virtualNetworkExternalId) ? json('null') : json('${virtualNetworkExternalId}/subnets/${subnetName}'))
61+
delegatedSubnetResourceId: (empty(virtualNetworkExternalId) ? json('null') : json('\'${virtualNetworkExternalId}/subnets/${subnetName}\''))
6262
privateDnsZoneArmResourceId: (empty(virtualNetworkExternalId) ? json('null') : privateDnsZoneArmResourceId)
6363
}
6464
highAvailability: {

0 commit comments

Comments
 (0)