atmos aws cloudformation list
List the account's deployed CloudFormation stacks (ListStacks), annotated
with whether each one matches an aws/cloudformation component's
stack_name configured in the given Atmos stack, or in any Atmos stack when
--stack is omitted. Unlike every other verb,
list is account-wide, not scoped to a single component — there is no
[component] argument, and it does not support --all/--affected/--tags/--labels.
Usage
atmos aws cloudformation list [--stack <stack>] [options]
Annotate against the components configured in every Atmos stack:
atmos aws cloudformation list
Annotate against a single Atmos stack:
atmos aws cloudformation list --stack plat-ue2-dev
Only stacks currently in a *_COMPLETE status:
atmos aws cloudformation list --stack plat-ue2-dev --status CREATE_COMPLETE,UPDATE_COMPLETE
List stacks in a specific region:
atmos aws cloudformation list --stack plat-ue2-dev --region us-west-2
Flags
--stack,-s(optional)Atmos stack to annotate against. Its configured
aws/cloudformationcomponents'stack_namevalues determine which deployed stacks are markedmanagedvs.unmanaged. Without--stack, thestack_namevalues of every Atmos stack's components count, so a stack that Atmos defines is never reported asunmanagedjust because no stack was named. A stack name that does not exist is an error. Templates are processed (sostack_namemay reference e.g.{{ .vars.stage }}), but YAML functions are not — they aren't needed to resolvestack_name, and some require their own authentication, which would slow this command down unnecessarily.--identity,-i(optional)Identity to use for authentication. Without it,
listuses the singledefault: trueidentity declared in your auth configuration or stack manifests, the same way the component verbs do. If no identity can be resolved and the AWS SDK finds no credentials either, the error suggests passing--identity.--identitywith no value selects interactively.--status(optional)Filter by stack status (comma-separated, e.g.
CREATE_COMPLETE,UPDATE_COMPLETE). Values are matched case-insensitively against the CloudFormation stack statuses, socreate_completeworks. An unknown value is an error that names it and lists every valid status; it is rejected before any AWS call. By default every status exceptDELETE_COMPLETEis listed.--region(optional)- AWS region to list stacks in. Defaults to the active identity's region, then the AWS SDK's standard resolution chain.
Output
The table starts with a header row. Each following line shows whether the
stack is managed (its name matches an aws/cloudformation component's
configured stack_name in the queried stack, or in any stack when --stack
is omitted) or unmanaged, its status, and its name:
MANAGED STATUS STACK NAME
managed CREATE_COMPLETE vpc-plat-ue2-dev
unmanaged UPDATE_COMPLETE some-other-stack