stack
The workflow-level stack field sets the default Atmos stack applied to every type: atmos step in the workflow.
workflows:
deploy-vpc:
stack: tenant1-ue2-dev
steps:
- command: terraform plan vpc
- command: terraform apply vpc -auto-approve
Precedence
Stack values are resolved from lowest to highest priority:
- Stack flags embedded in the step
command. - Workflow-level
stack. - Step-level
stack. - The command-line
--stackflag.
Prefer reusable workflows that omit stack and receive it from the command line when the same workflow should run across environments.