atmos terraform planfile list
List Terraform plan files from the configured storage backend. Optionally filter by component (positional arg) and/or stack (-s flag). By default, only planfiles for the current SHA are shown. Use --all to show all SHAs.
Usage
atmos terraform planfile list [component] [flags]
Arguments
[component]- Optional component name to filter planfiles.
Flags
--all- Show planfiles for all SHAs (bypass SHA filter).
--format- Output format:
table(default),json,yaml,csv,tsv. --store- Storage backend to use: a store name from
components.terraform.planfiles.stores(with itsidentity) or a store type such asaws/s3. Overridesplanfiles.defaultandplanfiles.priority; when omitted, the store is selected the same way as for the--cihooks. See Planfile Storage. Can also be set withATMOS_PLANFILE_STORE.
Examples
# List planfiles for the current SHA
atmos terraform planfile list
# List all planfiles (all SHAs)
atmos terraform planfile list --all
# List planfiles for a specific component
atmos terraform planfile list vpc -s dev-us-east-1
# JSON output for scripting
atmos terraform planfile list --format json
# List from a specific store
atmos terraform planfile list --store s3
Related
atmos terraform planfile upload- Upload planfilesatmos terraform planfile download- Download planfilesatmos terraform planfile show- Show planfile details