Skip to main content

Overview

The openstack stack command group manages infrastructure stacks defined by orchestration templates — create, update, suspend, resume, and delete stacks, inspect resources and events, and retrieve stack outputs.
Prerequisites
  • CLI installed and authenticated — see CLI Setup
  • Python heatclient installed: pip install python-heatclient

Stacks

Create and Update

openstack stack create \
  --template stack.yaml \
  my-stack

List and Inspect

openstack stack list
openstack stack list --nested

Lifecycle

openstack stack suspend my-stack

Resources

openstack stack resource list my-stack
openstack stack resource list --nested-depth 3 my-stack

Events

openstack stack event list my-stack

Outputs

openstack stack output list my-stack

Template Validation

openstack orchestration template validate \
  --template stack.yaml

Next Steps

Template Guide

Write and validate orchestration templates

Auto-Scaling

Configure auto-scaling groups and alarm triggers