-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Add timeouts for google_container_cluster #13203
Conversation
Code looks good! As for acceptance tests, you'll want to add something in https://github.com/hashicorp/terraform/blob/master/builtin/providers/google/resource_container_cluster_test.go. I think adding a new test based on the _basic test, but with a timeout, is the best option. Here's the command I use to run tests (from the base directory):
The keyfile json is explained at https://www.terraform.io/docs/providers/google/index.html#authentication-json-file. If you don't have a project you can use for testing let me know (once you've added the test) and I can run it for you as well. Hope that helps! |
Hi @sovanesyan I am in the process of migrating this code from this PR to the new google repo. As you can see (below), I have kept your commit in place. I just added a test on top as per @danawillow's request
Thanks for the work here Paul |
I completely forgot about this issue, sorry for not coming up with a test myself. Thanks! |
Hey, any idea what version of TF this will be in? |
It'll be in version 0.1.2 of the google provider, which should be released very soon. |
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I haven't run or added an acceptance test yet, can you help me figure out how to setup them?