# Workspace variable reference for meal-order-manager HCP workspaces. # Set these as workspace variables; this file is a reference, not an input. # 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" # Region every resource is created in. aws_region = "us-east-1" # Custom domain for the order form. An ISSUED ACM certificate for this domain # must already exist in us-east-1 (see acm.tf). Keep false in dev. domain_name = "orders.seahaven.com" attach_custom_domain = false # 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 # /meal-order-manager/slack-channel-id. Use a sandbox channel in dev. slack_channel_id = "C00000000000" # Portal Cognito pools and public app clients accepted by the meals API. # The primary pair is required. extra_trust lists additional pools so # portal-dev and portal-prod tokens can both call this meals stack. portal_cognito_issuer = "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLE" portal_cognito_audience = "examplepublicappclientid" portal_cognito_extra_trust = [ { issuer = "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_EXAMPLEPROD" audience = "exampleprodappclientid" }, ] # 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 = ""