Skip to main content

atmos stack config format

Format the manifest files that define the selected component in place, preserving comments, anchors, YAML functions, and templates. Atmos uses provenance to find the files that contribute effective component values. This is the canonical form; atmos stack format is a convenience alias for this command.

atmos stack config format --help

Usage

atmos stack config format -s <stack> -c <component> [--file <manifest>]

The fmt alias is also accepted.

Examples

atmos stack config format -s plat-ue2-prod -c vpc
atmos stack config format -s plat-ue2-prod -c vpc --file stacks/catalog/vpc.yaml

Flags

--stack / -s (string, required)
The stack name.
--component / -c (string, required)
The component name.
--file (string)
Format this manifest file explicitly instead of resolving all provenance-contributing files.