diff --git a/internal/services/k8s/cluster_test.go b/internal/services/k8s/cluster_test.go index 0f2d5b400a..30469d1270 100644 --- a/internal/services/k8s/cluster_test.go +++ b/internal/services/k8s/cluster_test.go @@ -341,7 +341,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), Steps: []resource.TestStep{ { - Config: testAccCheckK8SClusterAutoUpgrade(false, "any", 0, previousK8SVersion), + Config: testAccCheckK8SClusterAutoUpgrade(false, "any", 0, fmt.Sprintf("%q", previousK8SVersion)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", previousK8SVersion), @@ -351,7 +351,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), }, { - Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, previousK8SVersionMinor), + Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, fmt.Sprintf("%q", previousK8SVersionMinor)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", previousK8SVersionMinor), @@ -361,7 +361,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), }, { - Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, latestK8SVersionMinor), + Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, fmt.Sprintf("%q", latestK8SVersionMinor)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", latestK8SVersionMinor), @@ -371,7 +371,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), }, { - Config: testAccCheckK8SClusterAutoUpgrade(false, "any", 0, latestK8SVersion), + Config: testAccCheckK8SClusterAutoUpgrade(false, "any", 0, fmt.Sprintf("%q", latestK8SVersion)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", latestK8SVersion), @@ -381,7 +381,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), }, { - Config: testAccCheckK8SClusterAutoUpgrade(true, "tuesday", 3, latestK8SVersionMinor), + Config: testAccCheckK8SClusterAutoUpgrade(true, "tuesday", 3, fmt.Sprintf("%q", latestK8SVersionMinor)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", latestK8SVersionMinor), @@ -391,7 +391,7 @@ func TestAccCluster_AutoUpgrade(t *testing.T) { ), }, { - Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, latestK8SVersionMinor), + Config: testAccCheckK8SClusterAutoUpgrade(true, "any", 0, fmt.Sprintf("%q", latestK8SVersionMinor)), Check: resource.ComposeTestCheckFunc( testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", latestK8SVersionMinor), @@ -789,7 +789,7 @@ resource "scaleway_vpc_private_network" "auto_upgrade" { resource "scaleway_k8s_cluster" "auto_upgrade" { cni = "calico" - version = "%s" + version = %s name = "test-auto-upgrade" auto_upgrade { enable = %t diff --git a/internal/services/k8s/k8s_version_data_source.go b/internal/services/k8s/k8s_version_data_source.go index 30824c1177..d957b59ef9 100644 --- a/internal/services/k8s/k8s_version_data_source.go +++ b/internal/services/k8s/k8s_version_data_source.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "strings" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" @@ -19,7 +20,12 @@ func DataSourceVersion() *schema.Resource { "name": { Type: schema.TypeString, Required: true, - Description: "Name of the Kubernetes version", + Description: "Name of the Kubernetes version in the form x.y.z", + }, + "major_minor_only": { + Type: schema.TypeString, + Computed: true, + Description: "The name of the version in the form x.y (ignoring patch version)", }, "available_cnis": { Type: schema.TypeList, @@ -88,8 +94,14 @@ func DataSourceK8SVersionRead(ctx context.Context, d *schema.ResourceData, m any version = res } + majorMinor, err := VersionNameWithoutPatch(version.Name) + if err != nil { + return diag.FromErr(err) + } + d.SetId(fmt.Sprintf("%s/%s", region, version.Name)) _ = d.Set("name", version.Name) + _ = d.Set("major_minor_only", majorMinor) _ = d.Set("available_cnis", version.AvailableCnis) _ = d.Set("available_container_runtimes", version.AvailableContainerRuntimes) _ = d.Set("available_feature_gates", version.AvailableFeatureGates) @@ -97,3 +109,12 @@ func DataSourceK8SVersionRead(ctx context.Context, d *schema.ResourceData, m any return nil } + +func VersionNameWithoutPatch(version string) (string, error) { + versionSplit := strings.Split(version, ".") + if len(versionSplit) != 3 { + return "", fmt.Errorf("version name must contain 3 parts, got %q", version) + } + + return strings.Join(versionSplit[:2], "."), nil +} diff --git a/internal/services/k8s/k8s_version_data_source_test.go b/internal/services/k8s/k8s_version_data_source_test.go index 59319dfc94..5ff4b8f824 100644 --- a/internal/services/k8s/k8s_version_data_source_test.go +++ b/internal/services/k8s/k8s_version_data_source_test.go @@ -6,28 +6,35 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" + k8sSDK "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/k8s" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" ) func TestAccDataSourceVersion_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() + version := "1.32.2" + versionWithoutPatch := "1.32" + resource.ParallelTest(t, resource.TestCase{ ProtoV6ProviderFactories: tt.ProviderFactories, CheckDestroy: testAccCheckK8SClusterDestroy(tt), Steps: []resource.TestStep{ { - Config: ` + Config: fmt.Sprintf(` data "scaleway_k8s_version" "by_name" { - name = "1.32.2" + name = %q } - `, + `, version), Check: resource.ComposeTestCheckFunc( testAccCheckK8SVersionExists(tt, "data.scaleway_k8s_version.by_name"), - resource.TestCheckResourceAttrSet("data.scaleway_k8s_version.by_name", "name"), + resource.TestCheckResourceAttr("data.scaleway_k8s_version.by_name", "name", version), + resource.TestCheckResourceAttr("data.scaleway_k8s_version.by_name", "major_minor_only", versionWithoutPatch), resource.TestCheckResourceAttr("data.scaleway_k8s_version.by_name", "available_cnis.#", "4"), resource.TestCheckResourceAttr("data.scaleway_k8s_version.by_name", "available_cnis.0", "cilium"), resource.TestCheckResourceAttr("data.scaleway_k8s_version.by_name", "available_cnis.1", "calico"), @@ -75,6 +82,42 @@ func TestAccDataSourceVersion_Latest(t *testing.T) { }) } +func TestAccDataSourceVersion_WithAutoUpgrade(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + latestK8SVersion := testAccK8SClusterGetLatestK8SVersion(tt) + + latestK8SVersionWithoutPatch, err := k8s.VersionNameWithoutPatch(latestK8SVersion) + if err != nil { + t.Fatal(err) + } + + resource.ParallelTest(t, resource.TestCase{ + ProtoV6ProviderFactories: tt.ProviderFactories, + CheckDestroy: testAccCheckK8SClusterDestroy(tt), + Steps: []resource.TestStep{ + { + Config: ` + data "scaleway_k8s_version" "latest" { + name = "latest" + } + ` + testAccCheckK8SClusterAutoUpgrade(true, "any", 0, "data.scaleway_k8s_version.latest.major_minor_only"), + Check: resource.ComposeTestCheckFunc( + testAccCheckK8SVersionExists(tt, "data.scaleway_k8s_version.latest"), + testAccCheckK8SClusterExists(tt, "scaleway_k8s_cluster.auto_upgrade"), + resource.TestCheckResourceAttr("data.scaleway_k8s_version.latest", "name", latestK8SVersion), + resource.TestCheckResourceAttr("data.scaleway_k8s_version.latest", "major_minor_only", latestK8SVersionWithoutPatch), + resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "version", latestK8SVersionWithoutPatch), + resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "auto_upgrade.0.enable", "true"), + resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "auto_upgrade.0.maintenance_window_day", "any"), + resource.TestCheckResourceAttr("scaleway_k8s_cluster.auto_upgrade", "auto_upgrade.0.maintenance_window_start_hour", "0"), + ), + }, + }, + }) +} + func testAccCheckK8SVersionExists(tt *acctest.TestTools, n string) resource.TestCheckFunc { return func(s *terraform.State) error { rs, ok := s.RootModule().Resources[n] @@ -88,9 +131,9 @@ func testAccCheckK8SVersionExists(tt *acctest.TestTools, n string) resource.Test return err } - k8sAPI := k8s.NewAPI(tt.Meta.ScwClient()) + k8sAPI := k8sSDK.NewAPI(tt.Meta.ScwClient()) - _, err = k8sAPI.GetVersion(&k8s.GetVersionRequest{ + _, err = k8sAPI.GetVersion(&k8sSDK.GetVersionRequest{ Region: region, VersionName: name, }) @@ -101,3 +144,35 @@ func testAccCheckK8SVersionExists(tt *acctest.TestTools, n string) resource.Test return nil } } + +func TestVersionNameWithoutPatch(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + t.Run("ok-without-prefix", func(t *testing.T) { + version := "1.32.3" + expected := "1.32" + actual, err := k8s.VersionNameWithoutPatch(version) + require.NoError(t, err) + assert.Equal(t, expected, actual) + }) + t.Run("ok-with-prefix", func(t *testing.T) { + version := "v2.57.9" + expected := "v2.57" + actual, err := k8s.VersionNameWithoutPatch(version) + require.NoError(t, err) + assert.Equal(t, expected, actual) + }) + t.Run("errors", func(t *testing.T) { + versionsToTest := []string{ + "1.32.3.4", + "1.32", + "", + } + for _, version := range versionsToTest { + expectedError := "version name must contain 3 parts" + _, err := k8s.VersionNameWithoutPatch(version) + assert.ErrorContains(t, err, expectedError) + } + }) +} diff --git a/internal/services/k8s/testdata/data-source-version-basic.cassette.yaml b/internal/services/k8s/testdata/data-source-version-basic.cassette.yaml index c39eed4a9d..c2009c223b 100644 --- a/internal/services/k8s/testdata/data-source-version-basic.cassette.yaml +++ b/internal/services/k8s/testdata/data-source-version-basic.cassette.yaml @@ -17,22 +17,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1192 - body: "{\"region\":\"fr-par\", \"name\":\"1.32.2\", \"label\":\"Kubernetes 1.32.2\", \"available_cnis\":[\"cilium\", \"calico\", \"kilo\", \"none\"], \"available_container_runtimes\":[\"containerd\"], \"available_feature_gates\":[\"HPAScaleToZero\", \"InPlacePodVerticalScaling\", \"SidecarContainers\", \"DRAAdminAccess\", \"DRAResourceClaimDeviceStatus\", \"DynamicResourceAllocation\", \"PodLevelResources\", \"CPUManagerPolicyAlphaOptions\", \"ImageVolume\"], \"available_admission_plugins\":[\"AlwaysPullImages\", \"PodNodeSelector\", \"PodTolerationRestriction\"], \"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\", \"containerLogMaxSize\":\"quantity\", \"cpuCFSQuota\":\"bool\", \"cpuCFSQuotaPeriod\":\"duration\", \"cpuManagerPolicy\":\"enum:none|static\", \"cpuManagerPolicyOptions\":\"map[string]string\", \"enableDebuggingHandlers\":\"bool\", \"evictionHard\":\"map[string]string\", \"evictionMinimumReclaim\":\"map[string]string\", \"imageGCHighThresholdPercent\":\"uint32\", \"imageGCLowThresholdPercent\":\"uint32\", \"maxParallelImagePulls\":\"int32\", \"maxPods\":\"uint16\", \"registryBurst\":\"int32\", \"registryPullQPS\":\"int32\", \"serializeImagePulls\":\"bool\"}, \"deprecated_at\":\"2026-03-24T00:00:00Z\", \"end_of_life_at\":\"2025-05-24T00:00:00Z\", \"released_at\":\"2025-03-24T00:00:00Z\"}" + content_length: 1154 + body: "{\"region\":\"fr-par\",\"name\":\"1.32.2\",\"label\":\"Kubernetes 1.32.2\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"}" headers: Content-Length: - - "1192" + - "1154" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 16:18:59 GMT + - Mon, 10 Nov 2025 16:25:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) X-Request-Id: - - ab6e62a9-a67c-4744-b849-645da3197d65 + - 09b9b479-c592-441a-94f4-2d81a9c23dc4 status: 200 OK code: 200 - duration: 77.705649ms + duration: 59.317124ms - id: 1 request: proto: HTTP/1.1 @@ -49,22 +49,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1192 - body: "{\"region\":\"fr-par\", \"name\":\"1.32.2\", \"label\":\"Kubernetes 1.32.2\", \"available_cnis\":[\"cilium\", \"calico\", \"kilo\", \"none\"], \"available_container_runtimes\":[\"containerd\"], \"available_feature_gates\":[\"HPAScaleToZero\", \"InPlacePodVerticalScaling\", \"SidecarContainers\", \"DRAAdminAccess\", \"DRAResourceClaimDeviceStatus\", \"DynamicResourceAllocation\", \"PodLevelResources\", \"CPUManagerPolicyAlphaOptions\", \"ImageVolume\"], \"available_admission_plugins\":[\"AlwaysPullImages\", \"PodNodeSelector\", \"PodTolerationRestriction\"], \"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\", \"containerLogMaxSize\":\"quantity\", \"cpuCFSQuota\":\"bool\", \"cpuCFSQuotaPeriod\":\"duration\", \"cpuManagerPolicy\":\"enum:none|static\", \"cpuManagerPolicyOptions\":\"map[string]string\", \"enableDebuggingHandlers\":\"bool\", \"evictionHard\":\"map[string]string\", \"evictionMinimumReclaim\":\"map[string]string\", \"imageGCHighThresholdPercent\":\"uint32\", \"imageGCLowThresholdPercent\":\"uint32\", \"maxParallelImagePulls\":\"int32\", \"maxPods\":\"uint16\", \"registryBurst\":\"int32\", \"registryPullQPS\":\"int32\", \"serializeImagePulls\":\"bool\"}, \"deprecated_at\":\"2026-03-24T00:00:00Z\", \"end_of_life_at\":\"2025-05-24T00:00:00Z\", \"released_at\":\"2025-03-24T00:00:00Z\"}" + content_length: 1154 + body: "{\"region\":\"fr-par\",\"name\":\"1.32.2\",\"label\":\"Kubernetes 1.32.2\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"}" headers: Content-Length: - - "1192" + - "1154" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 16:18:59 GMT + - Mon, 10 Nov 2025 16:25:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) X-Request-Id: - - 2193bae3-5a2c-4c5f-a26b-aa66de89fb9e + - 96d069be-2c85-4c88-b283-7e12b58e101a status: 200 OK code: 200 - duration: 20.99848ms + duration: 24.202988ms - id: 2 request: proto: HTTP/1.1 @@ -81,22 +81,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1192 - body: "{\"region\":\"fr-par\", \"name\":\"1.32.2\", \"label\":\"Kubernetes 1.32.2\", \"available_cnis\":[\"cilium\", \"calico\", \"kilo\", \"none\"], \"available_container_runtimes\":[\"containerd\"], \"available_feature_gates\":[\"HPAScaleToZero\", \"InPlacePodVerticalScaling\", \"SidecarContainers\", \"DRAAdminAccess\", \"DRAResourceClaimDeviceStatus\", \"DynamicResourceAllocation\", \"PodLevelResources\", \"CPUManagerPolicyAlphaOptions\", \"ImageVolume\"], \"available_admission_plugins\":[\"AlwaysPullImages\", \"PodNodeSelector\", \"PodTolerationRestriction\"], \"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\", \"containerLogMaxSize\":\"quantity\", \"cpuCFSQuota\":\"bool\", \"cpuCFSQuotaPeriod\":\"duration\", \"cpuManagerPolicy\":\"enum:none|static\", \"cpuManagerPolicyOptions\":\"map[string]string\", \"enableDebuggingHandlers\":\"bool\", \"evictionHard\":\"map[string]string\", \"evictionMinimumReclaim\":\"map[string]string\", \"imageGCHighThresholdPercent\":\"uint32\", \"imageGCLowThresholdPercent\":\"uint32\", \"maxParallelImagePulls\":\"int32\", \"maxPods\":\"uint16\", \"registryBurst\":\"int32\", \"registryPullQPS\":\"int32\", \"serializeImagePulls\":\"bool\"}, \"deprecated_at\":\"2026-03-24T00:00:00Z\", \"end_of_life_at\":\"2025-05-24T00:00:00Z\", \"released_at\":\"2025-03-24T00:00:00Z\"}" + content_length: 1154 + body: "{\"region\":\"fr-par\",\"name\":\"1.32.2\",\"label\":\"Kubernetes 1.32.2\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"}" headers: Content-Length: - - "1192" + - "1154" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 16:18:59 GMT + - Mon, 10 Nov 2025 16:25:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) X-Request-Id: - - 1d043a10-777b-4514-b52a-cf645b7a5af2 + - 8b79ed20-0780-41b0-98bc-164d0c8297bc status: 200 OK code: 200 - duration: 26.093753ms + duration: 16.470728ms - id: 3 request: proto: HTTP/1.1 @@ -113,19 +113,19 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1192 - body: "{\"region\":\"fr-par\", \"name\":\"1.32.2\", \"label\":\"Kubernetes 1.32.2\", \"available_cnis\":[\"cilium\", \"calico\", \"kilo\", \"none\"], \"available_container_runtimes\":[\"containerd\"], \"available_feature_gates\":[\"HPAScaleToZero\", \"InPlacePodVerticalScaling\", \"SidecarContainers\", \"DRAAdminAccess\", \"DRAResourceClaimDeviceStatus\", \"DynamicResourceAllocation\", \"PodLevelResources\", \"CPUManagerPolicyAlphaOptions\", \"ImageVolume\"], \"available_admission_plugins\":[\"AlwaysPullImages\", \"PodNodeSelector\", \"PodTolerationRestriction\"], \"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\", \"containerLogMaxSize\":\"quantity\", \"cpuCFSQuota\":\"bool\", \"cpuCFSQuotaPeriod\":\"duration\", \"cpuManagerPolicy\":\"enum:none|static\", \"cpuManagerPolicyOptions\":\"map[string]string\", \"enableDebuggingHandlers\":\"bool\", \"evictionHard\":\"map[string]string\", \"evictionMinimumReclaim\":\"map[string]string\", \"imageGCHighThresholdPercent\":\"uint32\", \"imageGCLowThresholdPercent\":\"uint32\", \"maxParallelImagePulls\":\"int32\", \"maxPods\":\"uint16\", \"registryBurst\":\"int32\", \"registryPullQPS\":\"int32\", \"serializeImagePulls\":\"bool\"}, \"deprecated_at\":\"2026-03-24T00:00:00Z\", \"end_of_life_at\":\"2025-05-24T00:00:00Z\", \"released_at\":\"2025-03-24T00:00:00Z\"}" + content_length: 1154 + body: "{\"region\":\"fr-par\",\"name\":\"1.32.2\",\"label\":\"Kubernetes 1.32.2\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"}" headers: Content-Length: - - "1192" + - "1154" Content-Type: - application/json Date: - - Thu, 30 Oct 2025 16:18:59 GMT + - Mon, 10 Nov 2025 16:25:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) X-Request-Id: - - 2eaad79f-94ce-4cca-bf39-fff79db23bce + - 8073a4a0-f5ad-4e5d-a7f8-4d144f9e5b75 status: 200 OK code: 200 - duration: 18.417436ms + duration: 23.945355ms diff --git a/internal/services/k8s/testdata/data-source-version-with-auto-upgrade.cassette.yaml b/internal/services/k8s/testdata/data-source-version-with-auto-upgrade.cassette.yaml new file mode 100644 index 0000000000..22521d50de --- /dev/null +++ b/internal/services/k8s/testdata/data-source-version-with-auto-upgrade.cassette.yaml @@ -0,0 +1,882 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 4333 + body: "{\"versions\":[{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.33.4\",\"label\":\"Kubernetes 1.33.4\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"DRAAdminAccess\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-04T00:00:00Z\",\"end_of_life_at\":\"2026-11-04T00:00:00Z\",\"released_at\":\"2025-09-04T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.32.8\",\"label\":\"Kubernetes 1.32.8\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.31.12\",\"label\":\"Kubernetes 1.31.12\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2025-12-02T00:00:00Z\",\"end_of_life_at\":\"2026-02-02T00:00:00Z\",\"released_at\":\"2024-12-02T00:00:00Z\"}]}" + headers: + Content-Length: + - "4333" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:38 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 1059b551-37d1-45e0-a457-d99e76ee4e76 + status: 200 OK + code: 200 + duration: 86.89539ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 4333 + body: "{\"versions\":[{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.33.4\",\"label\":\"Kubernetes 1.33.4\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"DRAAdminAccess\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-04T00:00:00Z\",\"end_of_life_at\":\"2026-11-04T00:00:00Z\",\"released_at\":\"2025-09-04T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.32.8\",\"label\":\"Kubernetes 1.32.8\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.31.12\",\"label\":\"Kubernetes 1.31.12\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2025-12-02T00:00:00Z\",\"end_of_life_at\":\"2026-02-02T00:00:00Z\",\"released_at\":\"2024-12-02T00:00:00Z\"}]}" + headers: + Content-Length: + - "4333" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:38 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 5cd8fde6-406d-47df-8b69-54e1f286aba6 + status: 200 OK + code: 200 + duration: 35.561439ms +- id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 129 + host: api.scaleway.com + body: "{\"name\":\"testAccCheckK8SClusterAutoUpgrade\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"enable_routing\":false}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 420 + body: "{\"id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"name\":\"testAccCheckK8SClusterAutoUpgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.629626Z\",\"updated_at\":\"2025-11-10T21:19:38.629626Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"is_default\":false,\"private_network_count\":0,\"routing_enabled\":true,\"custom_routes_propagation_enabled\":true,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "420" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:38 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 6935c01c-4699-447c-9a75-8d41b41bc349 + status: 200 OK + code: 200 + duration: 143.739925ms +- id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/55e16b08-b4d2-4a29-935a-0fa7f6c5c186 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 420 + body: "{\"id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"name\":\"testAccCheckK8SClusterAutoUpgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.629626Z\",\"updated_at\":\"2025-11-10T21:19:38.629626Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"is_default\":false,\"private_network_count\":0,\"routing_enabled\":true,\"custom_routes_propagation_enabled\":true,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "420" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:38 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 2bef7368-4024-4a44-8f2f-c0dbd44a4b91 + status: 200 OK + code: 200 + duration: 88.692867ms +- id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 195 + host: api.scaleway.com + body: "{\"name\":\"test-auto-upgrade\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"subnets\":null,\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"default_route_propagation_enabled\":false}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1063 + body: "{\"id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"name\":\"test-auto-upgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"subnets\":[{\"id\":\"aa4179f0-1c2d-4695-bd9e-7047b957661b\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"172.18.68.0/22\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"},{\"id\":\"c14471f0-7926-4739-92f9-fc1aed2832a8\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"fd5f:519c:6d46:aaf2::/64\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"}],\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"dhcp_enabled\":true,\"default_route_propagation_enabled\":false,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "1063" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 43f74883-0f37-4a32-855d-f9bc571e41f7 + status: 200 OK + code: 200 + duration: 624.935176ms +- id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/3651dbf1-066e-476f-847a-7afaad1ffd8a + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1063 + body: "{\"id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"name\":\"test-auto-upgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"subnets\":[{\"id\":\"aa4179f0-1c2d-4695-bd9e-7047b957661b\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"172.18.68.0/22\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"},{\"id\":\"c14471f0-7926-4739-92f9-fc1aed2832a8\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"fd5f:519c:6d46:aaf2::/64\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"}],\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"dhcp_enabled\":true,\"default_route_propagation_enabled\":false,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "1063" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - b8691787-bf6a-46ee-ac86-74d6878a2ffc + status: 200 OK + code: 200 + duration: 81.480567ms +- id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 4333 + body: "{\"versions\":[{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.33.4\",\"label\":\"Kubernetes 1.33.4\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"DRAAdminAccess\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-04T00:00:00Z\",\"end_of_life_at\":\"2026-11-04T00:00:00Z\",\"released_at\":\"2025-09-04T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.32.8\",\"label\":\"Kubernetes 1.32.8\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.31.12\",\"label\":\"Kubernetes 1.31.12\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2025-12-02T00:00:00Z\",\"end_of_life_at\":\"2026-02-02T00:00:00Z\",\"released_at\":\"2024-12-02T00:00:00Z\"}]}" + headers: + Content-Length: + - "4333" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - e4fef3f9-c3f3-420c-9b62-1e5cf88aeb36 + status: 200 OK + code: 200 + duration: 21.171245ms +- id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 784 + host: api.scaleway.com + body: "{\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"type\":\"\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"version\":\"1.34.1\",\"cni\":\"calico\",\"pools\":null,\"autoscaler_config\":{\"scale_down_disabled\":null,\"scale_down_delay_after_add\":null,\"estimator\":\"unknown_estimator\",\"expander\":\"unknown_expander\",\"ignore_daemonsets_utilization\":null,\"balance_similar_node_groups\":null,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":null,\"scale_down_utilization_threshold\":null,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enable\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"feature_gates\":[],\"admission_plugins\":[],\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\"}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1557 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:39.893189Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"creating\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"\",\"new_images_enabled\":false,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1557" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 27b517e1-5909-4a2a-929e-8df45e038e40 + status: 200 OK + code: 200 + duration: 404.669071ms +- id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1556 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:39.893189Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"creating\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1556" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:40 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 92f66160-9e3f-4813-9263-6e774af5623e + status: 200 OK + code: 200 + duration: 92.031139ms +- id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1597 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:40.419375Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"pool_required\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1597" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - f403c8bc-e999-48fb-8a50-5b0a33ecfa39 + status: 200 OK + code: 200 + duration: 92.764698ms +- id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - created_at_asc + page: + - "1" + status: + - unknown + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958/pools?order_by=created_at_asc&page=1&status=unknown + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 28 + body: "{\"total_count\":0,\"pools\":[]}" + headers: + Content-Length: + - "28" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 114e7c29-53a0-497a-85ea-c52e22ef2211 + status: 200 OK + code: 200 + duration: 120.486688ms +- id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1597 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:40.419375Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"pool_required\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1597" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - a5b64d4b-eb3c-43f3-aca9-42af9eb14a22 + status: 200 OK + code: 200 + duration: 24.829757ms +- id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958/kubeconfig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1672 + body: "{\"name\":\"kubeconfig\",\"content_type\":\"application/octet-stream\",\"content\":\"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gbmFtZTogInRlc3QtYXV0by11cGdyYWRlIgogIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSlhla05EUVZGSFowRjNTVUpCWjBsQ1FVUkJTMEpuWjNGb2EycFBVRkZSUkVGcVFWWk5VazEzUlZGWlJGWlJVVVJGZDNCeVpGZEtiR050Tld3S1pFZFdlazFDTkZoRVZFa3hUVlJGZDA5VVNYaE5WR3Q2VDFadldFUlVUVEZOVkVWM1QxUkplRTFVYTNwUFZtOTNSbFJGVkUxQ1JVZEJNVlZGUVhoTlN3cGhNMVpwV2xoS2RWcFlVbXhqZWtKYVRVSk5SMEo1Y1VkVFRUUTVRV2RGUjBORGNVZFRUVFE1UVhkRlNFRXdTVUZDUlRWSWVGQjZTVE50VEV4Skt6VkZDakZ2TUVsUFVtUXlMMGhQVlRoRE16UnZjVWhOVXpoRVVHVmFWeTk1VlhGamNIUllTV2RZY0ZkUVNXeHJXVXRLZGpjdlYxTlhSR3hxVFVGdU5FeHFXVTRLV0dWUFNGVnRZV3BSYWtKQlRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRUW1kT1ZraFNUVUpCWmpoRlFsUkJSRUZSU0M5TlFqQkhRVEZWWkFwRVoxRlhRa0pUZVZSUldVOHZTbk5NWldORU56Smxlak5zVUZkcU1VTnJhVGg2UVV0Q1oyZHhhR3RxVDFCUlVVUkJaMDVKUVVSQ1JrRnBRWEpzT0dodUNtUnlXVUo0TDFSSGFWSmpjbTExWW1sdVFtTk5kM28wUWxCTVpVcEVlVko1VkhOSk5sUlJTV2hCU2xsR05raGtNM3BGYUdGb1FYWk9Sa1l4WTFReGJFTUtWR05vY0hkQlIyRmlha1U0ZFRGa09UUjJSQ3NLTFMwdExTMUZUa1FnUTBWU1ZFbEdTVU5CVkVVdExTMHRMUW89CiAgICBzZXJ2ZXI6IGh0dHBzOi8vNGRhMTY1NTktOGFkNi00NWEyLWE1MTItNjdkM2Y5OTQzOTU4LmFwaS5rOHMuZnItcGFyLnNjdy5jbG91ZDo2NDQzCmNvbnRleHRzOgotIG5hbWU6IGFkbWluQHRlc3QtYXV0by11cGdyYWRlCiAgY29udGV4dDoKICAgIGNsdXN0ZXI6ICJ0ZXN0LWF1dG8tdXBncmFkZSIKICAgIHVzZXI6IHRlc3QtYXV0by11cGdyYWRlLWFkbWluCmN1cnJlbnQtY29udGV4dDogYWRtaW5AdGVzdC1hdXRvLXVwZ3JhZGUKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQp1c2VyczoKLSBuYW1lOiB0ZXN0LWF1dG8tdXBncmFkZS1hZG1pbgogIHVzZXI6CiAgICB0b2tlbjogRktVMVYzcjRzSnVweGtNM01INURVVDRvSEs3TXV1NGQwY0doTTl0SGxEa3NBN09GcjlyTHBTUHA=\"}" + headers: + Content-Length: + - "1672" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - e8f982b2-758a-48f7-9ab1-2112be6fa6f7 + status: 200 OK + code: 200 + duration: 94.591599ms +- id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions/1.34.1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1026 + body: "{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"}" + headers: + Content-Length: + - "1026" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 04193c60-4f54-4577-8a4e-389485b4202e + status: 200 OK + code: 200 + duration: 18.002431ms +- id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1597 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:40.419375Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"pool_required\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1597" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 96ce9b03-515d-4327-bd4d-32d5517ced8e + status: 200 OK + code: 200 + duration: 25.408635ms +- id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 4333 + body: "{\"versions\":[{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.33.4\",\"label\":\"Kubernetes 1.33.4\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"DRAAdminAccess\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-04T00:00:00Z\",\"end_of_life_at\":\"2026-11-04T00:00:00Z\",\"released_at\":\"2025-09-04T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.32.8\",\"label\":\"Kubernetes 1.32.8\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.31.12\",\"label\":\"Kubernetes 1.31.12\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2025-12-02T00:00:00Z\",\"end_of_life_at\":\"2026-02-02T00:00:00Z\",\"released_at\":\"2024-12-02T00:00:00Z\"}]}" + headers: + Content-Length: + - "4333" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 10032033-9fa6-4c8e-baf9-671fd8571894 + status: 200 OK + code: 200 + duration: 23.624523ms +- id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/versions + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 4333 + body: "{\"versions\":[{\"region\":\"fr-par\",\"name\":\"1.34.1\",\"label\":\"Kubernetes 1.34.1\",\"available_cnis\":[\"cilium\",\"cilium_native\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-29T00:00:00Z\",\"end_of_life_at\":\"2026-11-29T00:00:00Z\",\"released_at\":\"2025-09-29T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.33.4\",\"label\":\"Kubernetes 1.33.4\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"DRAAdminAccess\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-09-04T00:00:00Z\",\"end_of_life_at\":\"2026-11-04T00:00:00Z\",\"released_at\":\"2025-09-04T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.32.8\",\"label\":\"Kubernetes 1.32.8\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"DRAAdminAccess\",\"DRAResourceClaimDeviceStatus\",\"DynamicResourceAllocation\",\"PodLevelResources\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2026-03-24T00:00:00Z\",\"end_of_life_at\":\"2025-05-24T00:00:00Z\",\"released_at\":\"2025-03-24T00:00:00Z\"},{\"region\":\"fr-par\",\"name\":\"1.31.12\",\"label\":\"Kubernetes 1.31.12\",\"available_cnis\":[\"cilium\",\"calico\",\"kilo\",\"none\"],\"available_container_runtimes\":[\"containerd\"],\"available_feature_gates\":[\"HPAScaleToZero\",\"InPlacePodVerticalScaling\",\"SidecarContainers\",\"CPUManagerPolicyAlphaOptions\",\"ImageVolume\"],\"available_admission_plugins\":[\"AlwaysPullImages\",\"PodNodeSelector\",\"PodTolerationRestriction\"],\"available_kubelet_args\":{\"containerLogMaxFiles\":\"uint16\",\"containerLogMaxSize\":\"quantity\",\"cpuCFSQuota\":\"bool\",\"cpuCFSQuotaPeriod\":\"duration\",\"cpuManagerPolicy\":\"enum:none|static\",\"cpuManagerPolicyOptions\":\"map[string]string\",\"enableDebuggingHandlers\":\"bool\",\"evictionHard\":\"map[string]string\",\"evictionMinimumReclaim\":\"map[string]string\",\"imageGCHighThresholdPercent\":\"uint32\",\"imageGCLowThresholdPercent\":\"uint32\",\"maxParallelImagePulls\":\"int32\",\"maxPods\":\"uint16\",\"registryBurst\":\"int32\",\"registryPullQPS\":\"int32\",\"serializeImagePulls\":\"bool\"},\"deprecated_at\":\"2025-12-02T00:00:00Z\",\"end_of_life_at\":\"2026-02-02T00:00:00Z\",\"released_at\":\"2024-12-02T00:00:00Z\"}]}" + headers: + Content-Length: + - "4333" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 8dab16fe-cb68-4632-b387-e19140e6237e + status: 200 OK + code: 200 + duration: 25.67209ms +- id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/55e16b08-b4d2-4a29-935a-0fa7f6c5c186 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 420 + body: "{\"id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"name\":\"testAccCheckK8SClusterAutoUpgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.629626Z\",\"updated_at\":\"2025-11-10T21:19:38.629626Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"is_default\":false,\"private_network_count\":1,\"routing_enabled\":true,\"custom_routes_propagation_enabled\":true,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "420" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - b7a29db2-5065-407b-b33a-9bbbba0bfcb3 + status: 200 OK + code: 200 + duration: 95.728735ms +- id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/3651dbf1-066e-476f-847a-7afaad1ffd8a + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1063 + body: "{\"id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"name\":\"test-auto-upgrade\",\"tags\":[],\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"subnets\":[{\"id\":\"aa4179f0-1c2d-4695-bd9e-7047b957661b\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"172.18.68.0/22\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"},{\"id\":\"c14471f0-7926-4739-92f9-fc1aed2832a8\",\"created_at\":\"2025-11-10T21:19:38.834193Z\",\"updated_at\":\"2025-11-10T21:19:38.834193Z\",\"subnet\":\"fd5f:519c:6d46:aaf2::/64\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\"}],\"vpc_id\":\"55e16b08-b4d2-4a29-935a-0fa7f6c5c186\",\"dhcp_enabled\":true,\"default_route_propagation_enabled\":false,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "1063" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - c0625c7e-2449-405e-97df-a541397a1550 + status: 200 OK + code: 200 + duration: 123.603965ms +- id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1597 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:40.419375Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"pool_required\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1597" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 16055d0e-7229-4b28-90e9-6be5ad9b39f7 + status: 200 OK + code: 200 + duration: 34.120803ms +- id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958/kubeconfig + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1672 + body: "{\"name\":\"kubeconfig\",\"content_type\":\"application/octet-stream\",\"content\":\"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gbmFtZTogInRlc3QtYXV0by11cGdyYWRlIgogIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVSlhla05EUVZGSFowRjNTVUpCWjBsQ1FVUkJTMEpuWjNGb2EycFBVRkZSUkVGcVFWWk5VazEzUlZGWlJGWlJVVVJGZDNCeVpGZEtiR050Tld3S1pFZFdlazFDTkZoRVZFa3hUVlJGZDA5VVNYaE5WR3Q2VDFadldFUlVUVEZOVkVWM1QxUkplRTFVYTNwUFZtOTNSbFJGVkUxQ1JVZEJNVlZGUVhoTlN3cGhNMVpwV2xoS2RWcFlVbXhqZWtKYVRVSk5SMEo1Y1VkVFRUUTVRV2RGUjBORGNVZFRUVFE1UVhkRlNFRXdTVUZDUlRWSWVGQjZTVE50VEV4Skt6VkZDakZ2TUVsUFVtUXlMMGhQVlRoRE16UnZjVWhOVXpoRVVHVmFWeTk1VlhGamNIUllTV2RZY0ZkUVNXeHJXVXRLZGpjdlYxTlhSR3hxVFVGdU5FeHFXVTRLV0dWUFNGVnRZV3BSYWtKQlRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRUW1kT1ZraFNUVUpCWmpoRlFsUkJSRUZSU0M5TlFqQkhRVEZWWkFwRVoxRlhRa0pUZVZSUldVOHZTbk5NWldORU56Smxlak5zVUZkcU1VTnJhVGg2UVV0Q1oyZHhhR3RxVDFCUlVVUkJaMDVKUVVSQ1JrRnBRWEpzT0dodUNtUnlXVUo0TDFSSGFWSmpjbTExWW1sdVFtTk5kM28wUWxCTVpVcEVlVko1VkhOSk5sUlJTV2hCU2xsR05raGtNM3BGYUdGb1FYWk9Sa1l4WTFReGJFTUtWR05vY0hkQlIyRmlha1U0ZFRGa09UUjJSQ3NLTFMwdExTMUZUa1FnUTBWU1ZFbEdTVU5CVkVVdExTMHRMUW89CiAgICBzZXJ2ZXI6IGh0dHBzOi8vNGRhMTY1NTktOGFkNi00NWEyLWE1MTItNjdkM2Y5OTQzOTU4LmFwaS5rOHMuZnItcGFyLnNjdy5jbG91ZDo2NDQzCmNvbnRleHRzOgotIG5hbWU6IGFkbWluQHRlc3QtYXV0by11cGdyYWRlCiAgY29udGV4dDoKICAgIGNsdXN0ZXI6ICJ0ZXN0LWF1dG8tdXBncmFkZSIKICAgIHVzZXI6IHRlc3QtYXV0by11cGdyYWRlLWFkbWluCmN1cnJlbnQtY29udGV4dDogYWRtaW5AdGVzdC1hdXRvLXVwZ3JhZGUKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQp1c2VyczoKLSBuYW1lOiB0ZXN0LWF1dG8tdXBncmFkZS1hZG1pbgogIHVzZXI6CiAgICB0b2tlbjogRktVMVYzcjRzSnVweGtNM01INURVVDRvSEs3TXV1NGQwY0doTTl0SGxEa3NBN09GcjlyTHBTUHA=\"}" + headers: + Content-Length: + - "1672" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 37e4461e-a413-4791-9c28-9ca929a82180 + status: 200 OK + code: 200 + duration: 24.137788ms +- id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + with_additional_resources: + - "false" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958?with_additional_resources=false + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1593 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:46.493663Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"deleting\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":false,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1593" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 9a83b9cf-3fa2-42e8-a8a8-bc2e221be92f + status: 200 OK + code: 200 + duration: 149.021697ms +- id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1592 + body: "{\"region\":\"fr-par\",\"id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"created_at\":\"2025-11-10T21:19:39.893188Z\",\"updated_at\":\"2025-11-10T21:19:46.493663Z\",\"type\":\"kapsule\",\"name\":\"test-auto-upgrade\",\"description\":\"\",\"status\":\"deleting\",\"version\":\"1.34.1\",\"cni\":\"calico\",\"tags\":[\"terraform-test\",\"scaleway_k8s_cluster\",\"auto_upgrade\"],\"cluster_url\":\"https://4da16559-8ad6-45a2-a512-67d3f9943958.api.k8s.fr-par.scw.cloud:6443\",\"dns_wildcard\":\"*.4da16559-8ad6-45a2-a512-67d3f9943958.nodes.k8s.fr-par.scw.cloud\",\"autoscaler_config\":{\"scale_down_disabled\":false,\"scale_down_delay_after_add\":\"10m\",\"estimator\":\"binpacking\",\"expander\":\"random\",\"ignore_daemonsets_utilization\":false,\"balance_similar_node_groups\":false,\"expendable_pods_priority_cutoff\":0,\"scale_down_unneeded_time\":\"10m\",\"scale_down_utilization_threshold\":0.5,\"max_graceful_termination_sec\":0},\"auto_upgrade\":{\"enabled\":true,\"maintenance_window\":{\"start_hour\":0,\"day\":\"any\"}},\"upgrade_available\":false,\"feature_gates\":[],\"admission_plugins\":[],\"open_id_connect_config\":{\"issuer_url\":\"\",\"client_id\":\"\",\"username_claim\":\"\",\"username_prefix\":\"\",\"groups_claim\":[],\"groups_prefix\":\"\",\"required_claim\":[]},\"apiserver_cert_sans\":[],\"private_network_id\":\"3651dbf1-066e-476f-847a-7afaad1ffd8a\",\"commitment_ends_at\":\"2025-11-10T21:19:39.893200Z\",\"acl_available\":true,\"iam_nodes_group_id\":\"06e2d462-1d5a-414e-9270-cc7a474a926f\",\"new_images_enabled\":true,\"pod_cidr\":\"100.64.0.0/15\",\"service_cidr\":\"10.32.0.0/20\",\"service_dns_ip\":\"10.32.0.10\"}" + headers: + Content-Length: + - "1592" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:46 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 02c5eaa9-0bcc-4f42-9413-6f3cdd3bafba + status: 200 OK + code: 200 + duration: 82.106393ms +- id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 128 + body: "{\"message\":\"resource is not found\",\"resource\":\"cluster\",\"resource_id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"type\":\"not_found\"}" + headers: + Content-Length: + - "128" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:51 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 3589fbe1-3b97-46a8-84e0-b1e38855d765 + status: 404 Not Found + code: 404 + duration: 31.412805ms +- id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/3651dbf1-066e-476f-847a-7afaad1ffd8a + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:52 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 7254d691-baa5-4f97-b830-d0ddc8fa8876 + status: 204 No Content + code: 204 + duration: 1.303147634s +- id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/55e16b08-b4d2-4a29-935a-0fa7f6c5c186 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:53 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 061c2445-861f-4675-ae88-d4ca8c5c6281 + status: 204 No Content + code: 204 + duration: 286.69251ms +- id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/4da16559-8ad6-45a2-a512-67d3f9943958 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 128 + body: "{\"message\":\"resource is not found\",\"resource\":\"cluster\",\"resource_id\":\"4da16559-8ad6-45a2-a512-67d3f9943958\",\"type\":\"not_found\"}" + headers: + Content-Length: + - "128" + Content-Type: + - application/json + Date: + - Mon, 10 Nov 2025 21:19:53 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + X-Request-Id: + - 15edf807-9a78-4df8-b825-a346c0949f2b + status: 404 Not Found + code: 404 + duration: 18.945313ms diff --git a/internal/services/k8s/testdata/test-version-name-without-patch.cassette.yaml b/internal/services/k8s/testdata/test-version-name-without-patch.cassette.yaml new file mode 100644 index 0000000000..2797c38e00 --- /dev/null +++ b/internal/services/k8s/testdata/test-version-name-without-patch.cassette.yaml @@ -0,0 +1,3 @@ +--- +version: 2 +interactions: []