Configure Humanitec to model an application workload with resource dependencies, inject dynamic resource outputs into environment variables, and deploy via the Score CLI

domain: developer.humanitec.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Write a score.yaml file that declares the workload's containers, the required resources (e.g., a postgres database and a redis cache) under the 'resources' key, and maps resource outputs to container environment variables
  2. Register resource definitions in Humanitec for each resource type, mapping them to actual cloud resources (e.g., RDS for postgres) with the appropriate driver and matching criteria
  3. Use 'score-humanitec delta --deploy' or the Humanitec CLI to push the Score workload definition to a Humanitec application and environment, creating a deployment delta
  4. Trigger a deployment in Humanitec by applying the delta via the Humanitec API or the humctl CLI, which resolves resource dependencies and injects dynamic values (connection strings, credentials) at deploy time
  5. Verify the deployed workload by inspecting the running container environment variables in Humanitec's UI or via 'humctl get deployment-set' to confirm dynamic values are correctly injected

Known gotchas

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans