From 7ddf1258073e8976f1d0f61a8583669345ac9a99 Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Tue, 21 Mar 2023 14:28:32 -0400 Subject: [PATCH] Enable SMS in production account --- deploy-config/production.yml | 2 +- docs/infra-overview.md | 6 ++++++ terraform/production/main.tf | 22 +++++++++------------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/deploy-config/production.yml b/deploy-config/production.yml index 911b4b97c..b2f8ea75e 100644 --- a/deploy-config/production.yml +++ b/deploy-config/production.yml @@ -6,4 +6,4 @@ worker_memory: 512M scheduler_memory: 256M public_api_route: notify-api.app.cloud.gov admin_base_url: https://notify.app.cloud.gov -default_toll_free_number: "" +default_toll_free_number: "+18447952263" diff --git a/docs/infra-overview.md b/docs/infra-overview.md index 96727784b..7f366af79 100644 --- a/docs/infra-overview.md +++ b/docs/infra-overview.md @@ -116,3 +116,9 @@ TODO: create env vars for these origin and destination email addresses for the r 1. Select the number you just created and then `Register existing toll-free number` 1. Complete and submit the form. Approval usually takes about 2 weeks. 1. Set this phone number as the `AWS_US_TOLL_FREE_NUMBER` in the environment you are creating + +#### Current Production Phone Numbers + +* +18447952263 - in use as default number. Notify's OTP messages and trial service messages are sent from this number +* +18447891134 - to be used by Pilot Partner 1 +* +18888402596 - to be used by Pilot Partner 2 diff --git a/terraform/production/main.tf b/terraform/production/main.tf index 7008d93b8..8b20c3dfd 100644 --- a/terraform/production/main.tf +++ b/terraform/production/main.tf @@ -67,20 +67,16 @@ module "ses_email" { email_receipt_error = "notify-support@gsa.gov" } -######################################################################### -# Wait for SNS is out of sandbox and spending limit is increased -# before activating this module -######################################################################### -# module "sns_sms" { -# source = "../shared/sns" +module "sns_sms" { + source = "../shared/sns" -# cf_org_name = local.cf_org_name -# cf_space_name = local.cf_space_name -# name = "${local.app_name}-sns-${local.env}" -# recursive_delete = local.recursive_delete -# aws_region = "us-gov-west-1" -# monthly_spend_limit = 1000 -# } + cf_org_name = local.cf_org_name + cf_space_name = local.cf_space_name + name = "${local.app_name}-sns-${local.env}" + recursive_delete = local.recursive_delete + aws_region = "us-gov-west-1" + monthly_spend_limit = 1000 +} ########################################################################### # The following lines need to be commented out for the initial `terraform apply`