Skip to content

Commit

Permalink
chore(infra): allow dev to use recaptcha
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Jan 6, 2025
1 parent 9817033 commit 5a289a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/app_service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ resource "azurerm_linux_web_app" "main" {

# Django settings
"DJANGO_ALLOWED_HOSTS" = "${local.secret_prefix}django-allowed-hosts)",
"DJANGO_STORAGE_DIR" = "${local.secret_prefix}django-storage-dir)",
"DJANGO_STORAGE_DIR" = "${local.secret_prefix}django-storage-dir)",
"DJANGO_DEBUG" = local.is_prod ? null : "${local.secret_prefix}django-debug)",
"DJANGO_LOG_LEVEL" = "${local.secret_prefix}django-log-level)",

"DJANGO_RECAPTCHA_SECRET_KEY" = local.is_dev ? null : "${local.secret_prefix}django-recaptcha-secret-key)",
"DJANGO_RECAPTCHA_SITE_KEY" = local.is_dev ? null : "${local.secret_prefix}django-recaptcha-site-key)",
"DJANGO_RECAPTCHA_SECRET_KEY" = "${local.secret_prefix}django-recaptcha-secret-key)",
"DJANGO_RECAPTCHA_SITE_KEY" = "${local.secret_prefix}django-recaptcha-site-key)",

"DJANGO_SECRET_KEY" = "${local.secret_prefix}django-secret-key)",
"DJANGO_TRUSTED_ORIGINS" = "${local.secret_prefix}django-trusted-origins)",
Expand Down

0 comments on commit 5a289a1

Please sign in to comment.