You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity