Skip to content

Add CloudFormation express mode support - #458

Merged
GrahamCampbell merged 1 commit into
4.xfrom
feat/cloudformation-express-mode
Sep 25, 2026
Merged

GrahamCampbell merged 1 commit into
4.xfrom
feat/cloudformation-express-mode

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Contributor

CloudFormation express mode completes stack operations as soon as resource configuration is applied, which makes iterative deployments and removals considerably faster for development stages. This adds provider.deploymentMode: express, which makes osls pass DeploymentConfig on the create, update and change set calls used by deploy and rollback, and on the delete call used by remove. The existing provider.disableRollback setting keeps its meaning: osls sends it inside DeploymentConfig, so a failed express deployment still rolls back unless the user has opted out, unlike the raw CloudFormation default. Because CloudFormation rejects OnFailure in express mode, a failed stack creation with the direct method is left in ROLLBACK_COMPLETE rather than deleted, which the documentation now explains along with the constraints CloudFormation applies to stacks that failed with rollback disabled and how to recover from them. After an express operation osls prints a short notice that resources may still be stabilizing. The behaviour was verified against a live account for both deployment methods, custom deployment buckets, rollback, removal and the failure and recovery paths. Builds on the SDK floors raised in #457 and closes #456.

@GrahamCampbell
GrahamCampbell merged commit 2f4ccd4 into 4.x Sep 25, 2026
8 checks passed
@GrahamCampbell
GrahamCampbell deleted the feat/cloudformation-express-mode branch September 25, 2026 12:04
@pheck

pheck commented Sep 28, 2026

Copy link
Copy Markdown

works like a charm, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

suggestion: add setting for CloudFormation Express mode for faster deployments

2 participants