atmos aws cloudformation output
Show the deployed stack's Outputs (DescribeStacks), formatted for
consumption by shells, other tools, or other Atmos components. apply
renders this same view automatically at the end of a successful deploy.
Usage
atmos aws cloudformation output <component> --stack <stack> [options]
atmos aws cloudformation output vpc -s plat-ue2-dev
Choose an output format:
atmos aws cloudformation output vpc -s plat-ue2-dev --format=json
atmos aws cloudformation output vpc -s plat-ue2-dev --format=env
atmos aws cloudformation output vpc -s plat-ue2-dev --format=github
Flatten nested Outputs into compound keys, or uppercase every key:
atmos aws cloudformation output vpc -s plat-ue2-dev --format=dotenv --flatten --uppercase
Show output for all or affected components:
atmos aws cloudformation output --all -s plat-ue2-dev
atmos aws cloudformation output --affected --base origin/main
Flags
--stack,-s(required for a single component)- Atmos stack. Required when operating on a single component; optional (and used only to narrow the selected set) with
--all/--affected. --format(optional, defaulttable)- Output format:
json,yaml,hcl,env,dotenv,bash,csv,tsv,table, orgithub. --flatten(optional)- Flatten nested Outputs into compound keys.
--uppercase(optional)- Uppercase Output keys.
--all(optional)- Show Outputs for all
aws/cloudformationcomponents in dependency order. --affected(optional)- Show Outputs for affected
aws/cloudformationcomponents and their dependencies. --include-dependents(optional)- With
--affected, include dependentaws/cloudformationcomponents. --base(optional)- Git base ref or SHA to compare against for affected detection:
--base origin/main. Used with--affected. --tags(optional)- Filter by tags (comma-separated, matches any):
--tags=production,tier-1. Composes with--all/--affectedto narrow the selected set further; cannot be combined with a single component argument. --labels(optional)- Filter by labels (comma-separated
key=valueorkey:valuepairs, matches all):--labels=cost-center=platform,compliance=sox. Composes with--all/--affected/--tags; cannot be combined with a single component argument.
note
outputs is accepted as an alias for output.