Skip to content

CloudFormation change sets: create, describe, execute #289

Closed

Description

@scttfrdmn

Summary

Add CloudFormation change set support: CreateChangeSet, DescribeChangeSet, ExecuteChangeSet, DeleteChangeSet, ListChangeSets.

Current state

Betty/CloudFormation supports CreateStack, UpdateStack, DeleteStack but has no change set workflow. Users cannot preview what resources will be added, modified, or removed before applying.

Proposed implementation

Operations

  • CreateChangeSet — diff the proposed template against the current stack state; store a ChangeSet object with a list of ResourceChange entries (Add/Modify/Remove + resource type + logical ID)
  • DescribeChangeSet — return the stored change set with its status and list of changes
  • ExecuteChangeSet — apply the change set (equivalent to UpdateStack with the change set's template)
  • ListChangeSets — list change sets for a stack
  • DeleteChangeSet — remove a change set without executing

Change detection

Compare the proposed template's resource list against the current stack's resources:

  • New logical IDs → Add
  • Missing logical IDs → Remove
  • Changed properties (deep compare) → Modify with Replacement: True/False/Conditional based on whether the property requires replacement per CloudFormation docs

State

  • changeset:{stackName}/{changeSetName} — the change set object
  • changeset_names:{stackName} — index of change set names per stack

Acceptance criteria

  • CreateChangeSet produces accurate Add/Modify/Remove entries
  • DescribeChangeSet returns change details and status
  • ExecuteChangeSet applies changes and updates the stack
  • ListChangeSets returns all change sets for a stack
  • DeleteChangeSet removes without executing
  • Tests: create change set → describe → verify changes → execute → verify stack updated

Activity

  1. added this to the v0.61.0 milestone on Apr 10, 2026
  2. added
    type: feature
    area: cloudformation
    on Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cloudformationtype: feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions