Runbook
Properties
| Property | Description | Values | Example |
|---|---|---|---|
namestring | name of the runbook The runbook name is displayed in the Runbooks tab of the Nuon dashboard and used to identify it during sync | ✅ Required | "v2.3-update", "database-migration" |
stepsarray | ordered steps to execute in the runbook Sequential list of deploy and action steps. Each step executes in order. Deploy steps can include dependency deployment. Action steps can reference existing … | ✅ Required | - |
descriptionstring | - | Optional | - |
readmestring | readme file for the runbook Markdown file with runbook documentation and instructions. Supports Go templating and external file sources: HTTP(S) URLs, git repositories, file paths, and relative paths | Optional | "./release-notes.md" |
labelsobject | - | Optional | - |
dependenciesarray | - | Optional | - |
steps
| Property | Description | Values | Example |
|---|---|---|---|
namestring | name of the step Displayed in the workflow UI and runbook detail page | ✅ Required | "deploy-database", "run-migrations" |
typestring | type of step Either ‘deploy’ for deploying a component, or ‘action’ for running an action | ✅ Required | "deploy", "action" |
component_namestring | component to deploy (for deploy steps) Name of the component to deploy. Required when type is ‘deploy’ | Optional | "database", "api-server" |
deploy_dependenciesboolean | also deploy transitive dependencies When true, deploys the component and all its transitive dependencies in dependency order. Only applies to deploy steps | Optional | - |
action_namestring | existing action to run (for action steps) Name of a previously defined action workflow to execute. Mutually exclusive with inline action fields (command, inline_contents) | Optional | "database-migration" |
commandstring | command to execute (for inline action steps) Shell command for an inline action. Supports Go templating | Optional | "./validate.sh" |
inline_contentsstring | inline script contents (for inline action steps) Embed script contents directly or reference an external file. Supports Go templating and external URLs | Optional | "./scripts/validate.sh" |
env_varsobject | environment variables for inline action steps Map of environment variables passed to the inline action command | Optional | - |
timeoutstring | timeout for inline action steps Maximum execution time for inline action steps. Must be a valid Go duration string | Optional | "30s", "5m" |
rolestring | IAM role for inline action execution IAM role name to use when executing the inline action step | Optional | - |