Prerequisites
- Terraform
- AWS credentials configured for your target account/role
- A public Route53 hosted zone (domain + hosted zone ID)
openssland AWS CLI (if using the helper secret script)
The stack deploys a public ALB with private ECS/RDS/Redis networking and creates three blob buckets:
attachments, registry, and workflow artifacts.
Instructions
Open the Terraform stack
Use the Terraform stack in this repository. If you’re following this guide from the docs site,
open the deployment folder first so you can see the expected files:
- GitHub folder: TracecatHQ/tracecat/deployments/fargate
- Setup details: deployments/fargate/README.md
Create core Tracecat secrets
Create required secrets (Keep the resulting secret ARNs for Terraform variables.
TRACECAT__DB_ENCRYPTION_KEY, TRACECAT__SERVICE_KEY, TRACECAT__SIGNING_SECRET):Configure auth secrets (optional)
Depending on your auth mode, optionally provide:
- OAuth:
oauth_client_id_arn,oauth_client_secret_arn - OIDC:
oidc_issuer,oidc_scopes,oidc_client_id_arn,oidc_client_secret_arn - SAML:
saml_idp_metadata_url_arn,saml_ca_certs_arn,saml_metadata_cert_arn - User auth tokens:
user_auth_secret_arn
Deployment behavior
- Migrations run in an init container in the API task definition.
- API container startup is gated on migration success.
- If migrations fail, API deployment does not stabilize and dependent service updates are blocked by Terraform dependency ordering.
Reference
- Variables:
deployments/fargate/variables.tf - Stack README:
deployments/fargate/README.md