Skip to content

Commit

Permalink
chore: add requests timeout settings to app settings
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Sep 20, 2023
1 parent 0c8673d commit 1a711b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/app_service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ resource "azurerm_linux_web_app" "main" {

"ANALYTICS_KEY" = local.is_dev ? null : "${local.secret_prefix}analytics-key)",

# Requests
"REQUESTS_CONNECT_TIMEOUT" = "${local.secret_prefix}requests-connect-timeout)",
"REQUESTS_READ_TIMEOUT" = "${local.secret_prefix}requests-read-timeout)",

# Django settings
"DJANGO_ADMIN" = (local.is_prod || local.is_test) ? null : "${local.secret_prefix}django-admin)",
"DJANGO_ALLOWED_HOSTS" = "${local.secret_prefix}django-allowed-hosts)",
Expand Down

0 comments on commit 1a711b9

Please sign in to comment.