Skip to content

Commit ba69870

Browse files
committed
Feedback from Matt
1 parent 4b3eb2a commit ba69870

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

app/backend/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ def create_app():
821821

822822
# Log levels should be one of https://docs.python.org/3/library/logging.html#logging-levels
823823
# Set root level to WARNING to avoid seeing overly verbose logs from SDKS
824-
logging.basicConfig(level=logging.DEBUG)
824+
logging.basicConfig(level=logging.WARNING)
825825
# Set our own logger levels to INFO by default
826826
app_level = os.getenv("APP_LOG_LEVEL", "INFO")
827827
app.logger.setLevel(os.getenv("APP_LOG_LEVEL", app_level))

docs/deploy_private.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Deploying with public access disabled adds additional cost to your deployment. P
5151
```shell
5252
azd env set AZURE_USE_PRIVATE_ENDPOINT true
5353
azd env set AZURE_USE_VPN_GATEWAY true
54-
azd env set AZURE_PUBLIC_NETWORK_ACCESS Enabled
54+
azd env set AZURE_PUBLIC_NETWORK_ACCESS Disabled
5555
azd up
5656
```
5757

infra/network-isolation.bicep

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,8 @@ module vnet 'br/public:avm/res/network/virtual-network:0.6.1' = {
234234
{
235235
name: 'app-int-subnet'
236236
addressPrefix: '10.0.0.0/21'
237-
//privateEndpointNetworkPolicies: 'Enabled' // TODO: Needed?
238-
//privateLinkServiceNetworkPolicies: 'Enabled' // TODO: Needed?
239237
networkSecurityGroupResourceId: containerAppsNSG.outputs.resourceId
240-
delegation: 'Microsoft.App/environments' // TODO: Needed?
238+
delegation: 'Microsoft.App/environments'
241239
}
242240
]
243241
}

todo.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
* Better error when youre trying to run prepdocs and not connected to VPN.
2+
* Hit up /ping and check that it returns 200 OK. Anything else = no bueno.
3+
* If they have AZURE_USE_PRIVATE_ENDPOINT and it gets non-200, reminds them to set up VPN.
4+
* Bring back App Service's subnet
5+
* Move vnet-y things into network-isolation.bicep

0 commit comments

Comments
 (0)