Where the modules live
In the platform repository underdeployment/terraform/, one directory per
cloud:
aws/tenants/ additionally holds per-tenant IAM role mappings.
Using a module
Clone the repo and run Terraform against the directory for your cloud:// in the source URL — it is what selects a subdirectory of a repo.
domain and trust_domain are different values and must stay different.
domain is where the dashboards and APIs are served. trust_domain is the
SPIFFE trust domain that appears inside every SVID and every evidence row, and
changing it invalidates existing identities. The GCP module’s own variable
description says so: “SPIFFE trust domain (hexr.dev, NOT hexr.cloud)”.Defaults are Hexr’s own, not yours
Every variable in the GCP module ships with a default pointing at Hexr’s production project:terraform apply will attempt to
build against Hexr’s project names. db_tier in particular defaults to
db-f1-micro, which is a development instance and not a size to run a
production evidence store on.