terraform-provider-civo icon indicating copy to clipboard operation
terraform-provider-civo copied to clipboard

[BUG] Can't delete a Kubernetes cluster

Open nlamirault opened this issue 1 year ago • 7 comments

Description

I create a Kubernetes cluster using Terraform Civo provider v1.0.31:

https://dashboard.civo.com/kubernetes/44705df8-5e98-4e24-a362-7ac43f1696da

When i try a terraform destroy i've got this error :

Plan: 0 to add, 0 to change, 3 to destroy.
╷
│ Warning: Deprecated Resource
│ 
│   with module.kubernetes.civo_firewall_rule.this,
│   on .terraform/modules/kubernetes/firewall.tf line 21, in resource "civo_firewall_rule" "this":
│   21: resource "civo_firewall_rule" "this" {
│ 
│ This resource is deprecated, please use the `civo_firewall` resource
│ instead
╵
╷
│ Error: [INFO] error getting kubernetes cluster: 44705df8-5e98-4e24-a362-7ac43f[169](https://github.com/portefaix/portefaix-infrastructure/actions/runs/4734909528/jobs/8404459496#step:6:169)6da
│ 
│ 
╵
Operation failed: failed running terraform apply (exit 1)

Deletion works fine using the UI.

Screenshots

Kubernetes-Civo-com

Additional information

No response

nlamirault avatar Apr 18 '23 16:04 nlamirault