question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to specify stack creation and rollback timeout?

See original GitHub issue

Very often (especially with CustomResources) Cloudformation fails to create the stack - BUT it takes about 1 hour for Cloudformation to recognize this and then another hour to rollback. This is incredibly frustrating if you try to get things done!

Is there a way to set a timeout to lets say 5 minutes for stack creation and rollback to speed up trial and error development and deployment?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:16
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

31reactions
damnhandycommented, Dec 1, 2021

@eladb this does not address the issue. What folks are really looking for is the CDK equivalent to --timeout-in-minutes that is part of the AWS CLI today. Even if this was something that is set from the CDK CLI that would be more than acceptable.

11reactions
amoraescommented, Aug 19, 2019

There is support for timeout in the CloudFormation (see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-add-tags.html) but I can’t find how to use this in CDK. I am interested in this feature as well, waiting that much for a rollback is painful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting AWS CloudFormation stack options
By default, there is no timeout for stack creation. However, individual resources may have their own timeouts based on the nature of the...
Read more >
CREATE_FAILED error with timeout message is ... - IBM
This setting is under the Advanced section in the AWS CloudFormation console under the Options page. With this setting, the stack's state is...
Read more >
Set the ECS Cloudformation Update Stack timeout?
I've created a workaround for this problem until AWS creates a ECS UpdatePolicy and CreationPolicy that allows for resourcing signaling:.
Read more >
create-stack — AWS CLI 2.3.2 Command Reference
Set to true to disable rollback of the stack if stack creation failed. You can specify either DisableRollback or OnFailure , but not...
Read more >
Why is my AWS CloudFormation stack stuck in progress?
... Knowledge Center article with this video: https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation- stack -stuck-progress...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found