Change in behaviour when using cdk deploy --no-execute. It looks like in commit 00cdd2a that cdk no longer generates a unique change set instead it always creates the change set with the name of cdk-deploy-change-set. While I can see why this is helpful with certain deployment pipelines, it's broken ours as our workflow allows developers to prepare multiple change sets across a single stack.
In the referenced commit there is mention of providing override mechanisms (in this case --change-set-name) which seems to have not made it into the commit. I'm not sure if this was by design or not, however in our case it would be highly useful.
I'm filing this as a bug since it's a breaking change in functionality from our perspective, however I can also see how this could be a feature request so please accept my apologies if I have misfiled this issue.
Reproduction Steps
with any stack use cdk deploy --no-execute
What did you expect to happen?
The previous behaviour was to generate a stack name with CDK- no it just always generates the stack name of cdk-deploy-change-set
What actually happened?
Environment
- CDK CLI Version : 1.90.0 (build 7edba31)
- Framework Version: 1.78.0
- Node.js Version: v14.15.4
- Alpine Linux 3.13.0
- TypeScript (3.8.3)
Other
I'm happy to create a PR to address this, please let me know if this would be helpful or not.
This is 🐛 Bug Report