From 1a711b9cef5ffb7ab51729031db5888ce0478eb8 Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Wed, 20 Sep 2023 21:35:57 +0000 Subject: [PATCH] chore: add requests timeout settings to app settings --- terraform/app_service.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/app_service.tf b/terraform/app_service.tf index 09ffec195..c1d775640 100644 --- a/terraform/app_service.tf +++ b/terraform/app_service.tf @@ -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)",