Skip to main content

CLI & make targets

Tessera's operational entry points are make targets (the non-Terraform steps) plus Terraform run directly from infra/. This is the command reference; see Installation for the end-to-end sequence.

make targets​

TargetWhat it does
make bootstrapOne-time: create the Terraform state bucket and write backend.hcl (optional BUCKET=name).
make packageBuild the Lambda packages + shared layer.
make deploy-agentDeploy the AgentCore runtime; saves the ARN to agent.auto.tfvars.
make deploy-frontendBuild and publish the frontend (reads Terraform outputs).
make seedPublish content + compile ecosystems (fast). Does not ingest the catalog.
make ingestPopulate the catalog from domain sources (long-running). DOMAINS="a b" to scope.
make create-admin EMAIL=you@example.comBootstrap the first admin user.
make set-websearch-key ENV=devStore/rotate the web-search API key in Secrets Manager.
make verify-websearch ENV=devAssert the web-search credential provider exists.
make testRun unit + integration tests (the CI gate).

Terraform (run directly from infra/)​

Terraform is intentionally not wrapped by make, so its output and errors are visible.

source scripts/load-env.sh # exports AWS creds + $TF_BACKEND / $TF_VARS
cd infra
terraform init $TF_BACKEND
terraform plan $TF_VARS
terraform apply $TF_VARS
cd ..

Print the frontend URL:

terraform -chdir=infra output -raw frontend_url

Evaluation endpoints​

The evaluation harness rides the existing /api/ecosystems/... proxy (no new API resources). See Evaluate an ecosystem.

MethodPathPurpose
GET/api/ecosystems/{id}?artifact=scorecardLatest {scorecard, gate}.
GET/api/ecosystems/{id}?artifact=golden_setThe curated golden set.
POST/api/ecosystems/{id}/runs/_eval/launchStart the Eval State Machine (optional {replicates, max_cases}).
GET/api/ecosystems/{id}/runs/_eval/statusEval-run status + scorecard presence.
POST/api/ecosystems/suggest {mode: "eval_proposal" | "eval_approve"}Builder-assisted eval authoring.

Environment variables​

VariablePurpose
AWS_PROFILEThe AWS profile to deploy with.
AWS_REGIONDeploy region (kept in sync with the tfvars region).
ENVIRONMENTdev / staging / prod.
POLL_TIMEOUT_MINRaise the make ingest poll cap for large domains (default 60).
DOMAINSScope make ingest to specific domains.

.env (copied from .env.example) holds AWS_PROFILE / AWS_REGION / ENVIRONMENT; scripts/load-env.sh sources it and sets the Terraform flags.

note

For the full CLI/CI details and the Terraform module layout, see the repository's docs/deployment/ and docs/configuration/.