Commit 2126ee5
authored
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*1 parent cc4c96c commit 2126ee5
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
265 | 267 | | |
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
269 | | - | |
| 271 | + | |
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
| |||
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
292 | | - | |
293 | | - | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
0 commit comments