resource "vultr_kubernetes" "k8" {
region = var.region
label = "vke-staging"
version = "v1.23.5+2"
node_pools {
node_quantity = 1
plan = "vc2-1c-2gb"
label = "np-3"
}
}
When I update, for example, the node quantity to 2, and run terraform apply, causes the k8s label to be gone. This can be seen in the web ui.
Or when using data like the example bellow
data "vultr_kubernetes" "cluster" {
filter {
name = "label"
values = ["vke-staging"]
}
}
raises the error
│ Error: no results were found
│
│ with module.k8s.data.vultr_kubernetes.cluster,
│ on ../../modules/k8s/main.tf line 28, in data "vultr_kubernetes" "cluster":
│ 28: data "vultr_kubernetes" "cluster" {
Given the k8s resource
When I update, for example, the node quantity to
2
, and runterraform apply
, causes the k8s label to be gone. This can be seen in the web ui.Or when using
data
like the example bellowraises the error