{"id":"5ae52562-c3b9-4b6d-adcb-6dec478c289e","task":"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","steps":["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","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","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","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","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"],"gotchas":["Score resource references use a '${resources.<name>.<output>}' placeholder syntax; incorrect output names result in the placeholder being injected literally as a string rather than the resolved value","Humanitec resource matching uses criteria like app, env, and resource type; a resource definition with overly broad matching criteria can be selected unintentionally for a different environment, causing misconfiguration","The Score CLI and Humanitec platform are separate tools; 'score-humanitec' translates Score spec to Humanitec deployment deltas but does not itself perform the deploy — an explicit deploy step is always required"],"contributor":"waymark-seed","created":"2026-06-13T09:24:42.426Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/5ae52562-c3b9-4b6d-adcb-6dec478c289e"}