Sceptre drives AWS CloudFormation stack create, update, and delete flows. It separates templates from YAML stack config, resolves dependencies, and supports stack groups and hooks.
Overview
Sceptre is a tool for creating, updating, and deleting CloudFormation stacks, with meta commands to query stack state. It is designed to run in CI/CD pipelines and is available as a command-line program or importable Python module.
Stacks live in stack groups defined by YAML configuration beside JSON, YAML, Jinja2, or Python templates. Outputs from one stack can flow automatically into parameters of dependent stacks across groups. Group-level commands create or delete many stacks at once, respecting dependency order.
Features include parallel builds, multi-account and multi-region support, customizable resolvers for dynamic template values, and hooks to run code before or after stack operations. Template reuse comes from splitting each stack’s template from its configuration.
Installation is documented via pip or a published Docker image that mounts the project directory and AWS credentials. The project stays unopinionated about directory layout while using cloud-native CloudFormation without separate state files.
Key features
- Stack and stack group YAML config
- Automatic cross-stack output wiring
- JSON, YAML, Jinja2, and Python templates
- Stack group bulk create and delete
- Parallel stack builds
- Multi-account and multi-region support
- Resolvers and build hooks
- CLI and Python module API
Use cases
- Organized CloudFormation deployments
- VPC then subnet dependency chains
- CI/CD infrastructure pipelines
- Querying and protecting live stacks