-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Timeout on initial apply on wait_for_cluster null_resource, then inconsistent final plan on re-apply #990
Comments
There's a Terraform bug here that we're triggering in a few ways. This is the same bug as #939 but that had a logical fix. This resource should not be being tagged as create before destroy by Terraform. Not sure if related to #984 as that's also happening to TF 0.12.29. In your particular case, does dropping the existing null resource allow the plan to finish applying? |
I deleted the existing null resource and ran an apply again:
I wonder if there is some problem with my configuration? I specified only private subnets in the subnet var, as that is what I saw the example doing. Should I provide my public subnets as well? |
I have the same problem:
|
What happens when you run the |
Hmm it doesn't print anything. It seems like there's nothing in the $ENDPOINT var.
|
You need to set ENDPOINT to the your kubernetes API endpoint's address when testing manually. |
Ok after setting the endpoint var, I also realized the -q flag means no output so I wouldn't see the response anyway. So I ran it again and it seems like it's failing to get an SSL connection:
|
Your wget is too old. Either update the environment you're running or switch to curl by changing |
My issue was resolved. Turns out it was a networking issue for me. My execution environment couldn't reach the master on the |
That was it! Thank you! I updated wget to v 1.20.3 and the terraform apply was able to finish. |
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 have issues
I'm submitting a...
What is the current behavior?
When I apply the module, seemingly everything gets created, but the wait_for_cluster null resource times out. After checking the cluster on EKS, the node group wasn't created. When I re-apply the module, I get an 'Inconsistent final plan' error:
If this is a bug, how to reproduce? Please include a code sample if relevant.
I just copied the sample code from the readme but updated it with the version locking from the latest basic sample.
What's the expected behavior?
The cluster should get created properly with a node group and terraform should apply successfully.
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: