cfn-cur
A tool to generate AWS CLI command to continue-update-rollback a stack that is stuck in UPDATE_ROLLBACK_FAILED state. The resources to skip are essentially identified using a set of DescribeStackResources, DescribeStacks and DescribeStackEvents API Calls.
Works for stacks with nested stacks. Always pass the root stack ARN and the root stack must be in UPDATE_ROLLBACK_FAILED state. If your root stack is in a different state [ i.e, the nested stack was updated directly ], the stack is ideally in a stuck situation and would need AWS intervention to recover.
Features
- Automatically identifies resources that need to be skipped during continue-update-rollback
- Works with nested stacks
- Generates ready-to-use AWS CLI commands
- Handles complex stack hierarchies
Installation
pip install cfn-cur
Usage
cfn-cur <root-stack-arn>
How It Works
The tool analyzes the CloudFormation stack events to identify resources that failed during the update process. It then generates an AWS CLI command with the appropriate --resources-to-skip parameter to help you successfully roll back your stack.
Requirements
- Python 3.9 or higher
- AWS credentials configured in your CLI
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for cfn-cur 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cfn_cur-0.1.4.tar.gz | 9.8 kB | Without provenance | Details for cfn_cur-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cfn_cur-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for cfn_cur-0.1.4-py3-none-any.whl |
Total release size: 15.4 kB
Release files / cfn_cur-0.1.4.tar.gz
| Download URL | cfn_cur-0.1.4.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
393700b53e1f9026ecd8be0e53e42c5a9a1f39a1c3d07e6626ae1704355afcff
|
|
BLAKE2b-256 checksum How to use checksums |
7e73c3cffae35e632921cf2a47739568dfc160225ebc2897d231c6d8a4bdf730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.10
|
Release files / cfn_cur-0.1.4-py3-none-any.whl
| Download URL | cfn_cur-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ffac84623050bb41cd17fa3cfc9971334ff71758c25739b358da7ed3c0bc3fd
|
|
BLAKE2b-256 checksum How to use checksums |
89dd4899a3df78391a58ea2fce7b71f801e0fc62c8386509b3bf238b4b12b03e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.10
|
Security for cfn-cur 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.