Skip to content

Requirements

An operator of gomoe.dev works from a laptop with a checkout of the repo. Every tool below runs on that laptop. The server host installs its own packages at first boot, from ops/terraform/agents/user-data.sh.

Tool What uses it
Terraform 1.10 or later ops/terraform/agents/. versions.tf sets required_version = ">= 1.10.0" and the AWS provider at ~> 6.0. A plan also runs Node, since watchtower-coverage.tf bundles a Lambda at plan time, so run npm ci first.
The AWS CLI ops/aws-deploy/ssm.ts runs aws for every SSM command, S3 copy and parameter read, always in us-east-1.
Node 24 or later Runs ops/aws-deploy/*.ts as TypeScript files. package.json sets engines to >=24.
git deploy.ts bundles the checkout’s HEAD with git bundle.
A checkout of the repo deploy.ts deploys the checkout’s HEAD, and admin.ts reads the stack’s outputs from Terraform in it.
  • An AWS profile named gomoe, an IAM Identity Center profile for goMoE’s account, made with aws configure sso. When its session runs out, aws sso login --profile gomoe starts a new one. aws.gomoe.dev opens the AWS access portal.
  • TF_DATA_DIR=~/.agents-app/terraform/gomoe, Terraform’s working folder for this stack, which sits outside the checkout. ops/aws-deploy/ssm.ts reads the stack’s outputs through it, and says to set it when they can’t be read.

ops/terraform/agents/gomoe.tfvars holds goMoE’s values, and Terraform’s defaults in variables.tf cover the rest.

Value In gomoe.tfvars
app_host gomoe.dev
own_zone true. gomoe.dev is a Route 53 zone of the stack’s own, and the registrar points at it.
mail_from no-reply@gomoe.dev, the address SES sends the app’s mail from.
redirect_hosts agents.intrepidrhino.dev, the old address, which answers with a 301 to gomoe.dev.
link_hosts aws.gomoe.dev, which sends a browser to the AWS access portal.
follow_branch main, the branch follow.ts deploys once this setting is applied. Deploy a change says where that stands.
preview_domain preview.gomoe.app, for attempts’ live previews.
watchtower_version The Watchtower release the collector at watch.gomoe.dev runs.

Each one turns on a feature with its own page.