Skip to content

Commit 4ee9b3b

Browse files
authored
Update tutorial-django-app-service-postgres.md
1 parent b49a0e0 commit 4ee9b3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/postgresql/flexible-server/tutorial-django-app-service-postgres.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,12 @@ Create an App Service app (the host process) with the [az webapp up](/cli/azure/
107107
108108
az webapp up --resource-group myresourcegroup --location westus2 --plan DjangoPostgres-tutorial-plan --sku S1 --name <app-name>
109109
110-
# Enable VNET integration for web app.
110+
# Create subnet for web app
111+
az network vnet subnet create --name <webapp-subnet-name> --resource-group myresourcegroup --vnet-name <vnet-name>
111112
112113
# Replace <vnet-name> and <subnet-name> with the virtual network and subnet name that the Azure Database for PostgreSQL flexible server instance is using.
113114
114-
az webapp vnet-integration add -g myresourcegroup -n mywebapp --vnet <vnet-name> --subnet <subnet-name>
115+
az webapp vnet-integration add -g myresourcegroup -n mywebapp --vnet <vnet-name> --subnet <weabpp-subnet-name>
115116
116117
# Configure database information as environment variables
117118

0 commit comments

Comments
 (0)