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

how to delete cluster created by this module? #954

Closed
1 of 4 tasks
DiemanXT1 opened this issue Jul 20, 2020 · 3 comments
Closed
1 of 4 tasks

how to delete cluster created by this module? #954

DiemanXT1 opened this issue Jul 20, 2020 · 3 comments

Comments

@DiemanXT1
Copy link

DiemanXT1 commented Jul 20, 2020

I have a question that i failed to find in any documentation for this module - how to delete cluster created by this module?

I'm submitting a...

  • bug report
  • feature request
  • support request - read the FAQ first!
  • kudos, thank you, warm fuzzy
@dpiddockcmp
Copy link
Contributor

terraform destroy will delete everything in a terraform state file.

You can set create_eks = false option on the module definition.

You can delete the module import. BUT you must have the two data sources and the kubernetes provider configured with details of the cluster. Obviously, you can't reference the outputs from the module you deleted, so will need to hardcode the cluster's name. This will only work while the eks_cluster still exists in AWS.

dpiddockcmp referenced this issue Jul 23, 2020
…roup rules and IAM policies (#933)

In order to ensure proper ordering when running terraform destroy. This will block Terraform from removing up security group rules before the cluster has finished its clean up chores.
@barryib
Copy link
Member

barryib commented Aug 19, 2020

Closing. @DiemanXT1 feel free to reopen the issue, if the answer doesn't help you.

@barryib barryib closed this as completed Aug 19, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 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

No branches or pull requests

3 participants