Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lambdas/TwilioErrorReporter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const productionAccountMap = {
UKMH_PRODUCTION: 'AC10edaafc5e4a4b6017d758b2f011142b',
USCH_PRODUCTION: 'AC9eeaba1a6d959e0cc1befda3884a2bc1',
USCR_PRODUCTION: 'AC34800d0cf642c95ce1f17785d239333c',
USNM_PRODUTION: 'AC873fed73e11edc3da4beed6c919ad180',
USVC_PRODUCTION: 'AC3240f813a27a4c52b12e5c5c23960b25',
ZA_PRODUCTION: 'AC988e78b713be4a04246b39835de37ad4',
ZM_PRODUCTION: 'ACf0b04d307d8f20074dc09cdb3b4f0a83',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"attributes": {
"voicemail_schedule_retry_later_minutes": 1440,
"system_down": false,
"form_definitions_base_url": "https://assets-production.tl.techmatters.org/form-definitions/",
"resources_base_url": "",
"postStudioFlows": {

}
}
}
62 changes: 62 additions & 0 deletions twilio-iac/helplines/usnm/production.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/**
* This file overrides the config output by `common.hcl` that are specific to the staging environment.
**/

locals {
common_config_hcl = read_terragrunt_config("common.hcl")
common_config = local.common_config_hcl.locals.config
config = merge(local.common_config, local.local_config)

local_config = {
operating_hours_enforced_override = true
custom_task_routing_filter_expression = ""
flow_vars = {

}

//Serverless -- to allow enabling the operating hours check on this staging account.
ui_editable = true

studio_flows = {
post_call_survey : {
templatefile = "/app/twilio-iac/helplines/usnm/templates/studio-flows/post-call-survey.tftpl"
flow_vars = {
conversation_service_sid = ""
outbound_phone_number = ""
}
},
post_call_survey_es : {
templatefile = "/app/twilio-iac/helplines/usnm/templates/studio-flows/post-call-survey-es.tftpl"
flow_vars = {
conversation_service_sid = ""
outbound_phone_number = ""
}
},
post_call_survey_en : {
templatefile = "/app/twilio-iac/helplines/usnm/templates/studio-flows/post-call-survey-en.tftpl"
flow_vars = {
conversation_service_sid = ""
outbound_phone_number = ""
}
}
}

#Channels
channels = {
}

system_down_templatefile = "/app/twilio-iac/helplines/templates/studio-flows/system-down.tftpl"
enable_system_down = true
system_down_flow_vars = {
is_system_down = "false"
message = "We're sorry, NAMI HelpLine is experiencing technical difficulties and may not be able to respond right now. Your message is important to us and we hope to reconnect soon. If you or your loved one are experiencing a mental health crisis and need urgent support, you can call, chat or text 988 Suicide & Crisis Lifeline. If you are in immediate life threatening danger, call 911. Info and resources are online at https://www.nami.org/nami-helpline/ or you can email helpline@nami.org and we'll respond in 1-2 business days.Thank you for your patience."
voice_message = "We're sorry, NAMI HelpLine is currently experiencing technical difficulties and may not be able to respond right now. Your message is important to us and we hope to reconnect soon. If you or your loved one are experiencing a mental health crisis and need urgent support, please hang up and can call, chat or text 988 Suicide & Crisis Lifeline. If you are in immediate life threatening danger, please hang up and call 911. Info and resources are online at https://www.nami.org/nami-helpline/ or you can email helpline@nami.org and we'll respond in 1-2 business days.Thank you for your patience."
send_studio_message_function_sid = "ZHbbf0fb1ec68a5aacc31e8c50415b97bb"
call_action = "message"
forward_number = "+123"
recording_url = "https://<place_holder>.mp3"
}

get_profile_flags_for_identifier_base_url = "https://hrm-staging-us.tl.techmatters.org/lambda/twilio/account-scoped"
}
}
1 change: 1 addition & 0 deletions twilio-iac/makefiles/00-setup.make
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ else
endif

AWS_DEFAULT_REGION ?= us-east-1
AWS_REGION ?= us-east-1
MY_CONTAINER_PATH = $(MOUNT_PATH)$(MY_RELATIVE_PATH)
PWD_ARG = -v $(GIT_ROOT):$(MOUNT_PATH) -w $(MY_CONTAINER_PATH)
ENV_ARG = -e MY_ENV=$(MY_ENV) -e HL=$(HL) -e HL_ENV=$(HL_ENV) -e TF_LOG
Expand Down
Loading