Legend
Steps
Ordered list of steps to execute — steps run sequentially unless wrapped in a parallel blockStep
Step - can be action, parallel, or group. This is the main recursive type for pipeline steps.One of: ActionStep, ParallelStep, GroupStep.ActionStep
Union of all action step types. Discriminated by thetype field on each step model.
Generates oneOf + discriminator in OpenAPI, which hey-api converts to z.discriminatedUnion().
Some step schemas, such as BuildLambdaCiStep, are generated as standalone
types but intentionally excluded here until they are public pipeline steps.Discriminated union. The type field selects which schema applies.GroupStep
Group step - contains nested stepsstring
required
Human-readable group label shown in pipeline UI
string
What this group is for, in plain language, shown in the pipeline UI
Not used when running the pipeline
ConcurrencyConfig
Concurrency configuration for executions within this groupSee: ConcurrencyConfig
ParallelStep
Parallel step - executes children concurrentlyParallelChild[]
required
See: ParallelChild(minItems:1)
string
What this parallel block is for, in plain language, shown in the pipeline UI
Not used when running the pipeline
ConcurrencyConfig
Concurrency configuration for executions within this parallel blockSee: ConcurrencyConfig
enum
default:"finish-all"
How to handle failures while branches in this parallel block are running
Default: “finish-all”Allowed values:
cancel-all | finish-running | finish-allApprovalStep
Approval action step — pauses pipeline execution until a user explicitly approves. If timeout is omitted, the step waits indefinitely.string
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
enum
required
Allowed values:
approvalstring[] | null
Email addresses of the organization members allowed to approve this step.
When set, an approval from anyone else is refused, and the APPROVERS
notification audience resolves to exactly these members. When omitted,
any organization member can approve and APPROVERS resolves to every
active member.(templateable)
BuildStep
General-purpose build action step — triggers a build based on the module’s build config.By default, build steps usevalue: 2 with behavior: cancel-intermediate,
keyed automatically by module instance and, when set, input.branch. The
policy replaces the oldest when a newer run starts within 10% of the run’s
expected duration (15 seconds when there’s no estimate yet); the replacement
chain is limited to twice that window. This lets a rapid burst collapse to
its newest build, including before capacity is reached. At either limit, the
oldest and newest builds survive and intermediates are cancelled. Built-in
deploy and terraform:apply execution is protected after it starts.For example, with no expected-duration estimate, value: 2 and arrivals at
0, 6, 12, 18, 24, 30, 36 seconds, run 5 is protected when the 30-second
chain cap is reached; runs 5 and 7 survive. An explicit concurrency block
opts out of this default.string
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
string
required
Module instance reference — accepts the module instance row ID (e.g.
mi_…),
environmentGivenId.moduleGivenId, or
projectGivenId.environmentGivenId.moduleGivenId.(minLen:1; templateable)string | null
Human-readable description of this deployment.
Defaults to the pipeline run description if omitted.(templateable)
enum
required
Allowed values:
buildmap<string,any | null>
User-defined build parameters passed through to the module build manager.
These values are available to module build templates via
<< build.input.<key> >>.(templateable)DeployStep
General-purpose deploy action step — triggers a deployment based on the module’s deployment config.Deploy steps also acquire a separate deployment-manager lock scoped to the organization and module instance, so deployments of the same module instance serialize across pipelines and other deployment entry points. The effective defaults are max_concurrent=1, queue_size=1, and queue_overflow=oldest; module-leveldeployment.concurrency may override
queue_size and queue_overflow. An entirely zero-valued deployment
concurrency object receives queue_size=1, while an explicit queue_size=0
(with the module resolver’s explicit overflow value) disables queuing.
When the queue is full and overflow is oldest, the queued deployment is
evicted and its workflow is denied with reason queue_rejected, resulting
in a deployment failure rather than a pipeline concurrency cancellation.
This serialization is independent of trigger/step/block concurrency:
cancel-intermediate and other pipeline behaviors do not relax it.string
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
string
required
Module instance reference — accepts the module instance row ID (e.g.
mi_…),
environmentGivenId.moduleGivenId, or
projectGivenId.environmentGivenId.moduleGivenId.(minLen:1; templateable)string | null
Human-readable description of this deployment.
Defaults to the pipeline run description if omitted.(templateable)
string | null
ID or given ID of the execution environment the deploy’s runner is
launched into. Applies to
aws:eks deployments only.(templateable)ExecutionEnvironmentOverrides
Overrides for individual attributes of the resolved execution environment.
Valid with or without
execution_environment_id.
The whole block and each field inside it accept template tokens.See: ExecutionEnvironmentOverrides(templateable)enum
required
Allowed values:
deploystring | null
Full git commit SHA of the artifact being deployed, recorded on the
module deployment. It is the baseline watch paths compare the next run
against. In a run that deploys the module without building it, this is
also the commit its watch paths are evaluated against.When omitted, the commit is taken from the builds of the same run this
step deploys: the module’s own
build steps and the build steps
(build, build:image, build:static, build:lambda) whose outputs
this step’s config reads, such as
image_ref: << steps.build.output.build_ref >>. It is used only when all
of them succeeded and report the same commit_sha. Otherwise nothing is
recorded, the next run builds and deploys the module without evaluating
its watch paths, and a run that only deploys the module always runs this
step. Set it to deploy a commit no build of the run reports, such as one
a deploy-only pipeline promotes.(templateable)map<string,any | null>
User-defined deploy parameters passed through to the deploy manager.
These values are available to module deployment templates via
<< deploy.input.<key> >>.(templateable)RollbackStep
Rollback action step — reverts a module to a specific previous deployment.string
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
enum
required
Allowed values:
rollbackstring
required
Deployment ID to rollback to(minLen:1; templateable)
SleepStep
Sleep action step — pauses pipeline execution for testing and debuggingstring
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
enum
required
Allowed values:
sleepinteger
required
Sleep duration in milliseconds(format:int64; templateable)
TriggerPipelineStep
Trigger pipeline action stepstring
required
Unique step identifier, used for referencing in logs and dependencies(minLen:1)
string
Human-readable step name shown in the pipeline UI
string
Why this step exists and what it does, in plain language, shown in the pipeline UI
Not used when running the step
integer | null
Maximum execution time in seconds before the step is killed(format:int32,min:1; templateable)
boolean | null
Condition that must evaluate to true for this step to run
Accepts either a boolean literal or a full template token that resolves to a boolean(templateable)
string[]
Ids of the steps this step waits for. Without
needs, a step waits for
everything listed before it. With needs, it waits only for the steps
named here, so it can start alongside earlier steps it doesn’t depend on.
An empty list starts the step as soon as its list starts.
Each id must name an action step listed earlier in the same steps list
(the top-level list or the same group). A step that names a matrix step
waits for every copy. If a step it needs fails or is skipped, this step
is skipped too.StepMatrix
Runs one copy of this step for every combination of the matrix axes.
Each copy reads its values with << matrix.<axis> >> in any templatable
field, including infrastructure. Each copy runs as a step of its own,
with an id made of the step id and its axis values in axis-name order
(test-pg15-20) and a name with its values in parentheses. A copy’s id
can’t be the id of another step or of another matrix’s copy. Step
concurrency limits copies across runs: without a key each copy has its
own slot, and an explicit key is one limit for every copy. Copies of one
run don’t wait for each other’s concurrency; use max_parallel for that.
Other steps can’t read a matrix step’s outputs or inputs, since there is
one per copy.See: StepMatrix
ConcurrencyConfig
Concurrency configuration for controlling step execution across variantsSee: ConcurrencyConfig
enum
required
Allowed values:
trigger:pipelinestring
required
ID of the pipeline to trigger(minLen:1; templateable)
string | null
Specific pipeline version to trigger — defaults to the latest version if omitted(templateable)
string
required
Description to use for the triggered pipeline run(minLen:1; templateable)
map<string,any | null>
Input values to pass to the triggered pipeline as key-value pairs(templateable)
map<string,TriggerRunVariantConfig> | null
Per-variant run overrides — keys are variant IDs, values include description and optional input overridesSee: TriggerRunVariantConfig(templateable)
ParallelChild
Parallel child - can be action or group (no nested parallel allowed)One of: ActionStep, GroupStep.ParallelFailStrategy
Strategy for handling failures within a parallel blockAllowed values:cancel-allfinish-runningfinish-all
StepMatrix
Matrix settings for a step. Ravion expands the step into one copy per combination when the pipeline version is planned, the way GitHub Actions expandsstrategy.matrix.map<string,string | number | boolean[]>
Axis name to the values it takes. The step runs once for every
combination of one value from each axis, so two axes of 2 and 3 values
run 6 copies. Axis names start with a letter or
_ and contain only
letters, digits and _. Values are literals: templates in a matrix are
not resolved. A matrix expands to at most 256 copies.map<string,string | number | boolean>[]
Combinations to add. Each entry is merged into every combination whose
axis values it doesn’t change, which adds extra values to those copies.
An entry that would change an axis value of every combination runs as a
copy of its own instead.
map<string,string | number | boolean>[]
Combinations to remove. A combination is removed when it matches every
key an entry lists, so
{os: debian} removes every debian copy.
Exclusions apply before include.integer
Maximum number of copies of this step running at once in one run.
Default: no limit(format:int32,min:1)
enum
default:"cancel-all"
What happens when a copy fails, with the same options as a parallel
block. “cancel-all” stops the run, “finish-running” lets running copies
finish, and “finish-all” runs every remaining copy. Steps that need the
matrix step are skipped either way.
Default: “cancel-all”Allowed values:
cancel-all | finish-running | finish-allEnvironmentVariablesValue
Environment variable map value.Supports either:- a literal map of environment variables, or
- a full template block like << pipeline.input.env_variables >> that resolves to such a map.
StepOutputName
Name of an output a step publishes. Must be usable both as a shell variable name and as a << steps.<id>.output.<name> >> field.Type: stringIntegrationReference
Integration ID or givenIdType: stringTerraformTool
Supported IaC tool for terraform:* CI stepsAllowed values:opentofuterraform
TerraformPlanType
Type of Terraform plan to generateAllowed values:applydestroy
TerraformVariableFilePath
Terraform/OpenTofu tfvars file path relative to the step source base pathType: stringTerraformVariablesValue
Terraform variable map value.Supports either:- a literal map of terraform variables, or
- a full template block like << pipeline.input.terraform_variables >> that resolves to such a map.
MatrixValue
A single matrix value. Matrix values are literals; templates are not resolved inside a matrix.One of: string, number, boolean.EnvironmentVariable
Environment variable — can be a plain string, Parameter Store reference, or Secrets Manager referenceOne of: string | null, ParameterStoreEnvVar, SecretsManagerEnvVar.GitRepoUrl
Full git repository URL including host.Type: stringTerraformVariable
Terraform variable — can be any JSON value (string, number, boolean, null, array, object), a Parameter Store reference, or a Secrets Manager referenceOne of: ParameterStoreEnvVar, SecretsManagerEnvVar, any | null.ParameterStoreEnvVar
Environment variable from AWS Parameter StoreParameterStoreReferenceValue
required
SecretsManagerEnvVar
Environment variable from AWS Secrets ManagerSecretsManagerReferenceValue
required
ParameterStoreReferenceValue
Parameter Store reference — shorthand string or object with optional version metadataOne of: string, ParameterStoreReference.SecretsManagerReferenceValue
Secrets Manager reference — shorthand string or object with optional JSON key/version metadataOne of: string, SecretsManagerReference.ParameterStoreReference
Parameter Store reference with optional version metadatastring
required
Parameter Store parameter name or path(templateable)
string | null
Parameter version number — defaults to latest if omitted(templateable)
SecretsManagerReference
Secrets Manager reference with optional JSON key and version metadatastring
required
Secret name or ARN in Secrets Manager(templateable)
string | null
JSON key to extract from a JSON-structured secret(templateable)
string | null
Secret version ID or stage — defaults to latest if omitted(templateable)