Skip to content

Stack Update

StackUpdateService handles CloudFormation ChangeSet creation, review, and execution for root stack updates. All operations are human-gated and audited.

Base path: /stack-update

GetUpdateOptions returns the current stack template version and available upgrade paths within the current distTag, plus any active (pending) changeset.

Request (GetUpdateOptionsRequest)

No fields.

Response (GetUpdateOptionsResponse)

FieldTypeDescription
currentVersionstringCurrent template version deployed in the stack.
currentDistTagstringCurrent distTag (e.g., “stable”, “edge”).
nextMinorUpdateOption?Next available minor version bump within the current major version and distTag. Absent if already on the latest minor.
nextMajorUpdateOption?Next available major version bump within the current distTag. Absence means no newer major version exists. Presence always implies breaking change.
activeChangeSetActiveChangeSet?Active (pending, not yet executed) changeset if one exists and is still valid. Absent if no changeset is currently pending.
stackNamestringRoot stack name (from the stack ARN). Always present. Generic identity field — the client derives console links from stack_name + region.
regionstringAWS region the root stack lives in (from the stack ARN). Always present.

CreateChangeSet initiates a new changeset for the selected target version, superseding any prior pending changeset. Non-idempotent.

Request (CreateChangeSetRequest)

FieldTypeDescription
targetTemplateVersionstring?Target template version. If omitted, defaults to next_minor from GetUpdateOptions. To target next_major, explicitly pass next_major.version. Must match semver pattern if provided.
parametersParameterValue[]Explicit value for every parameter of the target template. The server rejects the request with an invalid-input error (before superseding any pending changeset) when an entry is missing, duplicated or unknown, when a value violates the template constraints, or when use_previous_value is misused. Exactly one entry per parameter of the target template is required.

Response (CreateChangeSetResponse)

FieldTypeDescription
changeSetIdstringCloudFormation ChangeSet ID.
changeSetArnstringCloudFormation ChangeSet ARN.

DescribeChangeSet retrieves the changeset status and resource-level detail. Serves both as a creation-status poll endpoint and a detail-fetch endpoint.

Request (DescribeChangeSetRequest)

FieldTypeDescription
changeSetIdstringCloudFormation ChangeSet ID (from CreateChangeSetResponse or active_change_set).

Response (DescribeChangeSetResponse)

FieldTypeDescription
statusChangeSetStatusChangeset creation status.
statusReasonstringCFN StatusReason on CREATE_FAILED; sanitized for client display.
consoleUrlstringFully-formed AWS Console URL for this changeset.

GetUpdateParameters returns the CloudFormation parameters of the target template version: each with its constraints, the value the stack holds today and the value the server proposes, plus the stack parameters the target template no longer declares. Read-only.

Request (GetUpdateParametersRequest)

FieldTypeDescription
targetTemplateVersionstring?Target template version. If omitted, defaults to next_minor from GetUpdateOptions. Must be the latest available version for its track; otherwise the server rejects it. Must match semver pattern if provided.

Response (GetUpdateParametersResponse)

FieldTypeDescription
targetTemplateVersionstringTarget template version the parameters belong to, as bare semver (no “v” prefix).
groupsParameterGroup[]Parameter groups in template order. Parameters the template does not group are listed in a trailing group with an empty id.
parametersTemplateParameter[]All parameters of the target template, in template order.
removedRemovedParameter[]Parameters the stack has today that the target template no longer declares. Submitting one of them in CreateChangeSet is rejected as an unknown key.