List stacks
List stacks within the given command path.

Usage

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

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.
1
Statement:
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: "*"
Copied!

Examples

List all stacks:
1
tkm stacks list
Copied!
List stacks within the given command path:
1
tkm stacks list /prod
Copied!
Last modified 3mo ago