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(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*
0 commit comments