Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CLI): bootstrap shows no hotswap changes when there are no changes (
#29877) ### Issue # (if applicable) Closes #25736. ### Reason for this change The bootstrap calls `deployStack` without specifying hotswap, and `deployStack` does not correctly default the hotswap mode to `FULL_DEPLOYMENT`. ### Description of changes Make `deployStack` correctly default `hotswapMode` to `FULL_DEPLOYMENT`. ### Description of how you validated changes Manual testing. Before this change: ``` ✨ hotswap deployment skipped - no changes were detected (use --force to override) ✅ Environment aws://123456789012/us-east-1 bootstrapped (no changes). ``` After: ``` ✅ Environment aws://123456789012/us-east-1 bootstrapped (no changes). ``` Unit tests not added because we don't have any unit tests for bootstrap and this is cosmetic. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information