Manage stacks β
This page provides an overview of all available commands in Terramate CLI that help you maintain and understand your stacks.
Ensure all stacks have IDs β
Ensures that all stacks in the project have IDs. If Terramate detects any stacks with missing IDs, UUIDs will be created and configured automatically.
terramate create --ensure-stack-idsList stacks β
The list command lists all Terramate stacks in the current directory recursively. These can be additionally filtered based on Terramate Cloud status with the --status=<status> filter (valid statuses are documented on the trigger page).
Examples β
See the following example to understand how filters can be used with the list command.
List all stacks β
terramate listList all stacks in a given path β
terramate list -C subdir/List all stacks filtered by tags β
terramate list --tags terraform,kubernetesList all stacks that contain changes β
terramate list --changedCombining multiple filters β
terramate list -C subdir/ --tags terraform,kubernetes --changedManually mark stacks as changed β
The trigger command forcibly marks a stack as "changed" even if it doesn't contain any code changes according to the change detection.
terramate trigger <stack>For details, please see the trigger documentation.