# atmos stack config get

Read the effective value of a component-relative dot-path (e.g. `vars.region`) for a
component in a stack, and see which manifest file currently defines it. This is the
canonical form; [`atmos stack get`](/cli/commands/stack/stack-get) is a convenience
alias for this command.

## Usage

```shell
atmos stack config get <path> -s <stack> -c <component>
```

## Examples

```shell
atmos stack config get vars.region -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_CONFIG_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.

## Related

- Alias: [`atmos stack get`](/cli/commands/stack/stack-get)
