(cli): Watch mode doesn't assume-role for cross-account deploys #20878
Labels
effort/large
Large work item – several weeks of effort
feature-request
A feature should be added or improved.
hotswap
p2
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
Simply adding
--watch
breaks cross-account deploys.Expected Behavior
🚀
Current Behavior
Reproduction Steps
Take any cross-account deploy and try to watch for changes. I reproduced the effect in two projects.
Possible Solution
My only guess is that it was simply forgotten in the
watch
implementation. Or that it was excluded for speed?Additional Information/Context
Thanks!
CDK CLI Version
2.29.1
Framework Version
No response
Node.js Version
16.x
OS
OSX 12.3.1
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: