List Stacks

List stacks within the given command path.

Usage

1tkm stacks list [command-path] [--output <format>]

Positional arguments

  • command-path
    • Command path to select which stacks to list.
    • Optional, by default, Takomo lists all stacks.

Options

In addition to the common options, this command has the following options.

  • --output <format>
    • Print the command result using this format
    • Supported values: text, json, yaml

IAM permissions

These are the minimum IAM permissions required to run this command.

1Statement: 
2  - Sid: Stacks
3    Effect: Allow
4    Action: cloudformation:DescribeStacks
5    Resource: "*"
6
7  # IAM permissions needed only if command roles are used.  
8  # Specify Resource to restrict access to specific roles.  
9  - Sid: IAM
10    Effect: Allow
11    Action: sts:AssumeRole
12    Resource: "*"

Examples

List all stacks:

1tkm stacks list

List stacks within the given command path:

1tkm stacks list /prod