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.2-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cftcli-2.11.2-py3-none-any.whl
  • Upload date:
  • Size: 22.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4975ac20957393d0781b18b9c2504ef995a681b3c295241ba60bbabfdf096961
MD5 8f382d1688a2cb2691e8f88aecd02dde
BLAKE2b-256 4aa7298ebc8b2fc75b0a1323f2ca27f800fd3383bf99bae69ac6463a308561a3

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