Skip to content

Commit

Permalink
chore: move MST active flag to settings
Browse files Browse the repository at this point in the history
keep default of True since this agency is already live
  • Loading branch information
thekaveman committed Sep 21, 2023
1 parent fa5a9e7 commit fa3e13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/core/migrations/0002_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def load_data(app, *args, **kwargs):
merchant_id=sample_agency["merchant_id"],
info_url=sample_agency["info_url"],
phone=sample_agency["phone"],
active=True,
active=os.environ.get("MST_AGENCY_ACTIVE", "True").lower() == "true",
private_key=client_private_key,
public_key=client_public_key,
jws_signing_alg=os.environ.get("MST_AGENCY_JWS_SIGNING_ALG", "RS256"),
Expand Down
1 change: 1 addition & 0 deletions terraform/app_service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ resource "azurerm_linux_web_app" "main" {
"SBMTD_PAYMENT_PROCESSOR_CARD_TOKENIZE_ENV" = "${local.secret_prefix}sbmtd-payment-processor-card-tokenize-env)"
"MST_AGENCY_SHORT_NAME" = "${local.secret_prefix}mst-agency-short-name)"
"MST_AGENCY_LONG_NAME" = "${local.secret_prefix}mst-agency-long-name)"
"MST_AGENCY_ACTIVE" = "${local.secret_prefix}mst-agency-active)"
"MST_AGENCY_JWS_SIGNING_ALG" = "${local.secret_prefix}mst-agency-jws-signing-alg)"
"SACRT_AGENCY_SHORT_NAME" = "${local.secret_prefix}sacrt-agency-short-name)"
"SACRT_AGENCY_LONG_NAME" = "${local.secret_prefix}sacrt-agency-long-name)"
Expand Down

0 comments on commit fa3e13a

Please sign in to comment.