Skip to content

Commit

Permalink
Deploy to prod (#1741)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran authored Sep 20, 2023
2 parents bf61d90 + 7b19e88 commit e21602f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions benefits/eligibility/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def eligibility_from_api(verifier, form, agency):
jwe_encryption_alg=verifier.jwe_encryption_alg,
jwe_cek_enc=verifier.jwe_cek_enc,
server_public_key=verifier.public_key_data,
timeout=settings.REQUESTS_TIMEOUT,
)

response = client.verify(sub, name, agency.type_names_to_verify(verifier))
Expand Down
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 e21602f

Please sign in to comment.