diff --git a/upcloud/resource_upcloud_kubernetes_test.go b/upcloud/resource_upcloud_kubernetes_test.go index af7d7a3e..6c12d53a 100644 --- a/upcloud/resource_upcloud_kubernetes_test.go +++ b/upcloud/resource_upcloud_kubernetes_test.go @@ -57,6 +57,7 @@ func TestAccUpcloudKubernetes(t *testing.T) { Config: testDataS2, ImportStateVerify: true, Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr(cName, "control_plane_ip_filter.#", "0"), resource.TestCheckResourceAttr(g1Name, "node_count", "1"), resource.TestCheckResourceAttr(g2Name, "node_count", "2"), ), diff --git a/upcloud/testdata/upcloud_kubernetes/kubernetes_s2.tf b/upcloud/testdata/upcloud_kubernetes/kubernetes_s2.tf index 07fa3adf..a30f8550 100644 --- a/upcloud/testdata/upcloud_kubernetes/kubernetes_s2.tf +++ b/upcloud/testdata/upcloud_kubernetes/kubernetes_s2.tf @@ -23,7 +23,7 @@ resource "upcloud_network" "main" { } resource "upcloud_kubernetes_cluster" "main" { - control_plane_ip_filter = ["0.0.0.0/0"] + control_plane_ip_filter = [] name = var.name network = upcloud_network.main.id zone = var.zone