Skip to main content

Aws/cfn Operations

@webframp/aws/cfn-operationsv2026.10.14.1· Apache-2.0· 17d agoBEHAVIORS
01README

Mutating CloudFormation recovery operations, kept apart from the read-only @webframp/aws/cfn-diagnostics. Resumes a stack stuck in UPDATE_ROLLBACK_FAILED with ContinueUpdateRollback, refuses any other stack status, optionally skips resources that cannot be rolled back, and waits for the rollback to settle.

Authentication

Uses the default AWS credential chain. Set the optional profile global argument to resolve credentials from a named AWS shared-config profile (SSO token cache / fromIni). This extension WRITES: use a profile that may update the stack. CloudFormation performs the rollback with the caller's credentials unless the stack has a service role.

Required IAM Permissions

  • cloudformation:DescribeStacks
  • cloudformation:ContinueUpdateRollback
  • plus whatever the rollback itself needs on the stack's resources

Usage

swamp model create @webframp/aws/cfn-operations cfn-ops \
  --global-arg region=us-east-1 --global-arg profile=prod-account/Administrator

swamp model method run cfn-ops continue_update_rollback \
  --input stackName=my-app

# Skip a resource the rollback cannot restore
swamp model method run cfn-ops continue_update_rollback \
  --input stackName=my-app --input 'resourcesToSkip=["Db"]'

Methods

  • continue_update_rollback - Resume an UPDATE_ROLLBACK_FAILED stack and wait (default 300s) for it to settle. The result records succeeded; a rollback that fails again is recorded with its status reason, not raised as an error.
02Release Notes

2026.10.14.1

Added: The manifest now declares license: Apache-2.0 (SPDX). The registry quality rubric scores a declared license separately from the bundled LICENSE.md.

Upgrade note: Metadata only. No code, schema, or behavioral changes.

2026.10.13.1

Added: Initial release. continue_update_rollback resumes a stack in UPDATE_ROLLBACK_FAILED, with optional resourcesToSkip, and waits for the rollback to settle.

03Behaviors1
@webframp/aws/cfn-operationsv2026.10.14.1aws/cfn_operations.ts
fn continue_update_rollback(stackName: string)
Resume a stack stuck in UPDATE_ROLLBACK_FAILED. Refuses any other status. Optionally skips resources that cannot be rolled back, then waits for the rollback to settle. Mutating: run it with a profile that has cloudformation:ContinueUpdateRollback and the permissions the rollback itself needs.
ArgumentTypeDescription
stackNamestringStack name or ID. Use the ID for a stack that was deleted.

Resources

rollback_result(30d)— Outcome of a ContinueUpdateRollback call
04Stats
A
100 / 100
Downloads
12
Archive size
204.7 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
05Platforms
06Labels