atmos
The atmos step type runs an Atmos CLI command from inside a custom command or workflow, giving your automation direct access to the same stack-aware commands you run by hand. It is the default command step type when a step has command and no explicit type.
steps:
- name: plan
type: atmos
command: terraform plan vpc
stack: tenant1-ue2-dev
Fields
command- Required. Atmos command arguments to run, without the leading
atmosbinary name. stack- Optional stack value. Atmos appends it as
-swhen the command does not already include a stack flag. working_directory- Optional working directory for the command. See working_directory.
env- Optional environment variables for this step. See env.
output- Optional output mode. See output.
timeout- Optional duration such as
30sor5m. When it elapses, Atmos cancels the command and fails the step withstep timed out. The timeout bounds the whole step, including everyretryattempt and the wait between attempts, so retries never extend it.
The step result stores stdout as the step value and includes stdout, stderr, and exit_code metadata.