-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
"does not have attribute 'endpoint'" blocking "terraform destroy" #262
Comments
Can you post the state? |
I was having a similar issue but was only get 1 error to begin with; that error was:
So as @skang0601 suggested I looked at my state, odd thing is, it seems to be empty:
Ran
What is even more weird is when I run a So at the end of the day it seems like everything is destroyed, but terraform is in a state where planning thinks it is destroyed, but destroy doesn't, weird. Edit: I forgot to mention |
Is this a problem with this module? Or a general TF issue? |
@max-rocket-internet that is a good question. I was thinking of trying to re-create some of the module in a normal TF project (not a module) for testing. Then I could remove pieces of the code one at a time to see what resource causes the issue. If someone has some extra time go ahead and give it a try...or hopefully TF 0.12 will come out soon and fix a lot of issues :) |
First time destroying a EKS stack built based on terraform-aws-eks v2.2.1, got
Then $ terraform refresh
|
I'm seeing this issue too. I'm referencing the clusters' output in module input variables. This works fine when creating and destroying. However when executing destroy a second time I see the Below is an example output from the first destroy and then running destroy again.
|
For what it's worth, the |
Closing this old issue. Feel free to open a new one when running against latest release 🙂 |
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?
$ terraform destroy
If this is a bug, how to reproduce? Please include a code sample if relevant.
locals {
cluster_name = "************************-eks-${random_string.suffix.result}"
}
you would get an error while running
$ terraform apply
$ terraform destroy
You would get that error.
What's the expected behavior?
terraform destroy without any errors
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Affected module version:
Terraform-aws-eks v2.1.0
OS: $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Terraform version:
Terraform v0.11.11
Any other relevant info
"remove s3 contents along with dynamodb Items" is not a good way to fix it. Any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: