Skip to content
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

Added Timeout as parameter so it can be passed from stack parameters. #476

Merged
merged 2 commits into from
Sep 4, 2018
Merged

Added Timeout as parameter so it can be passed from stack parameters. #476

merged 2 commits into from
Sep 4, 2018

Conversation

RexChenjq
Copy link

When using the template, timeout value for autoscaling group->creation policy can now be customised.
Default value is PT5M which sometimes blocks the deployment as the job it is running is too heavy and 5mins is not able to finish the ASG setup.

…hen using the template. Default value is PT5M
@lox
Copy link
Contributor

lox commented Sep 4, 2018

Thanks @RexChenjq! Perhaps InstanceCreationTimeout might be clearer?

@@ -641,7 +647,7 @@ Resources:

CreationPolicy:
ResourceSignal:
Timeout: PT5M
Timeout: { !Ref Timeout }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just be !Ref Timeout I believe!

@rex-myob
Copy link
Contributor

rex-myob commented Sep 4, 2018

@lox Yep good idea.

I have renamed the parameter to InstanceCreationTimeout and fixed the syntax of !Ref by using { Ref } to maintain the consistency of the style.

Thanks!

@lox lox merged commit a919f1e into buildkite:master Sep 4, 2018
@lox
Copy link
Contributor

lox commented Sep 4, 2018

Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants