Skip to main content

atmos stack get

Read the effective value of a component-relative dot-path for a component in a stack, and see which manifest file currently defines it.

info

atmos stack get is an alias for atmos stack config get, the canonical form.

atmos stack get --help
 

Usage​

atmos stack get <path> -s <stack> -c <component>

Examples​

atmos stack get vars.region -s plat-ue2-prod -c vpc
atmos stack get settings.spacelift.workspace_enabled -s plat-ue2-prod -c vpc

Arguments​

<path> (required)
Component-relative dot-notation path (e.g. vars.region).

Flags​

--format / -f (string)
Output format: raw (default) or json. JSON preserves scalar and collection types, including quoted strings that look like booleans or numbers. Environment variable: ATMOS_STACK_GET_FORMAT. The flag overrides the variable.
--stack / -s (string, required)
The stack name.
--component / -c (string, required)
The component name.
--file (string)
Read the value from this manifest file when the YAML path exists. If the path is missing, keep the available value from the merged stack configuration. Provenance is not shown. A file that cannot be read is an error.