terraform-provider-civo
terraform-provider-civo copied to clipboard
[BUG] Can't delete a Kubernetes cluster
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
Additional information
No response