Skip to main content

CloudFormation Cli

Project description

Welcome to CFT CLI

CLI commands to ease the interaction with CloudFormation while developing and testing CloudFormation Stacks.

Installation

pip install cftcli

Quick Start

# Deploy a stack
deploy-stack --stack my-stack --filename template.yaml

# List stacks
list-stacks

# Describe a stack
describe-stack my-stack

# Delete a stack
delete-stack --stack my-stack

Commands

  • deploy-stack: Create or update a stack
  • delete-stack: Delete a stack
  • list-stacks: List all stacks in a region
  • describe-stack: Display stack details
  • attach-stack: Monitor stack changes in real-time
  • lock-stack: Apply stack policy and termination protection
  • unlock-stack: Remove stack policy restrictions
  • stack-policy: Display current stack policy
  • list-pipelines: List all pipelines in a region
  • codebuild: Execute a CodeBuild project

Documentation

Complete documentation is available in the docs/ folder:

Testing

pip install -e ".[test]"

# Run all tests
python3 -m pytest

# Run smoke tests only
python3 -m pytest -m smoke

# Run with coverage threshold
python3 -m pytest --cov=cftcli --cov-fail-under=80

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cftcli-2.11.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file cftcli-2.11.1-py3-none-any.whl.

File metadata

  • Download URL: cftcli-2.11.1-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for cftcli-2.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a1baa33eedb5382b12b74444df7834b049ed171cc1479a967402f998f8adef97
MD5 bb0e23de5dd33e6cb3e247557977c28b
BLAKE2b-256 b26de1e08023f8ec6af0519721c5799877bbbd559f29e9c20679270fe697b916

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page