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
fix(toolkit-lib): replace force from DeployOptions with more targeted options
- Rename `force` option to more specific names based on functionality:
- `forceDeployment`: Deploy even if templates are identical
- `forceAssetPublishing`: Force asset publishing even if assets haven't changed
- `orphanFailedResourcesDuringRollback`: Automatically orphan resources during rollback
- Rename helper function `removePublishedAssets` to more descriptive `removePublishedAssetsFromWorkGraph`
- Update related code paths in toolkit.ts, deploy-stack.ts, deployments.ts and deploy-bootstrap.ts to use the new parameter names
- Remove deprecated comment as options are now properly split
BREAKING CHANGE: The deprecated `force` option on `DeployOptions` has been removed. This option previously caused multiple different "force" actions. Each action now has a more targeted alternative. To force a deployment even if the CDK Toolkit has not detected any changes, use `forceDeployment`. To force re-publishing of previously published assets, use `forceAssetPublishing`. To force failing resource being orphaned during a rollback, use `orphanFailedResourcesDuringRollback`. To skip confirmation of deployment in bla
0 commit comments