2026-09-18 18:38:45 +00:00
|
|
|
# Workspace variable reference for meal-order-manager HCP workspaces.
|
2026-08-07 19:19:51 -04:00
|
|
|
# Set these as workspace variables; this file is a reference, not an input.
|
|
|
|
|
|
2026-09-18 18:38:45 +00:00
|
|
|
# HCP workspace stage. Selects account 011934824531 (prod) or 710827005802 (dev).
|
|
|
|
|
# Required. meal-order-manager-prod must set "prod" in the same cut as this
|
|
|
|
|
# variable is added so a prod plan does not target seahaven-dev.
|
|
|
|
|
environment = "prod"
|
|
|
|
|
|
2026-08-07 19:19:51 -04:00
|
|
|
# Region every resource is created in.
|
|
|
|
|
aws_region = "us-east-1"
|
|
|
|
|
|
|
|
|
|
# Custom domain for the order form. An ISSUED ACM certificate for this domain
|
2026-09-18 18:38:45 +00:00
|
|
|
# must already exist in us-east-1 (see acm.tf). Keep false in dev.
|
|
|
|
|
domain_name = "orders.seahaven.com"
|
|
|
|
|
attach_custom_domain = false
|
2026-08-07 19:19:51 -04:00
|
|
|
|
|
|
|
|
# ARN of the out-of-band Secrets Manager secret holding the Slack bot token.
|
|
|
|
|
# Only the ARN is used; the value never enters Terraform state.
|
|
|
|
|
slack_bot_secret_arn = "arn:aws:secretsmanager:us-east-1:011934824531:secret:meal-order-manager/slack-bot-token-XXXXXX"
|
|
|
|
|
|
|
|
|
|
# Slack channel that receives meal order notifications. Written to
|
2026-09-18 18:38:45 +00:00
|
|
|
# /meal-order-manager/slack-channel-id. Use a sandbox channel in dev.
|
2026-08-07 19:19:51 -04:00
|
|
|
slack_channel_id = "C00000000000"
|
2026-09-15 22:12:01 +00:00
|
|
|
|
2026-09-18 15:31:17 +00:00
|
|
|
# Portal Cognito pools and public app clients accepted by the meals API.
|
|
|
|
|
# The primary pair is required. extra_trust lists additional pools so
|
2026-09-18 18:38:45 +00:00
|
|
|
# portal-dev and portal-prod tokens can both call this meals stack.
|
2026-09-15 22:12:01 +00:00
|
|
|
portal_cognito_issuer = "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLE"
|
|
|
|
|
portal_cognito_audience = "examplepublicappclientid"
|
2026-09-18 15:31:17 +00:00
|
|
|
portal_cognito_extra_trust = [
|
|
|
|
|
{
|
|
|
|
|
issuer = "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLEPROD"
|
|
|
|
|
audience = "exampleprodappclientid"
|
|
|
|
|
},
|
|
|
|
|
]
|
2026-09-18 18:38:45 +00:00
|
|
|
|
|
|
|
|
# paychex-checkcomponents SQS. Defaults in variables.tf are the prod queue.
|
|
|
|
|
# meal-order-manager-dev must set both to empty so aggregate-orders cannot
|
|
|
|
|
# SendMessage to prod Paychex.
|
|
|
|
|
# checkcomponents_queue_url = ""
|
|
|
|
|
# checkcomponents_queue_arn = ""
|