# atmos stack config

`atmos stack config` is the **canonical** command set for reading, editing, and
listing component-relative config paths (e.g. `vars.region`) for a component in
a stack. It runs the same provenance-aware engine as the flat
[`atmos stack get|set|delete|format`](/cli/commands/stack/usage) commands — those
are convenience aliases of the `get`/`set`/`delete`/`format` subcommands here —
plus `list`, which has no flat equivalent (a flat `atmos stack list` would
collide with the existing [`atmos list stacks`](/cli/commands/list/stacks)).

## Usage

```shell
atmos stack config get <path> -s <stack> -c <component>
atmos stack config set <path> <value> -s <stack> -c <component> [--type <type>] [--file <manifest>]
atmos stack config delete <path> -s <stack> -c <component> [--file <manifest>]
atmos stack config format -s <stack> -c <component> [--file <manifest>]
atmos stack config list [path-pattern] -s <stack> -c <component> [--format <format>]
```

Paths are component-relative (e.g. `vars.region`, `settings.spacelift.workspace_enabled`).

## Subcommands

## Examples

```shell
# Read a value and see which manifest defines it.
atmos stack config get vars.region -s plat-ue2-prod -c vpc

# Set the value in the file that currently provides it.
atmos stack config set vars.region us-west-2 -s plat-ue2-prod -c vpc

# Delete a value from the manifest that defines it.
atmos stack config delete settings.spacelift.workspace_enabled -s plat-ue2-prod -c vpc

# Format the manifest files that define the component.
atmos stack config format -s plat-ue2-prod -c vpc

# List every editable path for the component.
atmos stack config list -s plat-ue2-prod -c vpc
```

## Related

- [`atmos stack get`](/cli/commands/stack/stack-get), [`atmos stack set`](/cli/commands/stack/stack-set), [`atmos stack delete`](/cli/commands/stack/stack-delete), [`atmos stack format`](/cli/commands/stack/stack-format) — flat aliases of `get`/`set`/`delete`/`format` here.
