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

feat: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout #1420

Conversation

SNA-rh
Copy link
Contributor

@SNA-rh SNA-rh commented Jun 1, 2021

PR o'clock

Description

During #1359 a default timeout of 300 seconds was set for this.

We create hundreds of clusters a day and have seen many clusters take longer than 300 seconds. Our team previously used the wait_for_cluster_cmd (NOTE: This is no longer available in this module) variable to wait 600 seconds. Sometimes, even 5 minutes isn't even enough. This PR will make this configurable, so our clusters are more likely to come up by the time we need to apply aws auth.

Resolves #1395

Checklist

@SNA-rh SNA-rh changed the title Add variable to allow configuring the wait for cluster timeout. fix: Add variable to allow configuring the wait for cluster timeout. Jun 1, 2021
Copy link
Member

@barryib barryib left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Just variable rewording, otherwise it's LGTM.

variables.tf Outdated Show resolved Hide resolved
@barryib barryib self-assigned this Jun 1, 2021
Copy link
Member

@barryib barryib left a comment

Choose a reason for hiding this comment

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

On last thing to clarify please ^^.

variables.tf Outdated Show resolved Hide resolved
variables.tf Show resolved Hide resolved
@SNA-rh
Copy link
Contributor Author

SNA-rh commented Jun 1, 2021

@barryib I updated the code. Let me know if it looks better now.

I was not sure of the process, so I resolved the comment issues myself. I hope that's OK.

@barryib barryib changed the title fix: Add variable to allow configuring the wait for cluster timeout. fix: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout. Jun 1, 2021
@barryib barryib changed the title fix: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout. fix: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout Jun 1, 2021
@barryib barryib changed the title fix: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout feat: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout Jun 1, 2021
@barryib barryib merged commit 686193e into terraform-aws-modules:master Jun 1, 2021
@barryib
Copy link
Member

barryib commented Jun 1, 2021

Nice. Thanks @SNA-rh for you contribution.

@jonDowdle
Copy link

@barryib We're real excited to use this. Any idea when the next release gets cut that'd include it?

@barryib
Copy link
Member

barryib commented Jun 9, 2021

Just released it in v17.1.0

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout on wait_for_cluster is breaking our terraform code
3 participants