atmos list sources
Use this command to list all components with source configuration across all component types (Terraform, Helmfile, Packer) in a unified view. This provides a single table showing which components can be vendored using the source provisioner.
Learn how to configure the source field for per-environment version control.
Usage
atmos list sources [component] [flags]
List all components with source configuration across all stacks:
atmos list sources
Filter to a specific stack:
atmos list sources --stack dev
Filter to a specific component across all stacks:
atmos list sources vpc
Run atmos list sources --help to see all available options.
Description
The list sources command provides a unified view of all components that have source configured, regardless of component type. Unlike the type-specific commands (atmos terraform source list, atmos helmfile source list, atmos packer source list), this command shows all types together with a "Type" column.
This helps identify:
- All components configured for JIT vendoring across your entire infrastructure
- The source URIs and versions for each component
- Which component types (terraform, helmfile, packer) have source configurations
- Components that may need to be vendored before use
Examples
List All Sources Across All Stacks
atmos list sources
Example output:
STACK TYPE COMPONENT URI VERSION
plat-ue2-dev terraform eks github.com/cloudposse/terraform-aws-components//modules/eks 1.450.0
plat-ue2-dev terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.450.0
plat-ue2-dev helmfile nginx github.com/cloudposse/helmfile-components//charts/nginx 1.0.0
plat-ue2-prod terraform eks github.com/cloudposse/terraform-aws-components//modules/eks 1.451.0
plat-ue2-prod terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.451.0
List Sources in a Specific Stack
atmos list sources --stack plat-ue2-dev
When filtering by stack, the Stack column is omitted:
TYPE COMPONENT URI VERSION
terraform eks github.com/cloudposse/terraform-aws-components//modules/eks 1.450.0
terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.450.0
helmfile nginx github.com/cloudposse/helmfile-components//charts/nginx 1.0.0
List Sources for a Specific Component
atmos list sources vpc
Shows the component across all stacks where it has source configured:
STACK TYPE COMPONENT URI VERSION
plat-ue2-dev terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.450.0
plat-ue2-prod terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.451.0
plat-ue2-staging terraform vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.450.0