Enable SMS in production account

This commit is contained in:
Ryan Ahearn
2023-03-21 14:28:32 -04:00
parent 41c1e6d4bb
commit 7ddf125807
3 changed files with 16 additions and 14 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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`