Apply project
nerdit_apply_projectApply an existing project by immutable ID with machine consent. Start with dry_run=true; waiting_for_variables means ask the human to supply the missing keys locally, never in chat. Applied means accepted, not healthy; check get_project or diagnose_project. Project-only consent cannot apply because builds share the machine image store. No rollback across services. Local ownership restrictions still apply. A hosted box sleeps after a period without activity and wakes on the next call to it, which may wait or ask you to call again; while it sleeps nothing inside it runs (scheduled jobs, bots, queue workers and webhook receivers stop), and it cannot be set to stay on. Right after a wake its services come back one after another for up to a couple of minutes: a service that is not ready yet is not broken, wait and call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref; only with repo_url. | |
| dry_run | No | Validate and plan without deploying or writing. | |
| repo_url | No | HTTPS Git repository for machine consent; project-only consent cannot apply. | |
| token_ref | No | Repository credential reference, never a token; only with repo_url. | |
| project_id | Yes | Immutable project ID from nerdit_list_projects; never its name or slug. | |
| idempotency_key | No | Reuse this key when retrying the same write; omitted keys are minted. |