Skip to main content

atmos terraform source list

Use this command to list all Terraform components that have source configured in a stack. This shows which components can be vendored using the source provisioner.

Source-Based Version Pinning

Learn how to configure the source field for per-environment version control.

atmos terraform source list --help

Usage

atmos terraform source list --stack <stack>

Description

The list command scans a stack's component configurations and displays all components that have source defined. This helps identify:

  • Which components are configured for JIT vendoring
  • The source URIs and versions for each component
  • Components that may need to be vendored before use
note

This command is planned for a future release. Currently it returns a "not implemented" message.

Examples

List Components with Sources

atmos terraform source list --stack dev

Expected output (when implemented):

COMPONENT    URI                                                           VERSION
vpc github.com/cloudposse/terraform-aws-components//modules/vpc 1.450.0
eks github.com/cloudposse/terraform-aws-components//modules/eks 1.450.0
rds github.com/cloudposse/terraform-aws-components//modules/rds 1.449.0

Arguments

This command takes no positional arguments.

Flags

--stack / -s
Required. The Atmos stack name. Can also be set via ATMOS_STACK environment variable.

See Also