Skip to main content

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)

Source distribution for cfn-cur 0.1.4
File Size Uploaded
cfn_cur-0.1.4.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfn-cur 0.1.4
File Interpreter ABI Platform
cfn_cur-0.1.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page