-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAKE CLOUDFORMATION ROLLBACKS FASTER AND DONT BLOCK SUBSEQUENTIAL DEPLOYMENTS #30029
Comments
Thank you for your feedback and we appreciate it. This is actually not something CDK can do but cloudformation and we suggest submit your feedback to cloudformation. I still have some suggestions for you though to help you accelerate your development cycle from CDK's perspective.
const app = new cdk.App();
new MySampleStack(app, 'my-stack'); // <== change `my-stack` to `my-stack2` and deploy This allows you to have a separate stack deploying for a very quick inspection while the old one would eventually complete its rollback and stop.
I hope you find the tips above useful and enjoy your CDK journey. |
@pahud thanks for the insights! I just got really frustraded yesterday due to the amount of time I had to wait and because I was facing again an error I thought I had already fixed. |
|
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Describe the feature
3 minutes to deploy and end up with an error, then a rollback initialized. This rollback took longer than the deploy? why? Is it done manually by an engineer?
Use Case
NOT GET PISSED OFF WITH THE AMOUNT OF TIME IT TAKES TO RETRY A CDK DEPLOYMENT
Proposed Solution
ROLLBACKS could be done instantly if all resources were put on a "trash bin" and later handled by AWS internal services. Why make us wait for you to purge them? Put them on a separate place and handle the deleting afterwards. Consider user initiated deleteion events as the a proof the User agrees to have those resources deleted. I'm extremelly irritaded right now because a simple stack that takes 3 minutes to be deployed took more than 20 minutes to be rolledback. This is a horrible DX.
Other Information
No response
Acknowledgements
CDK version used
2.139
Environment details (OS name and version, etc.)
macos
The text was updated successfully, but these errors were encountered: