atmos stack config
Read and edit a component's settings in a selected stack, including identifying which manifest supplies each value. Use these commands to automate configuration changes and inspect inherited settings.
Usage
Paths are relative to the selected component, such as vars.region. The get, set, delete, and format subcommands also have shorter aliases under atmos stack. Use atmos stack config list to list editable configuration paths; atmos list stacks lists stacks instead.
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
Delete a component-relative value from the stack manifest that defines it.
Format the manifest files that define a stack component.
Read a component-relative value from a stack and show which manifest defines it.
List editable component config paths for a stack.
Set a component-relative value in the stack manifest that defines it, preserving comments, anchors, and templates.
Examples
# 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,atmos stack set,atmos stack delete,atmos stack format— flat aliases ofget/set/delete/formathere.