terraform-provider-scaleway
terraform-provider-scaleway copied to clipboard
Resource instance: unavailable to remove related resources by a Kubernetes cluster
trafficstars
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
Affected Resource(s)
- scaleway_instance_server
Terraform Configuration Files
Using delete_additional_resources=true on the cluster, seemingly has no effect.
terraform {
required_providers {
scaleway = { source = "scaleway/scaleway" }
}
required_version = ">= 0.13"
}
provider "scaleway" {
zone = "nl-ams-2"
}
resource "scaleway_k8s_cluster" "cluster" {
name = "some-name"
version = "1.24.5"
cni = "flannel"
delete_additional_resources = true
}
resource "scaleway_k8s_pool" "k8s_pool_main" {
depends_on = [scaleway_k8s_cluster.cluster]
cluster_id = scaleway_k8s_cluster.cluster.id
name = "some-name-for-pool"
node_type = "PLAY2-MICRO"
size = 2
min_size = 0
max_size = 2
autoscaling = false
autohealing = true
}
Debug Output
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
- #0000