From abb244ed517a174e7264e1b307f5ba9812394000 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Mon, 27 Oct 2025 07:04:27 +0100 Subject: [PATCH 1/9] feat(datawarehouse): add support for deployments, databases and users --- docs/resources/datawarehouse_database.md | 54 + docs/resources/datawarehouse_deployment.md | 83 + docs/resources/datawarehouse_user.md | 77 + internal/services/datawarehouse/database.go | 149 ++ .../services/datawarehouse/database_test.go | 141 ++ internal/services/datawarehouse/deployment.go | 341 +++++ .../services/datawarehouse/deployment_test.go | 124 ++ internal/services/datawarehouse/helpers.go | 34 + .../services/datawarehouse/helpers_test.go | 35 + internal/services/datawarehouse/sweep_test.go | 16 + .../testdata/database-basic.cassette.yaml | 936 ++++++++++++ .../testdata/deployment-basic.cassette.yaml | 1183 +++++++++++++++ .../testdata/user-basic.cassette.yaml | 1332 +++++++++++++++++ .../services/datawarehouse/testfuncs/sweep.go | 47 + internal/services/datawarehouse/types.go | 36 + internal/services/datawarehouse/user.go | 195 +++ internal/services/datawarehouse/user_test.go | 166 ++ internal/services/datawarehouse/waiters.go | 31 + provider/sdkv2.go | 4 + .../resources/datawarehouse_database.md.tmpl | 55 + .../datawarehouse_deployment.md.tmpl | 84 ++ .../resources/datawarehouse_user.md.tmpl | 78 + 22 files changed, 5201 insertions(+) create mode 100644 docs/resources/datawarehouse_database.md create mode 100644 docs/resources/datawarehouse_deployment.md create mode 100644 docs/resources/datawarehouse_user.md create mode 100644 internal/services/datawarehouse/database.go create mode 100644 internal/services/datawarehouse/database_test.go create mode 100644 internal/services/datawarehouse/deployment.go create mode 100644 internal/services/datawarehouse/deployment_test.go create mode 100644 internal/services/datawarehouse/helpers.go create mode 100644 internal/services/datawarehouse/helpers_test.go create mode 100644 internal/services/datawarehouse/sweep_test.go create mode 100644 internal/services/datawarehouse/testdata/database-basic.cassette.yaml create mode 100644 internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml create mode 100644 internal/services/datawarehouse/testdata/user-basic.cassette.yaml create mode 100644 internal/services/datawarehouse/testfuncs/sweep.go create mode 100644 internal/services/datawarehouse/types.go create mode 100644 internal/services/datawarehouse/user.go create mode 100644 internal/services/datawarehouse/user_test.go create mode 100644 internal/services/datawarehouse/waiters.go create mode 100644 templates/resources/datawarehouse_database.md.tmpl create mode 100644 templates/resources/datawarehouse_deployment.md.tmpl create mode 100644 templates/resources/datawarehouse_user.md.tmpl diff --git a/docs/resources/datawarehouse_database.md b/docs/resources/datawarehouse_database.md new file mode 100644 index 000000000..8010c12b6 --- /dev/null +++ b/docs/resources/datawarehouse_database.md @@ -0,0 +1,54 @@ +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_database" +--- + +# Resource: scaleway_datawarehouse_database + +Creates and manages Scaleway Data Warehouse databases within a deployment. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_database" "main" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "my_database" +} +``` + +## Argument Reference + +The following arguments are supported: + +- `deployment_id` - (Required) ID of the Data Warehouse deployment to which this database belongs. +- `name` - (Required) Name of the database. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the database should be created. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the database (format: `{region}/{deployment_id}/{name}`). +- `size` - Size of the database in GB. + +## Import + +Data Warehouse databases can be imported using the `{region}/{deployment_id}/{name}`, e.g. + +```bash +terraform import scaleway_datawarehouse_database.main fr-par/11111111-1111-1111-1111-111111111111/my_database +``` + diff --git a/docs/resources/datawarehouse_deployment.md b/docs/resources/datawarehouse_deployment.md new file mode 100644 index 000000000..712f7069a --- /dev/null +++ b/docs/resources/datawarehouse_deployment.md @@ -0,0 +1,83 @@ +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_deployment" +--- + +# Resource: scaleway_datawarehouse_deployment + +Creates and manages Scaleway Data Warehouse deployments. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} +``` + +### With Tags + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" + tags = ["production", "analytics"] +} +``` + +## Argument Reference + +The following arguments are supported: + +- `name` - (Required) Name of the Data Warehouse deployment. +- `version` - (Required, Forces new resource) ClickHouse version to use (e.g., "v25"). Changing this forces recreation of the deployment. +- `replica_count` - (Required) Number of replicas. +- `cpu_min` - (Required) Minimum CPU count. Must be less than or equal to `cpu_max`. +- `cpu_max` - (Required) Maximum CPU count. Must be greater than or equal to `cpu_min`. +- `ram_per_cpu` - (Required) RAM per CPU in GB. +- `password` - (Optional) Password for the first user of the deployment. If not specified, a random password will be generated. Note: password is only used during deployment creation. +- `tags` - (Optional) List of tags to apply to the deployment. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the deployment should be created. +- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the deployment is associated with. + +~> **Important:** Private endpoints are not yet supported by the API. A public endpoint is always created automatically. + +~> **Note:** During the private beta phase, modifying `cpu_min`, `cpu_max`, and `replica_count` has no effect until the feature is launched in general availability. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the deployment. +- `status` - The status of the deployment (e.g., "ready", "provisioning"). +- `created_at` - Date and time of deployment creation (RFC 3339 format). +- `updated_at` - Date and time of deployment last update (RFC 3339 format). +- `public_network` - Public endpoint information (always created automatically). + - `id` - The ID of the public endpoint. + - `dns_record` - DNS record for the public endpoint. + - `services` - List of services exposed on the public endpoint. + - `protocol` - Service protocol (e.g., "tcp", "https", "mysql"). + - `port` - TCP port number. + +## Import + +Data Warehouse deployments can be imported using the `{region}/{id}`, e.g. + +```bash +terraform import scaleway_datawarehouse_deployment.main fr-par/11111111-1111-1111-1111-111111111111 +``` + diff --git a/docs/resources/datawarehouse_user.md b/docs/resources/datawarehouse_user.md new file mode 100644 index 000000000..eddd2232e --- /dev/null +++ b/docs/resources/datawarehouse_user.md @@ -0,0 +1,77 @@ +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_user" +--- + +# Resource: scaleway_datawarehouse_user + +Creates and manages Scaleway Data Warehouse users within a deployment. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_user" "main" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "my_user" + password = "user_password_123" +} +``` + +### Admin User + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_user" "admin" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "admin_user" + password = "admin_password_456" + is_admin = true +} +``` + +## Argument Reference + +The following arguments are supported: + +- `deployment_id` - (Required) ID of the Data Warehouse deployment to which this user belongs. +- `name` - (Required) Name of the ClickHouse user. +- `password` - (Required) Password for the ClickHouse user. +- `is_admin` - (Optional) Whether the user has administrator privileges. Defaults to `false`. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the user should be created. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the user (format: `{region}/{deployment_id}/{name}`). + +## Import + +Data Warehouse users can be imported using the `{region}/{deployment_id}/{name}`, e.g. + +```bash +terraform import scaleway_datawarehouse_user.main fr-par/11111111-1111-1111-1111-111111111111/my_user +``` + diff --git a/internal/services/datawarehouse/database.go b/internal/services/datawarehouse/database.go new file mode 100644 index 000000000..3ff2c32d7 --- /dev/null +++ b/internal/services/datawarehouse/database.go @@ -0,0 +1,149 @@ +package datawarehouse + +import ( + "context" + "fmt" + "strings" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" +) + +func ResourceDatabase() *schema.Resource { + return &schema.Resource{ + CreateContext: resourceDatabaseCreate, + ReadContext: resourceDatabaseRead, + DeleteContext: resourceDatabaseDelete, + Importer: &schema.ResourceImporter{ + StateContext: schema.ImportStatePassthroughContext, + }, + Schema: map[string]*schema.Schema{ + "region": regional.Schema(), + "deployment_id": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ID of the Datawarehouse deployment to which this database belongs.", + }, + "name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "Name of the database.", + }, + "size": { + Type: schema.TypeInt, + Computed: true, + Description: "Size of the database (in GB).", + }, + }, + } +} + +func resourceDatabaseCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region := scw.Region(d.Get("region").(string)) + deploymentID := d.Get("deployment_id").(string) + name := d.Get("name").(string) + + req := &datawarehouseapi.CreateDatabaseRequest{ + Region: region, + DeploymentID: deploymentID, + Name: name, + } + + _, err := api.CreateDatabase(req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + d.SetId(ResourceDatabaseID(region, deploymentID, name)) + + return resourceDatabaseRead(ctx, d, meta) +} + +func resourceDatabaseRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region, deploymentID, name, err := ResourceDatabaseParseID(d.Id()) + if err != nil { + return diag.FromErr(err) + } + + resp, err := api.ListDatabases(&datawarehouseapi.ListDatabasesRequest{ + Region: region, + DeploymentID: deploymentID, + Name: scw.StringPtr(name), + }, scw.WithContext(ctx)) + if err != nil { + if httperrors.Is404(err) { + d.SetId("") + + return nil + } + + return diag.FromErr(err) + } + + var found *datawarehouseapi.Database + + for _, db := range resp.Databases { + if db.Name == name { + found = db + + break + } + } + + if found == nil { + d.SetId("") + + return nil + } + + _ = d.Set("deployment_id", deploymentID) + _ = d.Set("name", found.Name) + _ = d.Set("size", int(found.Size)) + + return nil +} + +func resourceDatabaseDelete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region, deploymentID, name, err := ResourceDatabaseParseID(d.Id()) + if err != nil { + return diag.FromErr(err) + } + + err = api.DeleteDatabase(&datawarehouseapi.DeleteDatabaseRequest{ + Region: region, + DeploymentID: deploymentID, + Name: name, + }, scw.WithContext(ctx)) + if err != nil && !httperrors.Is404(err) { + return diag.FromErr(err) + } + + d.SetId("") + + return nil +} + +func ResourceDatabaseID(region scw.Region, deploymentID, name string) string { + return fmt.Sprintf("%s/%s/%s", region, deploymentID, name) +} + +func ResourceDatabaseParseID(id string) (scw.Region, string, string, error) { + parts := strings.Split(id, "/") + if len(parts) != 3 { + return "", "", "", fmt.Errorf("unexpected format of ID (%s), expected region/deployment_id/name", id) + } + + return scw.Region(parts[0]), parts[1], parts[2], nil +} diff --git a/internal/services/datawarehouse/database_test.go b/internal/services/datawarehouse/database_test.go new file mode 100644 index 000000000..52ee689a0 --- /dev/null +++ b/internal/services/datawarehouse/database_test.go @@ -0,0 +1,141 @@ +package datawarehouse_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + datawarehouseSDK "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse" +) + +func TestAccDatabase_Basic(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + // Fetch latest ClickHouse version + api := datawarehouse.NewAPI(tt.Meta) + + versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) + if err != nil { + t.Fatalf("unable to fetch datawarehouse versions: %s", err) + } + + if len(versionsResp.Versions) == 0 { + t.Fatal("no datawarehouse versions available") + } + + latestVersion := versionsResp.Versions[0].Version + + // Terraform acceptance test + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProtoV6ProviderFactories: tt.ProviderFactories, + CheckDestroy: isDatabaseDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: fmt.Sprintf(` +resource "scaleway_datawarehouse_deployment" "main" { + name = "tf-test-deploy-db" + version = "%s" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "password@1234567" +} + +resource "scaleway_datawarehouse_database" "mydb" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "testdb" +} +`, latestVersion), + Check: resource.ComposeTestCheckFunc( + isDeploymentPresent(tt, "scaleway_datawarehouse_deployment.main"), + isDatabasePresent(tt, "scaleway_datawarehouse_database.mydb"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_database.mydb", "name", "testdb"), + ), + }, + }, + }) +} + +func isDatabasePresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { + return func(s *terraform.State) error { + rs, ok := s.RootModule().Resources[n] + if !ok { + return fmt.Errorf("resource not found: %s", n) + } + + id := rs.Primary.ID // format: region/deployment_id/name + + region, deploymentID, dbName, err := datawarehouse.ResourceDatabaseParseID(id) + if err != nil { + return fmt.Errorf("unexpected ID format (%s), expected region/deployment_id/name", id) + } + + api := datawarehouse.NewAPI(tt.Meta) + + resp, err := api.ListDatabases(&datawarehouseSDK.ListDatabasesRequest{ + Region: region, + DeploymentID: deploymentID, + Name: scw.StringPtr(dbName), + }, scw.WithContext(context.Background())) + if err != nil { + return err + } + + for _, db := range resp.Databases { + if db.Name == dbName { + return nil + } + } + + return fmt.Errorf("database %s not found", dbName) + } +} + +func isDatabaseDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { + return func(s *terraform.State) error { + for _, rs := range s.RootModule().Resources { + if rs.Type != "scaleway_datawarehouse_database" { + continue + } + + id := rs.Primary.ID // format: region/deployment_id/name + + region, deploymentID, dbName, err := datawarehouse.ResourceDatabaseParseID(id) + if err != nil { + return fmt.Errorf("unexpected ID format (%s), expected region/deployment_id/name", id) + } + + api := datawarehouse.NewAPI(tt.Meta) + + resp, err := api.ListDatabases(&datawarehouseSDK.ListDatabasesRequest{ + Region: region, + DeploymentID: deploymentID, + Name: scw.StringPtr(dbName), + }, scw.WithContext(context.Background())) + if err != nil { + if httperrors.Is404(err) { + continue + } + + return err + } + + for _, db := range resp.Databases { + if db.Name == dbName { + return fmt.Errorf("database %s still exists", dbName) + } + } + } + + return nil + } +} diff --git a/internal/services/datawarehouse/deployment.go b/internal/services/datawarehouse/deployment.go new file mode 100644 index 000000000..2597916fe --- /dev/null +++ b/internal/services/datawarehouse/deployment.go @@ -0,0 +1,341 @@ +package datawarehouse + +import ( + "context" + "fmt" + "time" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" +) + +func ResourceDeployment() *schema.Resource { + return &schema.Resource{ + CreateContext: resourceDeploymentCreate, + ReadContext: resourceDeploymentRead, + UpdateContext: resourceDeploymentUpdate, + DeleteContext: resourceDeploymentDelete, + Importer: &schema.ResourceImporter{ + StateContext: schema.ImportStatePassthroughContext, + }, + Timeouts: &schema.ResourceTimeout{ + Create: schema.DefaultTimeout(30 * time.Minute), + Read: schema.DefaultTimeout(5 * time.Minute), + Update: schema.DefaultTimeout(30 * time.Minute), + Delete: schema.DefaultTimeout(30 * time.Minute), + }, + CustomizeDiff: customdiff.All( + func(_ context.Context, diff *schema.ResourceDiff, _ any) error { + cpuMin := diff.Get("cpu_min").(int) + cpuMax := diff.Get("cpu_max").(int) + + if cpuMin > cpuMax { + return fmt.Errorf("cpu_min (%d) must be <= cpu_max (%d)", cpuMin, cpuMax) + } + + return nil + }, + ), + Schema: map[string]*schema.Schema{ + "region": regional.Schema(), + "project_id": account.ProjectIDSchema(), + "name": { + Type: schema.TypeString, + Required: true, + Description: "Name of the Datawarehouse deployment", + }, + "tags": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "List of tags to apply", + }, + "version": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ClickHouse version to use", + }, + "replica_count": { + Type: schema.TypeInt, + Required: true, + Description: "Number of replicas", + }, + "cpu_min": { + Type: schema.TypeInt, + Required: true, + Description: "Minimum CPU count", + }, + "cpu_max": { + Type: schema.TypeInt, + Required: true, + Description: "Maximum CPU count", + }, + "ram_per_cpu": { + Type: schema.TypeInt, + Required: true, + Description: "RAM per CPU (GB)", + }, + "password": { + Type: schema.TypeString, + Sensitive: true, + Optional: true, + Description: "Password for the first user of the deployment", + }, + "public_network": { + Type: schema.TypeList, + Computed: true, + Description: "Public endpoint configuration. A public endpoint is created by default.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "id": { + Type: schema.TypeString, + Computed: true, + Description: "ID of the public endpoint", + }, + "dns_record": { + Type: schema.TypeString, + Computed: true, + Description: "DNS record for the public endpoint", + }, + "services": { + Type: schema.TypeList, + Computed: true, + Description: "List of services exposed on the public endpoint", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "protocol": { + Type: schema.TypeString, + Computed: true, + Description: "Service protocol (e.g. \"tcp\", \"https\", \"mysql\")", + }, + "port": { + Type: schema.TypeInt, + Computed: true, + Description: "TCP port number", + }, + }, + }, + }, + }, + }, + }, + // Computed + "status": { + Type: schema.TypeString, + Computed: true, + Description: "The status of the deployment", + }, + "created_at": { + Type: schema.TypeString, + Computed: true, + Description: "Date and time of deployment creation (RFC 3339 format)", + }, + "updated_at": { + Type: schema.TypeString, + Computed: true, + Description: "Date and time of deployment last update (RFC 3339 format)", + }, + }, + } +} + +func resourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region := scw.Region(d.Get("region").(string)) + req := &datawarehouseapi.CreateDeploymentRequest{ + Region: region, + ProjectID: d.Get("project_id").(string), + Name: d.Get("name").(string), + Version: d.Get("version").(string), + ReplicaCount: uint32(d.Get("replica_count").(int)), + CPUMin: uint32(d.Get("cpu_min").(int)), + CPUMax: uint32(d.Get("cpu_max").(int)), + RAMPerCPU: uint32(d.Get("ram_per_cpu").(int)), + Password: d.Get("password").(string), + } + + if v, ok := d.GetOk("tags"); ok { + req.Tags = expandStringList(v.([]any)) + } + + req.Endpoints = []*datawarehouseapi.EndpointSpec{ + { + Public: &datawarehouseapi.EndpointSpecPublicDetails{}, + }, + } + + deployment, err := api.CreateDeployment(req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + deployment, err = waitForDatawarehouseDeployment(ctx, api, region, deployment.ID, d.Timeout(schema.TimeoutCreate)) + if err != nil { + return diag.FromErr(err) + } + + d.SetId(deployment.ID) + + return resourceDeploymentRead(ctx, d, meta) +} + +func resourceDeploymentRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region := scw.Region(d.Get("region").(string)) + id := d.Id() + + _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutRead)) + if err != nil { + return diag.FromErr(err) + } + + deployment, err := api.GetDeployment(&datawarehouseapi.GetDeploymentRequest{ + Region: region, + DeploymentID: id, + }, scw.WithContext(ctx)) + if err != nil { + if httperrors.Is404(err) { + d.SetId("") + + return nil + } + + return diag.FromErr(err) + } + + _ = d.Set("region", string(region)) + _ = d.Set("project_id", deployment.ProjectID) + _ = d.Set("name", deployment.Name) + _ = d.Set("tags", flattenStringList(deployment.Tags)) + _ = d.Set("version", deployment.Version) + _ = d.Set("replica_count", int(deployment.ReplicaCount)) + _ = d.Set("cpu_min", int(deployment.CPUMin)) + _ = d.Set("cpu_max", int(deployment.CPUMax)) + _ = d.Set("ram_per_cpu", int(deployment.RAMPerCPU)) + _ = d.Set("status", string(deployment.Status)) + _ = d.Set("created_at", deployment.CreatedAt.Format(time.RFC3339)) + _ = d.Set("updated_at", deployment.UpdatedAt.Format(time.RFC3339)) + + publicBlock, hasPublic := flattenPublicNetwork(deployment.Endpoints) + if hasPublic { + _ = d.Set("public_network", publicBlock.([]map[string]any)) + } else { + _ = d.Set("public_network", nil) + } + + return nil +} + +func resourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + var diags diag.Diagnostics + + region := scw.Region(d.Get("region").(string)) + id := d.Id() + + _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutUpdate)) + if err != nil { + return diag.FromErr(err) + } + + req := &datawarehouseapi.UpdateDeploymentRequest{ + Region: region, + DeploymentID: id, + } + changed := false + + if d.HasChange("name") { + req.Name = scw.StringPtr(d.Get("name").(string)) + changed = true + } + + if d.HasChange("tags") { + req.Tags = scw.StringsPtr(expandStringList(d.Get("tags").([]any))) + changed = true + } + + if d.HasChange("cpu_min") { + diags = append(diags, diag.Diagnostic{ + Severity: diag.Warning, + Summary: "cpu_min cannot be updated in private beta", + Detail: "Modifying cpu_min has no effect until this feature is launched in general availability.", + }) + req.CPUMin = scw.Uint32Ptr(uint32(d.Get("cpu_min").(int))) + changed = true + } + + if d.HasChange("cpu_max") { + diags = append(diags, diag.Diagnostic{ + Severity: diag.Warning, + Summary: "cpu_max cannot be updated in private beta", + Detail: "Modifying cpu_max has no effect until this feature is launched in general availability.", + }) + req.CPUMax = scw.Uint32Ptr(uint32(d.Get("cpu_max").(int))) + changed = true + } + + if d.HasChange("replica_count") { + diags = append(diags, diag.Diagnostic{ + Severity: diag.Warning, + Summary: "replica_count cannot be updated in private beta", + Detail: "Modifying replica_count has no effect until this feature is launched in general availability.", + }) + req.ReplicaCount = scw.Uint32Ptr(uint32(d.Get("replica_count").(int))) + changed = true + } + + if changed { + resp, err := api.UpdateDeployment(req, scw.WithContext(ctx)) + _ = resp + + if err != nil { + return diag.FromErr(err) + } + + _, err = waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutUpdate)) + if err != nil { + return diag.FromErr(err) + } + } + + readDiags := resourceDeploymentRead(ctx, d, meta) + + return append(diags, readDiags...) +} + +func resourceDeploymentDelete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region := scw.Region(d.Get("region").(string)) + id := d.Id() + + _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutDelete)) + if err != nil { + return diag.FromErr(err) + } + + _, err = api.DeleteDeployment(&datawarehouseapi.DeleteDeploymentRequest{ + Region: region, + DeploymentID: id, + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + _, err = waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutDelete)) + if err != nil && !httperrors.Is404(err) { + return diag.FromErr(err) + } + + return nil +} diff --git a/internal/services/datawarehouse/deployment_test.go b/internal/services/datawarehouse/deployment_test.go new file mode 100644 index 000000000..622825b0f --- /dev/null +++ b/internal/services/datawarehouse/deployment_test.go @@ -0,0 +1,124 @@ +package datawarehouse_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + datawarehouseSDK "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse" +) + +func TestAccDeployment_Basic(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + api := datawarehouse.NewAPI(tt.Meta) + + versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) + if err != nil { + t.Fatalf("unable to fetch datawarehouse versions: %s", err) + } + + if len(versionsResp.Versions) == 0 { + t.Fatal("no datawarehouse versions available") + } + + latestVersion := versionsResp.Versions[0].Version + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProtoV6ProviderFactories: tt.ProviderFactories, + CheckDestroy: isDeploymentDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: fmt.Sprintf(` +resource "scaleway_datawarehouse_deployment" "main" { + name = "tf-test-deploy-basic" + version = "%s" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "password@1234567" +} +`, latestVersion), + Check: resource.ComposeTestCheckFunc( + isDeploymentPresent(tt, "scaleway_datawarehouse_deployment.main"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "name", "tf-test-deploy-basic"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "version", latestVersion), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "replica_count", "1"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "cpu_min", "2"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "cpu_max", "4"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "ram_per_cpu", "4"), + + // Public endpoint is present + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "public_network.#", "1"), + ), + }, + + { + // Update tags only + Config: fmt.Sprintf(` +resource "scaleway_datawarehouse_deployment" "main" { + name = "tf-test-deploy-basic" + version = "%s" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + tags = ["tag1", "tag2"] + password = "password@1234567" +} +`, latestVersion), + Check: resource.ComposeTestCheckFunc( + isDeploymentPresent(tt, "scaleway_datawarehouse_deployment.main"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "tags.#", "2"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "tags.0", "tag1"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "tags.1", "tag2"), + + // Public network still present + resource.TestCheckResourceAttr("scaleway_datawarehouse_deployment.main", "public_network.#", "1"), + ), + }, + }, + }) +} + +// Helpers + +// isDeploymentPresent is now defined in helpers_test.go + +func isDeploymentDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { + return func(s *terraform.State) error { + for _, rs := range s.RootModule().Resources { + if rs.Type != "scaleway_datawarehouse_deployment" { + continue + } + + id := rs.Primary.ID + region := rs.Primary.Attributes["region"] + + api := datawarehouse.NewAPI(tt.Meta) + + _, err := api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ + Region: scw.Region(region), + DeploymentID: id, + }, scw.WithContext(context.Background())) + if err == nil { + return fmt.Errorf("deployment %s still exists", id) + } + + if !httperrors.Is404(err) { + return err + } + } + + return nil + } +} diff --git a/internal/services/datawarehouse/helpers.go b/internal/services/datawarehouse/helpers.go new file mode 100644 index 000000000..6a71f30ea --- /dev/null +++ b/internal/services/datawarehouse/helpers.go @@ -0,0 +1,34 @@ +package datawarehouse + +import ( + "time" + + datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/meta" +) + +const ( + defaultWaitRetryInterval = 30 * time.Second +) + +func NewAPI(m any) *datawarehouseapi.API { + return datawarehouseapi.NewAPI(meta.ExtractScwClient(m)) +} + +func expandStringList(list []any) []string { + res := make([]string, len(list)) + for i, v := range list { + res[i] = v.(string) + } + + return res +} + +func flattenStringList(list []string) []any { + res := make([]any, len(list)) + for i, v := range list { + res[i] = v + } + + return res +} diff --git a/internal/services/datawarehouse/helpers_test.go b/internal/services/datawarehouse/helpers_test.go new file mode 100644 index 000000000..ce20bf845 --- /dev/null +++ b/internal/services/datawarehouse/helpers_test.go @@ -0,0 +1,35 @@ +package datawarehouse_test + +import ( + "context" + "fmt" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + datawarehouseSDK "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse" +) + +// Common helper functions shared across all datawarehouse tests + +func isDeploymentPresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { + return func(s *terraform.State) error { + rs, ok := s.RootModule().Resources[n] + if !ok { + return fmt.Errorf("resource not found: %s", n) + } + + id := rs.Primary.ID + region := rs.Primary.Attributes["region"] + + api := datawarehouse.NewAPI(tt.Meta) + _, err := api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ + Region: scw.Region(region), + DeploymentID: id, + }, scw.WithContext(context.Background())) + + return err + } +} diff --git a/internal/services/datawarehouse/sweep_test.go b/internal/services/datawarehouse/sweep_test.go new file mode 100644 index 000000000..9535bc9f2 --- /dev/null +++ b/internal/services/datawarehouse/sweep_test.go @@ -0,0 +1,16 @@ +package datawarehouse_test + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + datawarehousetestfuncs "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse/testfuncs" +) + +func init() { + datawarehousetestfuncs.AddTestSweepers() +} + +func TestMain(m *testing.M) { + resource.TestMain(m) +} diff --git a/internal/services/datawarehouse/testdata/database-basic.cassette.yaml b/internal/services/datawarehouse/testdata/database-basic.cassette.yaml new file mode 100644 index 000000000..9700cfb43 --- /dev/null +++ b/internal/services/datawarehouse/testdata/database-basic.cassette.yaml @@ -0,0 +1,936 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 90 + uncompressed: false + body: '{"total_count":1,"versions":[{"end_of_life_at":"2026-03-21T00:00:00Z","version":"v25"}]}' + headers: + Content-Length: + - "90" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2ee76a46-b8a1-406f-a441-62e62f071d2e + status: 200 OK + code: 200 + duration: 347.422708ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 224 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"tf-test-deploy-db","tags":null,"version":"v25","replica_count":1,"password":"password@1234567","cpu_min":2,"cpu_max":4,"endpoints":[{"public":{}}],"ram_per_cpu":4}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 642 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "642" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 288625d6-f85f-4f80-b05b-f1f50feac7dd + status: 200 OK + code: 200 + duration: 457.125042ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 642 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "642" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 69ff9e4a-957e-4ec6-b154-a100609f86e3 + status: 200 OK + code: 200 + duration: 103.648083ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4d0d3185-23bd-403b-bd4e-aa1458a04082 + status: 200 OK + code: 200 + duration: 186.740167ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6eb9e556-e862-4be2-8516-ce9d868d70a2 + status: 200 OK + code: 200 + duration: 138.538209ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7dba18e7-0b47-4952-9533-332ac7a1ddba + status: 200 OK + code: 200 + duration: 103.327875ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 17 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"testdb"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 27 + uncompressed: false + body: '{"name":"testdb","size":0}' + headers: + Content-Length: + - "27" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fe4e74e6-7b7d-4467-aa60-e28a58be8411 + status: 200 OK + code: 200 + duration: 201.828375ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 60 + uncompressed: false + body: '{"databases":[{"name":"testdb","size":0}],"total_count":1}' + headers: + Content-Length: + - "60" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9bd7ad47-a1bb-422c-b2bd-8faad12fcaaf + status: 200 OK + code: 200 + duration: 141.256167ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a5a2a0df-8c82-40fb-aece-f9247c24d8b4 + status: 200 OK + code: 200 + duration: 108.667375ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 60 + uncompressed: false + body: '{"databases":[{"name":"testdb","size":0}],"total_count":1}' + headers: + Content-Length: + - "60" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c52e7511-69e3-437e-8ef1-56c01613770a + status: 200 OK + code: 200 + duration: 210.578625ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 70ce6c47-3090-470f-a90a-ac9af2b0b729 + status: 200 OK + code: 200 + duration: 144.029833ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ac27d5ca-6221-4cdc-ade7-e87f62d07b58 + status: 200 OK + code: 200 + duration: 97.709792ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 60 + uncompressed: false + body: '{"databases":[{"name":"testdb","size":0}],"total_count":1}' + headers: + Content-Length: + - "60" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6bc1aa6a-2299-4cc0-bb3b-cc718a9333bb + status: 200 OK + code: 200 + duration: 251.100625ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases/testdb + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a8b8b45d-7c66-4084-b79f-fb85a8299c00 + status: 204 No Content + code: 204 + duration: 213.638334ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 664 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + headers: + Content-Length: + - "664" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0cefc57d-fe2a-46e0-85e4-9574b3cf0c7c + status: 200 OK + code: 200 + duration: 104.3585ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:44:40.846395Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ba0911d0-cade-438e-a5e5-265ec207fbae + status: 200 OK + code: 200 + duration: 172.133209ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:44:40.846395Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:41 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a9bb4fc4-5423-4679-b4fd-8614905b3ccf + status: 200 OK + code: 200 + duration: 101.810417ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:46:11 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4b8cba5e-3785-4084-986e-817c6710460d + status: 404 Not Found + code: 404 + duration: 90.388375ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:46:11 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c465bb89-3c02-49be-8e3f-3f958efab5cb + status: 404 Not Found + code: 404 + duration: 30.708417ms diff --git a/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml b/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml new file mode 100644 index 000000000..0b4e3c861 --- /dev/null +++ b/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml @@ -0,0 +1,1183 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 90 + uncompressed: false + body: '{"total_count":1,"versions":[{"end_of_life_at":"2026-03-21T00:00:00Z","version":"v25"}]}' + headers: + Content-Length: + - "90" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 79e8097e-11e4-4863-be8f-634698d27233 + status: 200 OK + code: 200 + duration: 168.342958ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 227 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"tf-test-deploy-basic","tags":null,"version":"v25","replica_count":1,"password":"password@1234567","cpu_min":2,"cpu_max":4,"endpoints":[{"public":{}}],"ram_per_cpu":4}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 645 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "645" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e90173d4-dc5b-4b5d-84e5-6e478a30ccf2 + status: 200 OK + code: 200 + duration: 388.508084ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 645 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "645" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d222e4ca-2588-4a9f-9706-847476644da4 + status: 200 OK + code: 200 + duration: 89.3115ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:07 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ff407b59-2422-426b-9474-17456636c8fe + status: 200 OK + code: 200 + duration: 112.025833ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:07 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 82da95e8-134b-45d0-82b2-ed2495a035e3 + status: 200 OK + code: 200 + duration: 87.219458ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:07 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0622f44c-a16b-47d1-8b0f-6dcadbab1a58 + status: 200 OK + code: 200 + duration: 91.597459ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:07 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 32395584-1c69-4b05-9dca-3b2591f675d1 + status: 200 OK + code: 200 + duration: 83.085459ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:08 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9bad1440-44da-4959-8e06-22474213e4a6 + status: 200 OK + code: 200 + duration: 95.822583ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:08 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4c5577b0-f313-4339-93a7-6cdaa7a14b22 + status: 200 OK + code: 200 + duration: 89.70875ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:09 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 61454321-c0f1-43a6-852a-f305e64713d4 + status: 200 OK + code: 200 + duration: 178.331958ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:09 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5d98bb6a-b0a6-40f7-bce4-dfc26c217d69 + status: 200 OK + code: 200 + duration: 103.019791ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 667 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + headers: + Content-Length: + - "667" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2a0540d5-cbf4-45dc-94dd-690f5231c417 + status: 200 OK + code: 200 + duration: 122.847167ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 24 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"tags":["tag1","tag2"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 432 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "432" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - aba4342e-244b-49c7-9a97-c5059afae0a8 + status: 200 OK + code: 200 + duration: 119.254584ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6ac7de55-d5ee-4b01-9fd6-93e0177e3f62 + status: 200 OK + code: 200 + duration: 220.854959ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4c4e1c76-09d5-4fd2-a699-dfabb8d7fb2f + status: 200 OK + code: 200 + duration: 176.18725ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2d6d0116-8591-42ca-8f69-30a58bff325a + status: 200 OK + code: 200 + duration: 155.604417ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:11 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d35187d0-bd9c-40d7-b855-00051930e837 + status: 200 OK + code: 200 + duration: 295.153625ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:12 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3c08ff47-b7fd-4372-82ec-0a199ceff498 + status: 200 OK + code: 200 + duration: 289.602708ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:12 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4ede65c4-849b-4bdd-9de6-e9486e6da775 + status: 200 OK + code: 200 + duration: 350.06225ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 681 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + headers: + Content-Length: + - "681" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:13 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6d798430-0675-4e1c-ac42-869d2606000d + status: 200 OK + code: 200 + duration: 85.28125ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 684 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:13.593239Z","version":"v25"}' + headers: + Content-Length: + - "684" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:13 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 71d13806-410d-4633-8bf5-fb810d71a4a8 + status: 200 OK + code: 200 + duration: 159.794166ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 684 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:13.593239Z","version":"v25"}' + headers: + Content-Length: + - "684" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:13 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2f916c3c-5b8f-4844-b9a9-369331fd3f4f + status: 200 OK + code: 200 + duration: 152.922ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:45:14 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3b5cf24e-dd10-4f0e-97f2-ebc990f20396 + status: 404 Not Found + code: 404 + duration: 111.883541ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:45:14 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8718585a-6a68-4794-b0d4-5e254f27911b + status: 404 Not Found + code: 404 + duration: 130.544041ms diff --git a/internal/services/datawarehouse/testdata/user-basic.cassette.yaml b/internal/services/datawarehouse/testdata/user-basic.cassette.yaml new file mode 100644 index 000000000..ffce8bd12 --- /dev/null +++ b/internal/services/datawarehouse/testdata/user-basic.cassette.yaml @@ -0,0 +1,1332 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 90 + uncompressed: false + body: '{"total_count":1,"versions":[{"end_of_life_at":"2026-03-21T00:00:00Z","version":"v25"}]}' + headers: + Content-Length: + - "90" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e1d1bbc8-fedc-4f7f-911c-3d927d9c6407 + status: 200 OK + code: 200 + duration: 30.29275ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 226 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"tf-test-deploy-user","tags":null,"version":"v25","replica_count":1,"password":"password@1234567","cpu_min":2,"cpu_max":4,"endpoints":[{"public":{}}],"ram_per_cpu":4}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 644 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "644" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 59526faa-3748-4fac-8007-42b82f2ea919 + status: 200 OK + code: 200 + duration: 603.574292ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 644 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + headers: + Content-Length: + - "644" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:33:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d83a39e9-2f21-4970-97ce-5930bfca6e1e + status: 200 OK + code: 200 + duration: 95.584125ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 052a874f-ccd1-41cd-a547-fb2c5d76c5ef + status: 200 OK + code: 200 + duration: 103.855667ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bb00b31b-664b-44b6-8b59-b670d365e80b + status: 200 OK + code: 200 + duration: 119.287875ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d851e0bf-37ae-432f-b761-7200c928e63a + status: 200 OK + code: 200 + duration: 170.644209ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 70 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_test_user","password":"userPassword@123","is_admin":false}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 41 + uncompressed: false + body: '{"is_admin":false,"name":"tf_test_user"}' + headers: + Content-Length: + - "41" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6874efec-f753-4515-b200-3558c37f06ef + status: 200 OK + code: 200 + duration: 209.049917ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 70 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":false,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "70" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cb4f9746-e2a5-4c62-897a-bdb20893b39b + status: 200 OK + code: 200 + duration: 146.665708ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 70 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":false,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "70" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9bb1750f-be71-46ab-917e-dcc19429e47f + status: 200 OK + code: 200 + duration: 170.703667ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e1090ec9-31a1-40bd-a664-e2f5d9e3ca9e + status: 200 OK + code: 200 + duration: 101.057375ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dfc0c17f-7db9-410e-857c-243a9ffb08a3 + status: 200 OK + code: 200 + duration: 100.850291ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 70 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":false,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "70" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 60b4f9c6-489b-46b6-ba4f-34917694eee0 + status: 200 OK + code: 200 + duration: 191.448583ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6b604f61-a63b-49e7-9334-aaa6d459249a + status: 200 OK + code: 200 + duration: 116.031125ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2e430888-8807-430d-8550-7f56d3d76e60 + status: 200 OK + code: 200 + duration: 91.021ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 70 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":false,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "70" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:40 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 92a06f8e-1c3c-4aa6-a9cc-dcda7874f96a + status: 200 OK + code: 200 + duration: 122.411958ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 17 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"is_admin":true}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users/tf_test_user + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 40 + uncompressed: false + body: '{"is_admin":true,"name":"tf_test_user"}' + headers: + Content-Length: + - "40" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:41 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 70de0211-8156-455d-8d55-d0cbb549b535 + status: 200 OK + code: 200 + duration: 142.445917ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 69 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":true,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "69" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:41 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8d1435b2-96cf-498b-8f28-d9eb4bf9548e + status: 200 OK + code: 200 + duration: 134.927375ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 69 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":true,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "69" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:41 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 413037bf-c8fd-4c18-8b82-58a36682ffcc + status: 200 OK + code: 200 + duration: 132.725416ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:42 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e4678819-c153-46a2-a91d-4966b1ef285c + status: 200 OK + code: 200 + duration: 218.955709ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:42 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2bebde7a-9407-461e-a57c-870a90cbeb7b + status: 200 OK + code: 200 + duration: 153.135625ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 69 + uncompressed: false + body: '{"total_count":1,"users":[{"is_admin":true,"name":"tf_test_user"}]}' + headers: + Content-Length: + - "69" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:42 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 337c0e60-d6ad-4ac0-80fd-e8b9776ab660 + status: 200 OK + code: 200 + duration: 139.559167ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 2 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users/tf_test_user + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:43 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 71badcde-43cc-4e82-ac45-bd4e2dc4023a + status: 204 No Content + code: 204 + duration: 191.423083ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 666 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + headers: + Content-Length: + - "666" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:43 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d8d0c1c8-3b9c-4df1-943b-ec27d781e9c4 + status: 200 OK + code: 200 + duration: 160.627833ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 669 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:43:43.963927Z","version":"v25"}' + headers: + Content-Length: + - "669" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 817e3452-122c-427c-935b-e1bdcdfbab4f + status: 200 OK + code: 200 + duration: 176.735958ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 669 + uncompressed: false + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:43:43.963927Z","version":"v25"}' + headers: + Content-Length: + - "669" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:43:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 936010f4-85b6-4820-93ec-940fe02b7810 + status: 200 OK + code: 200 + duration: 175.840167ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a4b6b5b0-5c0c-43c2-96a5-5900cd7fdc99 + status: 404 Not Found + code: 404 + duration: 26.953625ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 131 + uncompressed: false + body: '{"message":"resource is not found","resource":"deployment","resource_id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","type":"not_found"}' + headers: + Content-Length: + - "131" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 27 Oct 2025 05:44:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 75a59c1a-dc71-46ba-8399-99ec215244af + status: 404 Not Found + code: 404 + duration: 31.055583ms diff --git a/internal/services/datawarehouse/testfuncs/sweep.go b/internal/services/datawarehouse/testfuncs/sweep.go new file mode 100644 index 000000000..2d2d8a2b1 --- /dev/null +++ b/internal/services/datawarehouse/testfuncs/sweep.go @@ -0,0 +1,47 @@ +package testfuncs + +import ( + "fmt" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + datawarehouseSDK "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/logging" +) + +func AddTestSweepers() { + resource.AddTestSweepers("scaleway_datawarehouse_deployment", &resource.Sweeper{ + Name: "scaleway_datawarehouse_deployment", + F: testSweepDatawarehouseDeployment, + }) +} + +func testSweepDatawarehouseDeployment(_ string) error { + return acctest.SweepRegions([]scw.Region{scw.RegionFrPar}, func(scwClient *scw.Client, region scw.Region) error { + datawarehouseAPI := datawarehouseSDK.NewAPI(scwClient) + + logging.L.Debugf("sweeper: destroying datawarehouse deployments in (%s)", region) + + listDeployments, err := datawarehouseAPI.ListDeployments(&datawarehouseSDK.ListDeploymentsRequest{ + Region: region, + }, scw.WithAllPages()) + if err != nil { + return fmt.Errorf("error listing datawarehouse deployments in (%s) in sweeper: %w", region, err) + } + + for _, deployment := range listDeployments.Deployments { + _, err := datawarehouseAPI.DeleteDeployment(&datawarehouseSDK.DeleteDeploymentRequest{ + Region: region, + DeploymentID: deployment.ID, + }) + if err != nil { + logging.L.Debugf("sweeper: error deleting datawarehouse deployment %s in (%s): %s", deployment.ID, region, err) + + continue + } + } + + return nil + }) +} diff --git a/internal/services/datawarehouse/types.go b/internal/services/datawarehouse/types.go new file mode 100644 index 000000000..c87e22eba --- /dev/null +++ b/internal/services/datawarehouse/types.go @@ -0,0 +1,36 @@ +package datawarehouse + +import ( + datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" +) + +// flattenPublicNetwork scans through all endpoints and returns at most one "public" block. +// It returns ([]map[string]interface{}, true) if a public endpoint exists, or (nil, false) otherwise. +func flattenPublicNetwork(endpoints []*datawarehouseapi.Endpoint) (any, bool) { + publicFlat := make([]map[string]any, 0, 1) + + for _, endpoint := range endpoints { + if endpoint.Public == nil { + continue + } + + services := make([]map[string]any, 0, len(endpoint.Services)) + + for _, svc := range endpoint.Services { + services = append(services, map[string]any{ + "protocol": string(svc.Protocol), + "port": int(svc.Port), + }) + } + + publicFlat = append(publicFlat, map[string]any{ + "id": endpoint.ID, + "dns_record": endpoint.DNSRecord, + "services": services, + }) + + break + } + + return publicFlat, len(publicFlat) != 0 +} diff --git a/internal/services/datawarehouse/user.go b/internal/services/datawarehouse/user.go new file mode 100644 index 000000000..3f153a17e --- /dev/null +++ b/internal/services/datawarehouse/user.go @@ -0,0 +1,195 @@ +package datawarehouse + +import ( + "context" + "fmt" + "strings" + + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" +) + +func ResourceUser() *schema.Resource { + return &schema.Resource{ + CreateContext: resourceUserCreate, + ReadContext: resourceUserRead, + UpdateContext: resourceUserUpdate, + DeleteContext: resourceUserDelete, + Importer: &schema.ResourceImporter{ + StateContext: schema.ImportStatePassthroughContext, + }, + Schema: map[string]*schema.Schema{ + "region": regional.Schema(), + "deployment_id": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ID of the Datawarehouse deployment to which this user belongs.", + }, + "name": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "Name of the ClickHouse user.", + }, + "password": { + Type: schema.TypeString, + Required: true, + Sensitive: true, + Description: "Password for the ClickHouse user.", + }, + "is_admin": { + Type: schema.TypeBool, + Optional: true, + Default: false, + Description: "Whether the user has administrator privileges.", + }, + }, + } +} + +func resourceUserCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + region := scw.Region(d.Get("region").(string)) + deploymentID := d.Get("deployment_id").(string) + name := d.Get("name").(string) + password := d.Get("password").(string) + isAdmin := d.Get("is_admin").(bool) + + req := &datawarehouseapi.CreateUserRequest{ + Region: region, + DeploymentID: deploymentID, + Name: name, + Password: password, + IsAdmin: isAdmin, + } + + _, err := api.CreateUser(req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + d.SetId(ResourceUserID(region, deploymentID, name)) + + return resourceUserRead(ctx, d, meta) +} + +func resourceUserRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region, deploymentID, userName, err := ResourceUserParseID(d.Id()) + if err != nil { + return diag.FromErr(err) + } + + resp, err := api.ListUsers(&datawarehouseapi.ListUsersRequest{ + Region: region, + DeploymentID: deploymentID, + Name: &userName, + }, scw.WithContext(ctx)) + if err != nil { + if httperrors.Is404(err) { + d.SetId("") + + return nil + } + + return diag.FromErr(err) + } + + var found *datawarehouseapi.User + + for _, u := range resp.Users { + if u.Name == userName { + found = u + + break + } + } + + if found == nil { + d.SetId("") + + return nil + } + + _ = d.Set("deployment_id", deploymentID) + _ = d.Set("name", found.Name) + _ = d.Set("is_admin", found.IsAdmin) + + return nil +} + +func resourceUserUpdate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region, deploymentID, userName, err := ResourceUserParseID(d.Id()) + if err != nil { + return diag.FromErr(err) + } + // Build the update request only for changed fields + req := &datawarehouseapi.UpdateUserRequest{ + Region: region, + DeploymentID: deploymentID, + Name: userName, + } + changed := false + + if d.HasChange("password") { + req.Password = scw.StringPtr(d.Get("password").(string)) + changed = true + } + + if d.HasChange("is_admin") { + req.IsAdmin = scw.BoolPtr(d.Get("is_admin").(bool)) + changed = true + } + + if changed { + _, err := api.UpdateUser(req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + } + + return resourceUserRead(ctx, d, meta) +} + +func resourceUserDelete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { + api := NewAPI(meta) + + region, deploymentID, userName, err := ResourceUserParseID(d.Id()) + if err != nil { + return diag.FromErr(err) + } + + err = api.DeleteUser(&datawarehouseapi.DeleteUserRequest{ + Region: region, + DeploymentID: deploymentID, + Name: userName, + }, scw.WithContext(ctx)) + if err != nil && !httperrors.Is404(err) { + return diag.FromErr(err) + } + + d.SetId("") + + return nil +} + +func ResourceUserID(region scw.Region, deploymentID string, userName string) (resourceID string) { + return fmt.Sprintf("%s/%s/%s", region, deploymentID, userName) +} + +func ResourceUserParseID(resourceID string) (region scw.Region, deploymentID string, userName string, err error) { + idParts := strings.Split(resourceID, "/") + if len(idParts) != 3 { + return "", "", "", fmt.Errorf("can't parse user resource id: %s", resourceID) + } + + return scw.Region(idParts[0]), idParts[1], idParts[2], nil +} diff --git a/internal/services/datawarehouse/user_test.go b/internal/services/datawarehouse/user_test.go new file mode 100644 index 000000000..b58d55aa9 --- /dev/null +++ b/internal/services/datawarehouse/user_test.go @@ -0,0 +1,166 @@ +package datawarehouse_test + +import ( + "context" + "fmt" + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + datawarehouseSDK "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse" +) + +func TestAccUser_Basic(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + // Fetch a valid ClickHouse version to create a deployment + api := datawarehouse.NewAPI(tt.Meta) + + versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) + if err != nil { + t.Fatalf("unable to fetch datawarehouse versions: %s", err) + } + + if len(versionsResp.Versions) == 0 { + t.Fatal("no datawarehouse versions available") + } + + latestVersion := versionsResp.Versions[0].Version + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProtoV6ProviderFactories: tt.ProviderFactories, + CheckDestroy: isUserDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: fmt.Sprintf(` +resource "scaleway_datawarehouse_deployment" "test_deploy" { + name = "tf-test-deploy-user" + version = "%s" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "password@1234567" +} + +resource "scaleway_datawarehouse_user" "test_user" { + deployment_id = scaleway_datawarehouse_deployment.test_deploy.id + name = "tf_test_user" + password = "userPassword@123" + is_admin = false +} +`, latestVersion), + Check: resource.ComposeTestCheckFunc( + isUserPresent(tt, "scaleway_datawarehouse_user.test_user"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_user.test_user", "name", "tf_test_user"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_user.test_user", "is_admin", "false"), + ), + }, + { + // Update is_admin to true + Config: fmt.Sprintf(` +resource "scaleway_datawarehouse_deployment" "test_deploy" { + name = "tf-test-deploy-user" + version = "%s" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "password@1234567" +} + +resource "scaleway_datawarehouse_user" "test_user" { + deployment_id = scaleway_datawarehouse_deployment.test_deploy.id + name = "tf_test_user" + password = "userPassword@123" + is_admin = true +} +`, latestVersion), + Check: resource.ComposeTestCheckFunc( + isUserPresent(tt, "scaleway_datawarehouse_user.test_user"), + resource.TestCheckResourceAttr("scaleway_datawarehouse_user.test_user", "is_admin", "true"), + ), + }, + }, + }) +} + +func isUserPresent(tt *acctest.TestTools, resourceName string) resource.TestCheckFunc { + return func(s *terraform.State) error { + rs, ok := s.RootModule().Resources[resourceName] + if !ok { + return fmt.Errorf("resource not found: %s", resourceName) + } + + id := rs.Primary.ID // format: region/deployment_id/name + + region, deploymentID, userName, err := datawarehouse.ResourceUserParseID(id) + if err != nil { + return fmt.Errorf("unexpected ID format (%s), expected region/deployment_id/name", id) + } + + api := datawarehouse.NewAPI(tt.Meta) + + resp, err := api.ListUsers(&datawarehouseSDK.ListUsersRequest{ + Region: region, + DeploymentID: deploymentID, + Name: scw.StringPtr(userName), + }, scw.WithContext(context.Background())) + if err != nil { + return err + } + + for _, u := range resp.Users { + if u.Name == userName { + return nil + } + } + + return fmt.Errorf("user %q not found in deployment %s", userName, deploymentID) + } +} + +func isUserDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { + return func(s *terraform.State) error { + for _, rs := range s.RootModule().Resources { + if rs.Type != "scaleway_datawarehouse_user" { + continue + } + + id := rs.Primary.ID // format: region/deployment_id/name + + region, deploymentID, userName, err := datawarehouse.ResourceUserParseID(id) + if err != nil { + return fmt.Errorf("unexpected ID format (%s), expected region/deployment_id/name", id) + } + + api := datawarehouse.NewAPI(tt.Meta) + + resp, err := api.ListUsers(&datawarehouseSDK.ListUsersRequest{ + Region: region, + DeploymentID: deploymentID, + Name: scw.StringPtr(userName), + }, scw.WithContext(context.Background())) + + if err != nil && !httperrors.Is404(err) { + return err + } + // If no error, check if user still exists + if err == nil { + for _, u := range resp.Users { + if u.Name == userName { + return fmt.Errorf("user %s still exists after destroy", userName) + } + } + } + } + + return nil + } +} diff --git a/internal/services/datawarehouse/waiters.go b/internal/services/datawarehouse/waiters.go new file mode 100644 index 000000000..efe3d4e84 --- /dev/null +++ b/internal/services/datawarehouse/waiters.go @@ -0,0 +1,31 @@ +package datawarehouse + +import ( + "context" + "time" + + datawarehouse "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/transport" +) + +func waitForDatawarehouseDeployment(ctx context.Context, api *datawarehouse.API, region scw.Region, id string, timeout time.Duration) (*datawarehouse.Deployment, error) { + retryInterval := defaultWaitRetryInterval + if transport.DefaultWaitRetryInterval != nil { + retryInterval = *transport.DefaultWaitRetryInterval + } + + req := &datawarehouse.WaitForDeploymentRequest{ + DeploymentID: id, + Region: region, + Timeout: &timeout, + RetryInterval: &retryInterval, + } + + deployment, err := api.WaitForDeployment(req, scw.WithContext(ctx)) + if err != nil { + return nil, err + } + + return deployment, nil +} diff --git a/provider/sdkv2.go b/provider/sdkv2.go index 58b978366..9e3f9b544 100644 --- a/provider/sdkv2.go +++ b/provider/sdkv2.go @@ -20,6 +20,7 @@ import ( "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/block" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/cockpit" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/container" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/datawarehouse" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/domain" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/edgeservices" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/file" @@ -145,6 +146,9 @@ func SDKProvider(config *Config) plugin.ProviderFunc { "scaleway_container_namespace": container.ResourceNamespace(), "scaleway_container_token": container.ResourceToken(), "scaleway_container_trigger": container.ResourceTrigger(), + "scaleway_datawarehouse_deployment": datawarehouse.ResourceDeployment(), + "scaleway_datawarehouse_user": datawarehouse.ResourceUser(), + "scaleway_datawarehouse_database": datawarehouse.ResourceDatabase(), "scaleway_domain_record": domain.ResourceRecord(), "scaleway_domain_registration": domain.ResourceRegistration(), "scaleway_domain_zone": domain.ResourceZone(), diff --git a/templates/resources/datawarehouse_database.md.tmpl b/templates/resources/datawarehouse_database.md.tmpl new file mode 100644 index 000000000..893ae96d3 --- /dev/null +++ b/templates/resources/datawarehouse_database.md.tmpl @@ -0,0 +1,55 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_database" +--- + +# Resource: scaleway_datawarehouse_database + +Creates and manages Scaleway Data Warehouse databases within a deployment. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_database" "main" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "my_database" +} +``` + +## Argument Reference + +The following arguments are supported: + +- `deployment_id` - (Required) ID of the Data Warehouse deployment to which this database belongs. +- `name` - (Required) Name of the database. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the database should be created. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the database (format: `{region}/{deployment_id}/{name}`). +- `size` - Size of the database in GB. + +## Import + +Data Warehouse databases can be imported using the `{region}/{deployment_id}/{name}`, e.g. + +```bash +terraform import scaleway_datawarehouse_database.main fr-par/11111111-1111-1111-1111-111111111111/my_database +``` + diff --git a/templates/resources/datawarehouse_deployment.md.tmpl b/templates/resources/datawarehouse_deployment.md.tmpl new file mode 100644 index 000000000..918600cb9 --- /dev/null +++ b/templates/resources/datawarehouse_deployment.md.tmpl @@ -0,0 +1,84 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_deployment" +--- + +# Resource: scaleway_datawarehouse_deployment + +Creates and manages Scaleway Data Warehouse deployments. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} +``` + +### With Tags + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" + tags = ["production", "analytics"] +} +``` + +## Argument Reference + +The following arguments are supported: + +- `name` - (Required) Name of the Data Warehouse deployment. +- `version` - (Required, Forces new resource) ClickHouse version to use (e.g., "v25"). Changing this forces recreation of the deployment. +- `replica_count` - (Required) Number of replicas. +- `cpu_min` - (Required) Minimum CPU count. Must be less than or equal to `cpu_max`. +- `cpu_max` - (Required) Maximum CPU count. Must be greater than or equal to `cpu_min`. +- `ram_per_cpu` - (Required) RAM per CPU in GB. +- `password` - (Optional) Password for the first user of the deployment. If not specified, a random password will be generated. Note: password is only used during deployment creation. +- `tags` - (Optional) List of tags to apply to the deployment. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the deployment should be created. +- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the deployment is associated with. + +~> **Important:** Private endpoints are not yet supported by the API. A public endpoint is always created automatically. + +~> **Note:** During the private beta phase, modifying `cpu_min`, `cpu_max`, and `replica_count` has no effect until the feature is launched in general availability. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the deployment. +- `status` - The status of the deployment (e.g., "ready", "provisioning"). +- `created_at` - Date and time of deployment creation (RFC 3339 format). +- `updated_at` - Date and time of deployment last update (RFC 3339 format). +- `public_network` - Public endpoint information (always created automatically). + - `id` - The ID of the public endpoint. + - `dns_record` - DNS record for the public endpoint. + - `services` - List of services exposed on the public endpoint. + - `protocol` - Service protocol (e.g., "tcp", "https", "mysql"). + - `port` - TCP port number. + +## Import + +Data Warehouse deployments can be imported using the `{region}/{id}`, e.g. + +```bash +terraform import scaleway_datawarehouse_deployment.main fr-par/11111111-1111-1111-1111-111111111111 +``` + diff --git a/templates/resources/datawarehouse_user.md.tmpl b/templates/resources/datawarehouse_user.md.tmpl new file mode 100644 index 000000000..10f0bddeb --- /dev/null +++ b/templates/resources/datawarehouse_user.md.tmpl @@ -0,0 +1,78 @@ +{{- /*gotype: github.com/hashicorp/terraform-plugin-docs/internal/provider.ResourceTemplateType */ -}} +--- +subcategory: "Data Warehouse" +page_title: "Scaleway: scaleway_datawarehouse_user" +--- + +# Resource: scaleway_datawarehouse_user + +Creates and manages Scaleway Data Warehouse users within a deployment. +For more information refer to the [product documentation](https://www.scaleway.com/en/docs/data-warehouse/). + +## Example Usage + +### Basic + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_user" "main" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "my_user" + password = "user_password_123" +} +``` + +### Admin User + +```terraform +resource "scaleway_datawarehouse_deployment" "main" { + name = "my-datawarehouse" + version = "v25" + replica_count = 1 + cpu_min = 2 + cpu_max = 4 + ram_per_cpu = 4 + password = "thiZ_is_v&ry_s3cret" +} + +resource "scaleway_datawarehouse_user" "admin" { + deployment_id = scaleway_datawarehouse_deployment.main.id + name = "admin_user" + password = "admin_password_456" + is_admin = true +} +``` + +## Argument Reference + +The following arguments are supported: + +- `deployment_id` - (Required) ID of the Data Warehouse deployment to which this user belongs. +- `name` - (Required) Name of the ClickHouse user. +- `password` - (Required) Password for the ClickHouse user. +- `is_admin` - (Optional) Whether the user has administrator privileges. Defaults to `false`. +- `region` - (Defaults to [provider](../index.md#region) `region`) The [region](../guides/regions_and_zones.md#regions) in which the user should be created. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `id` - The ID of the user (format: `{region}/{deployment_id}/{name}`). + +## Import + +Data Warehouse users can be imported using the `{region}/{deployment_id}/{name}`, e.g. + +```bash +terraform import scaleway_datawarehouse_user.main fr-par/11111111-1111-1111-1111-111111111111/my_user +``` + From bb199e20bc89ccdaab1d7dbfd087f8015d3ea964 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Mon, 27 Oct 2025 14:52:32 +0100 Subject: [PATCH 2/9] refactor(datawarehouse): extract ClickHouse version fetching into dedicated helper function --- .../services/datawarehouse/deployment_test.go | 13 +------------ .../services/datawarehouse/helpers_test.go | 19 +++++++++++++++++++ internal/services/datawarehouse/user_test.go | 14 +------------- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/internal/services/datawarehouse/deployment_test.go b/internal/services/datawarehouse/deployment_test.go index 622825b0f..17cfd9969 100644 --- a/internal/services/datawarehouse/deployment_test.go +++ b/internal/services/datawarehouse/deployment_test.go @@ -18,18 +18,7 @@ func TestAccDeployment_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() - api := datawarehouse.NewAPI(tt.Meta) - - versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) - if err != nil { - t.Fatalf("unable to fetch datawarehouse versions: %s", err) - } - - if len(versionsResp.Versions) == 0 { - t.Fatal("no datawarehouse versions available") - } - - latestVersion := versionsResp.Versions[0].Version + latestVersion := fetchLatestClickHouseVersion(t, tt) resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, diff --git a/internal/services/datawarehouse/helpers_test.go b/internal/services/datawarehouse/helpers_test.go index ce20bf845..f3dd59624 100644 --- a/internal/services/datawarehouse/helpers_test.go +++ b/internal/services/datawarehouse/helpers_test.go @@ -3,6 +3,7 @@ package datawarehouse_test import ( "context" "fmt" + "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -14,6 +15,24 @@ import ( // Common helper functions shared across all datawarehouse tests +// fetchLatestClickHouseVersion returns the latest available ClickHouse version for testing purposes +func fetchLatestClickHouseVersion(t *testing.T, tt *acctest.TestTools) string { + t.Helper() + + api := datawarehouse.NewAPI(tt.Meta) + + versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) + if err != nil { + t.Fatalf("unable to fetch datawarehouse versions: %s", err) + } + + if len(versionsResp.Versions) == 0 { + t.Fatal("no datawarehouse versions available") + } + + return versionsResp.Versions[0].Version +} + func isDeploymentPresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { return func(s *terraform.State) error { rs, ok := s.RootModule().Resources[n] diff --git a/internal/services/datawarehouse/user_test.go b/internal/services/datawarehouse/user_test.go index b58d55aa9..cab34e142 100644 --- a/internal/services/datawarehouse/user_test.go +++ b/internal/services/datawarehouse/user_test.go @@ -18,19 +18,7 @@ func TestAccUser_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() - // Fetch a valid ClickHouse version to create a deployment - api := datawarehouse.NewAPI(tt.Meta) - - versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) - if err != nil { - t.Fatalf("unable to fetch datawarehouse versions: %s", err) - } - - if len(versionsResp.Versions) == 0 { - t.Fatal("no datawarehouse versions available") - } - - latestVersion := versionsResp.Versions[0].Version + latestVersion := fetchLatestClickHouseVersion(t, tt) resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, From ce2ab9f4588944517268fe48b39f2f690fde8414 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Mon, 27 Oct 2025 14:52:44 +0100 Subject: [PATCH 3/9] refactor(datawarehouse): use types package functions instead of local string helpers --- internal/services/datawarehouse/deployment.go | 7 ++++--- internal/services/datawarehouse/helpers.go | 18 ------------------ 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/internal/services/datawarehouse/deployment.go b/internal/services/datawarehouse/deployment.go index 2597916fe..2d4ca2122 100644 --- a/internal/services/datawarehouse/deployment.go +++ b/internal/services/datawarehouse/deployment.go @@ -13,6 +13,7 @@ import ( "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" ) func ResourceDeployment() *schema.Resource { @@ -163,7 +164,7 @@ func resourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, meta } if v, ok := d.GetOk("tags"); ok { - req.Tags = expandStringList(v.([]any)) + req.Tags = types.ExpandStrings(v) } req.Endpoints = []*datawarehouseapi.EndpointSpec{ @@ -215,7 +216,7 @@ func resourceDeploymentRead(ctx context.Context, d *schema.ResourceData, meta an _ = d.Set("region", string(region)) _ = d.Set("project_id", deployment.ProjectID) _ = d.Set("name", deployment.Name) - _ = d.Set("tags", flattenStringList(deployment.Tags)) + _ = d.Set("tags", types.FlattenSliceString(deployment.Tags)) _ = d.Set("version", deployment.Version) _ = d.Set("replica_count", int(deployment.ReplicaCount)) _ = d.Set("cpu_min", int(deployment.CPUMin)) @@ -260,7 +261,7 @@ func resourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, meta } if d.HasChange("tags") { - req.Tags = scw.StringsPtr(expandStringList(d.Get("tags").([]any))) + req.Tags = scw.StringsPtr(types.ExpandStrings(d.Get("tags"))) changed = true } diff --git a/internal/services/datawarehouse/helpers.go b/internal/services/datawarehouse/helpers.go index 6a71f30ea..1c2c4b19a 100644 --- a/internal/services/datawarehouse/helpers.go +++ b/internal/services/datawarehouse/helpers.go @@ -14,21 +14,3 @@ const ( func NewAPI(m any) *datawarehouseapi.API { return datawarehouseapi.NewAPI(meta.ExtractScwClient(m)) } - -func expandStringList(list []any) []string { - res := make([]string, len(list)) - for i, v := range list { - res[i] = v.(string) - } - - return res -} - -func flattenStringList(list []string) []any { - res := make([]any, len(list)) - for i, v := range list { - res[i] = v - } - - return res -} From 2439eac4dabb943256de40500c5bfa9db0883a41 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Mon, 27 Oct 2025 14:52:57 +0100 Subject: [PATCH 4/9] refactor(datawarehouse): use API regions method in sweeper instead of hardcoded region list --- internal/services/datawarehouse/testfuncs/sweep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/datawarehouse/testfuncs/sweep.go b/internal/services/datawarehouse/testfuncs/sweep.go index 2d2d8a2b1..a98ac062c 100644 --- a/internal/services/datawarehouse/testfuncs/sweep.go +++ b/internal/services/datawarehouse/testfuncs/sweep.go @@ -18,7 +18,7 @@ func AddTestSweepers() { } func testSweepDatawarehouseDeployment(_ string) error { - return acctest.SweepRegions([]scw.Region{scw.RegionFrPar}, func(scwClient *scw.Client, region scw.Region) error { + return acctest.SweepRegions((&datawarehouseSDK.API{}).Regions(), func(scwClient *scw.Client, region scw.Region) error { datawarehouseAPI := datawarehouseSDK.NewAPI(scwClient) logging.L.Debugf("sweeper: destroying datawarehouse deployments in (%s)", region) From 90e7b99ce8f8f527fbbeb6e69ab5f8003b662590 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Thu, 30 Oct 2025 10:47:30 +0100 Subject: [PATCH 5/9] feat: improve locality handling and simplify test helpers for datawarehouse --- go.sum | 59 +++++++++++++++++++ internal/services/datawarehouse/deployment.go | 40 +++++++------ .../services/datawarehouse/deployment_test.go | 6 +- internal/services/datawarehouse/helpers.go | 27 +++++++++ .../services/datawarehouse/helpers_test.go | 9 ++- internal/services/datawarehouse/user_test.go | 2 +- 6 files changed, 113 insertions(+), 30 deletions(-) diff --git a/go.sum b/go.sum index 68ea70e56..c8819b2d4 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,4 @@ +cel.dev/expr v0.24.0/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -17,14 +18,18 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute/metadata v0.7.0/go.mod h1:j5MvL9PprKL39t166CoB1uVHfQMs4tFQZZcKwksXUjo= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -44,6 +49,7 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0/go.mod h1:Cz6ft6Dkn3Et6l2v2a9/RpN7epQ1GtDlO6lj8bEcOvw= github.com/Kunde21/markdownfmt/v3 v3.1.0 h1:KiZu9LKs+wFFBQKhrZJrFZwtLnCCWJahL+S+E/3VnM0= github.com/Kunde21/markdownfmt/v3 v3.1.0/go.mod h1:tPXN1RTyOzJwhfHoon9wUr4HGYmWgVxSQN6VBJDkrVc= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= @@ -63,8 +69,10 @@ github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/alexedwards/argon2id v1.0.0 h1:wJzDx66hqWX7siL/SRUmgz3F8YMrd/nfX/xHHcQQP0w= github.com/alexedwards/argon2id v1.0.0/go.mod h1:tYKkqIjzXvZdzPvADMWOEZ+l6+BD6CtBXMj5fnJppiw= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= +github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= @@ -89,10 +97,13 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.7 h1:BszAktdUo2xlzmYHjWMq70DqJ7cROM8iBd3f6hrpuMQ= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.7/go.mod h1:XJ1yHki/P7ZPuG4fd3f0Pg/dSGA2cTQBCLw82MH2H48= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.50.1/go.mod h1:fe3UQAYwylCQRlGnihsqU/tTQkrc2nrW/IhWYwlW9vg= +github.com/aws/aws-sdk-go-v2/service/iam v1.47.3/go.mod h1:5q4IwllQ9vIoq7bk8dPvPbT3LQCky+4NgV7vKwAbaEs= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.1 h1:oegbebPEMA/1Jny7kvwejowCaHz1FWZAQ94WXFNCyTM= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.1/go.mod h1:kemo5Myr9ac0U9JfSjMo9yHLtw+pECEHsFtJ9tqCEI8= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.7 h1:zmZ8qvtE9chfhBPuKB2aQFxW5F/rpwXUgmcVCgQzqRw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.7/go.mod h1:vVYfbpd2l+pKqlSIDIOgouxNsGu5il9uDp0ooWb0jys= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.6/go.mod h1:sXXWh1G9LKKkNbuR0f0ZPd/IvDXlMGiag40opt4XEgY= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.9 h1:5r34CgVOD4WZudeEKZ9/iKpiT6cM1JyEROpXjOcdWv8= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.9/go.mod h1:dB12CEbNWPbzO2uC6QSWHteqOg4JfBVJOojbAoAUb5I= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.7 h1:u3VbDKUCWarWiU+aIUK4gjTr/wQFXV17y3hgNno9fcA= @@ -128,9 +139,11 @@ github.com/bmatcuk/doublestar/v4 v4.9.1 h1:X8jg9rRZmJd4yRy7ZeNDRnM+T3ZfHv15JiBJ/ github.com/bmatcuk/doublestar/v4 v4.9.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -142,12 +155,16 @@ github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE= github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= +github.com/containerd/typeurl/v2 v2.2.0/go.mod h1:8XOOxnyatxSWuG8OfsZXVnAF4iZfedjS/8UHSPJnX4g= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s= @@ -175,7 +192,11 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.13.4/go.mod h1:kDfuBlDVsSj2MjrLEtRWtHlsWIFcGyB2RMO44Dc5GZA= +github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw= +github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= @@ -195,6 +216,7 @@ github.com/go-git/go-git/v5 v5.14.0/go.mod h1:Z5Xhoia5PcWA3NF8vRLURn9E5FRhSl7dGj github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-jose/go-jose/v4 v4.1.1/go.mod h1:BdsZGqgdO3b6tTc6LSE56wcDbMMLuPsw5d4ZD5f94kA= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= @@ -205,7 +227,9 @@ github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw= github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -273,6 +297,7 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gookit/color v1.5.1 h1:Vjg2VEcdHpwq+oY63s/ksHrgJYCTo0bwWvmmYWdE9fQ= github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM= @@ -286,6 +311,7 @@ github.com/hashicorp/awspolicyequivalence v1.7.0 h1:HxwPEw2/31BqQa73PinGciTfG2uJ github.com/hashicorp/awspolicyequivalence v1.7.0/go.mod h1:+oCTxQEYt+GcRalqrqTCBcJf100SQYiWQ4aENNYxYe0= github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU= github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -298,6 +324,7 @@ github.com/hashicorp/go-cty v1.5.0 h1:EkQ/v+dDNUqnuVpmS5fPqyY71NXVgT5gf32+57xY8g github.com/hashicorp/go-cty v1.5.0/go.mod h1:lFUCG5kd8exDobgSfyj4ONE/dc822kiYMguVKdHGMLM= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= @@ -305,6 +332,7 @@ github.com/hashicorp/go-plugin v1.7.0 h1:YghfQH/0QmPNc/AZMTFE3ac8fipZyZECHdDPshf github.com/hashicorp/go-plugin v1.7.0/go.mod h1:BExt6KEaIYx804z8k4gRzRLEvxKVb+kn0NMcihqOqb8= github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48= github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw= +github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= @@ -312,6 +340,7 @@ github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKe github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hc-install v0.9.2 h1:v80EtNX4fCVHqzL9Lg/2xkp62bbvQMnvPQ0G+OmtO24= github.com/hashicorp/hc-install v0.9.2/go.mod h1:XUqBQNnuT4RsxoxiM9ZaUk0NX8hi2h+Lb6/c0OZnC/I= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -320,6 +349,7 @@ github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQx github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-exec v0.24.0 h1:mL0xlk9H5g2bn0pPF6JQZk5YlByqSqrO5VoaNtAf8OE= github.com/hashicorp/terraform-exec v0.24.0/go.mod h1:lluc/rDYfAhYdslLJQg3J0oDqo88oGQAdHR+wDqFvo4= github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoKST/tRDBJKU= @@ -351,6 +381,7 @@ github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= @@ -358,6 +389,8 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i github.com/jhump/protoreflect v1.17.0 h1:qOEr613fac2lOuTgWN4tPAtLL7fUSbuJL5X5XumQh94= github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/katbyte/andreyvit-diff v0.0.2 h1:uQGxP2z57bTUGn3SCFzYKgtIKLeuYE+k9dxq1u9Js7U= @@ -418,6 +451,8 @@ github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7z github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/nats-io/jwt/v2 v2.8.0 h1:K7uzyz50+yGZDO5o772eRE7atlcSEENpL7P+b74JV1g= @@ -440,10 +475,12 @@ github.com/pelletier/go-toml/v2 v2.0.1 h1:8e3L2cCQzLFi2CR4g7vGFuFxX7Jl1kKX8gW+iV github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4= github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -457,8 +494,10 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251015050748-12aafea99911 h1:puwRtGGoGw9Rw3qlB7ltimV2+uugkalN08DyVEL1VoE= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251015050748-12aafea99911/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= @@ -482,7 +521,9 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= +github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= @@ -518,16 +559,24 @@ github.com/zclconf/go-cty v1.17.0 h1:seZvECve6XX4tmnvRzWtJNHdscMtYEx5R7bnnVyd/d0 github.com/zclconf/go-cty v1.17.0/go.mod h1:wqFzcImaLTI6A5HfsRwB0nj5n0MRZFwmey8YoFPPs3U= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= +github.com/zeebo/errs v1.4.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4= go.abhg.dev/goldmark/frontmatter v0.2.0 h1:P8kPG0YkL12+aYk2yU3xHv4tcXzeVnN+gU0tJ5JnxRw= go.abhg.dev/goldmark/frontmatter v0.2.0/go.mod h1:XqrEkZuM57djk7zrlRUB02x8I5J0px76YjkOzhB4YlU= +go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= +go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= +go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/contrib/detectors/gcp v1.36.0/go.mod h1:IbBN8uAIIx734PTonTPxAxnjc2pQTxWNkwfstZ+6H2k= +go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws v0.63.0/go.mod h1:wIvTiRUU7Pbfqas/5JVjGZcftBeSAGSYVMOHWzWG0qE= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg= go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= @@ -546,6 +595,9 @@ go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJr go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= go.opentelemetry.io/proto/otlp v1.7.1 h1:gTOMpGDb0WTBOP8JaO72iL3auEZhVmAQg4ipjOVAtj4= go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -643,6 +695,7 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -706,6 +759,7 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ= golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8/go.mod h1:Pi4ztBfryZoJEkyFTI5/Ocsu2jXyDr6iSdgJiYE/uwE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -783,10 +837,13 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= +golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= +golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated/go.mod h1:RVAQXBGNv1ib0J382/DPCRS/BPnsGebyM1Gj5VSDpG8= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= @@ -808,6 +865,7 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -853,6 +911,7 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 h1:BIRfGDEjiHRrk0QKZe3Xv2ieMhtgRGeLcZQ0mIVn4EY= google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5/go.mod h1:j3QtIyytwqGr1JUDtYXwtMXWPKsEa5LtzIFN1Wn5WvE= google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 h1:eaY8u2EuxbRv7c3NiGK0/NedzVsCcV6hDuU5qPX5EGE= diff --git a/internal/services/datawarehouse/deployment.go b/internal/services/datawarehouse/deployment.go index 2d4ca2122..80fc2de33 100644 --- a/internal/services/datawarehouse/deployment.go +++ b/internal/services/datawarehouse/deployment.go @@ -148,9 +148,11 @@ func ResourceDeployment() *schema.Resource { } func resourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) + api, region, err := datawarehouseAPIWithRegion(d, meta) + if err != nil { + return diag.FromErr(err) + } - region := scw.Region(d.Get("region").(string)) req := &datawarehouseapi.CreateDeploymentRequest{ Region: region, ProjectID: d.Get("project_id").(string), @@ -183,18 +185,18 @@ func resourceDeploymentCreate(ctx context.Context, d *schema.ResourceData, meta return diag.FromErr(err) } - d.SetId(deployment.ID) + d.SetId(regional.NewIDString(region, deployment.ID)) return resourceDeploymentRead(ctx, d, meta) } func resourceDeploymentRead(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) - - region := scw.Region(d.Get("region").(string)) - id := d.Id() + api, region, id, err := NewAPIWithRegionAndID(meta, d.Id()) + if err != nil { + return diag.FromErr(err) + } - _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutRead)) + _, err = waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutRead)) if err != nil { return diag.FromErr(err) } @@ -213,7 +215,7 @@ func resourceDeploymentRead(ctx context.Context, d *schema.ResourceData, meta an return diag.FromErr(err) } - _ = d.Set("region", string(region)) + _ = d.Set("region", string(deployment.Region)) _ = d.Set("project_id", deployment.ProjectID) _ = d.Set("name", deployment.Name) _ = d.Set("tags", types.FlattenSliceString(deployment.Tags)) @@ -237,14 +239,14 @@ func resourceDeploymentRead(ctx context.Context, d *schema.ResourceData, meta an } func resourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) + api, region, id, err := NewAPIWithRegionAndID(meta, d.Id()) + if err != nil { + return diag.FromErr(err) + } var diags diag.Diagnostics - region := scw.Region(d.Get("region").(string)) - id := d.Id() - - _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutUpdate)) + _, err = waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutUpdate)) if err != nil { return diag.FromErr(err) } @@ -315,12 +317,12 @@ func resourceDeploymentUpdate(ctx context.Context, d *schema.ResourceData, meta } func resourceDeploymentDelete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) - - region := scw.Region(d.Get("region").(string)) - id := d.Id() + api, region, id, err := NewAPIWithRegionAndID(meta, d.Id()) + if err != nil { + return diag.FromErr(err) + } - _, err := waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutDelete)) + _, err = waitForDatawarehouseDeployment(ctx, api, region, id, d.Timeout(schema.TimeoutDelete)) if err != nil { return diag.FromErr(err) } diff --git a/internal/services/datawarehouse/deployment_test.go b/internal/services/datawarehouse/deployment_test.go index 17cfd9969..4a76b0fdf 100644 --- a/internal/services/datawarehouse/deployment_test.go +++ b/internal/services/datawarehouse/deployment_test.go @@ -18,7 +18,7 @@ func TestAccDeployment_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() - latestVersion := fetchLatestClickHouseVersion(t, tt) + latestVersion := fetchLatestClickHouseVersion(tt) resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, @@ -79,10 +79,6 @@ resource "scaleway_datawarehouse_deployment" "main" { }) } -// Helpers - -// isDeploymentPresent is now defined in helpers_test.go - func isDeploymentDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { return func(s *terraform.State) error { for _, rs := range s.RootModule().Resources { diff --git a/internal/services/datawarehouse/helpers.go b/internal/services/datawarehouse/helpers.go index 1c2c4b19a..138f0258e 100644 --- a/internal/services/datawarehouse/helpers.go +++ b/internal/services/datawarehouse/helpers.go @@ -3,7 +3,10 @@ package datawarehouse import ( "time" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" "github.com/scaleway/terraform-provider-scaleway/v2/internal/meta" ) @@ -14,3 +17,27 @@ const ( func NewAPI(m any) *datawarehouseapi.API { return datawarehouseapi.NewAPI(meta.ExtractScwClient(m)) } + +// datawarehouseAPIWithRegion returns a new Datawarehouse API and the region for a Create request +func datawarehouseAPIWithRegion(d *schema.ResourceData, m any) (*datawarehouseapi.API, scw.Region, error) { + api := datawarehouseapi.NewAPI(meta.ExtractScwClient(m)) + + region, err := meta.ExtractRegion(d, m) + if err != nil { + return nil, "", err + } + + return api, region, nil +} + +// NewAPIWithRegionAndID returns a Datawarehouse API with region and ID extracted from the state +func NewAPIWithRegionAndID(m any, id string) (*datawarehouseapi.API, scw.Region, string, error) { + api := datawarehouseapi.NewAPI(meta.ExtractScwClient(m)) + + region, id, err := regional.ParseID(id) + if err != nil { + return nil, "", "", err + } + + return api, region, id, nil +} diff --git a/internal/services/datawarehouse/helpers_test.go b/internal/services/datawarehouse/helpers_test.go index f3dd59624..6b8d66ca5 100644 --- a/internal/services/datawarehouse/helpers_test.go +++ b/internal/services/datawarehouse/helpers_test.go @@ -3,7 +3,6 @@ package datawarehouse_test import ( "context" "fmt" - "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -16,18 +15,18 @@ import ( // Common helper functions shared across all datawarehouse tests // fetchLatestClickHouseVersion returns the latest available ClickHouse version for testing purposes -func fetchLatestClickHouseVersion(t *testing.T, tt *acctest.TestTools) string { - t.Helper() +func fetchLatestClickHouseVersion(tt *acctest.TestTools) string { + tt.T.Helper() api := datawarehouse.NewAPI(tt.Meta) versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) if err != nil { - t.Fatalf("unable to fetch datawarehouse versions: %s", err) + tt.T.Fatalf("unable to fetch datawarehouse versions: %s", err) } if len(versionsResp.Versions) == 0 { - t.Fatal("no datawarehouse versions available") + tt.T.Fatal("no datawarehouse versions available") } return versionsResp.Versions[0].Version diff --git a/internal/services/datawarehouse/user_test.go b/internal/services/datawarehouse/user_test.go index cab34e142..46254d1dd 100644 --- a/internal/services/datawarehouse/user_test.go +++ b/internal/services/datawarehouse/user_test.go @@ -18,7 +18,7 @@ func TestAccUser_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() - latestVersion := fetchLatestClickHouseVersion(t, tt) + latestVersion := fetchLatestClickHouseVersion(tt) resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, From cfd3ebb753bcd42c44767ddc0bca7ff95bbce9c7 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Thu, 30 Oct 2025 13:45:50 +0100 Subject: [PATCH 6/9] fix: use locality.ExpandID for deployment_id in user and database resources --- internal/services/datawarehouse/database.go | 21 +++++++++++------- .../services/datawarehouse/database_test.go | 15 +------------ .../services/datawarehouse/deployment_test.go | 12 +++++----- .../services/datawarehouse/helpers_test.go | 11 +++++----- internal/services/datawarehouse/user.go | 22 ++++++++++++------- 5 files changed, 40 insertions(+), 41 deletions(-) diff --git a/internal/services/datawarehouse/database.go b/internal/services/datawarehouse/database.go index 3ff2c32d7..67b321ec9 100644 --- a/internal/services/datawarehouse/database.go +++ b/internal/services/datawarehouse/database.go @@ -9,7 +9,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/dsf" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" ) @@ -24,10 +26,11 @@ func ResourceDatabase() *schema.Resource { Schema: map[string]*schema.Schema{ "region": regional.Schema(), "deployment_id": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "ID of the Datawarehouse deployment to which this database belongs.", + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ID of the Datawarehouse deployment to which this database belongs.", + DiffSuppressFunc: dsf.Locality, }, "name": { Type: schema.TypeString, @@ -45,10 +48,12 @@ func ResourceDatabase() *schema.Resource { } func resourceDatabaseCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) + api, region, err := datawarehouseAPIWithRegion(d, meta) + if err != nil { + return diag.FromErr(err) + } - region := scw.Region(d.Get("region").(string)) - deploymentID := d.Get("deployment_id").(string) + deploymentID := locality.ExpandID(d.Get("deployment_id").(string)) name := d.Get("name").(string) req := &datawarehouseapi.CreateDatabaseRequest{ @@ -57,7 +62,7 @@ func resourceDatabaseCreate(ctx context.Context, d *schema.ResourceData, meta an Name: name, } - _, err := api.CreateDatabase(req, scw.WithContext(ctx)) + _, err = api.CreateDatabase(req, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) } diff --git a/internal/services/datawarehouse/database_test.go b/internal/services/datawarehouse/database_test.go index 52ee689a0..65dca8a65 100644 --- a/internal/services/datawarehouse/database_test.go +++ b/internal/services/datawarehouse/database_test.go @@ -18,21 +18,8 @@ func TestAccDatabase_Basic(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() - // Fetch latest ClickHouse version - api := datawarehouse.NewAPI(tt.Meta) + latestVersion := fetchLatestClickHouseVersion(tt) - versionsResp, err := api.ListVersions(&datawarehouseSDK.ListVersionsRequest{}, scw.WithAllPages()) - if err != nil { - t.Fatalf("unable to fetch datawarehouse versions: %s", err) - } - - if len(versionsResp.Versions) == 0 { - t.Fatal("no datawarehouse versions available") - } - - latestVersion := versionsResp.Versions[0].Version - - // Terraform acceptance test resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, ProtoV6ProviderFactories: tt.ProviderFactories, diff --git a/internal/services/datawarehouse/deployment_test.go b/internal/services/datawarehouse/deployment_test.go index 4a76b0fdf..fb59888b8 100644 --- a/internal/services/datawarehouse/deployment_test.go +++ b/internal/services/datawarehouse/deployment_test.go @@ -86,13 +86,13 @@ func isDeploymentDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { continue } - id := rs.Primary.ID - region := rs.Primary.Attributes["region"] - - api := datawarehouse.NewAPI(tt.Meta) + api, region, id, err := datawarehouse.NewAPIWithRegionAndID(tt.Meta, rs.Primary.ID) + if err != nil { + return err + } - _, err := api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ - Region: scw.Region(region), + _, err = api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ + Region: region, DeploymentID: id, }, scw.WithContext(context.Background())) if err == nil { diff --git a/internal/services/datawarehouse/helpers_test.go b/internal/services/datawarehouse/helpers_test.go index 6b8d66ca5..44061aa0d 100644 --- a/internal/services/datawarehouse/helpers_test.go +++ b/internal/services/datawarehouse/helpers_test.go @@ -39,12 +39,13 @@ func isDeploymentPresent(tt *acctest.TestTools, n string) resource.TestCheckFunc return fmt.Errorf("resource not found: %s", n) } - id := rs.Primary.ID - region := rs.Primary.Attributes["region"] + api, region, id, err := datawarehouse.NewAPIWithRegionAndID(tt.Meta, rs.Primary.ID) + if err != nil { + return err + } - api := datawarehouse.NewAPI(tt.Meta) - _, err := api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ - Region: scw.Region(region), + _, err = api.GetDeployment(&datawarehouseSDK.GetDeploymentRequest{ + Region: region, DeploymentID: id, }, scw.WithContext(context.Background())) diff --git a/internal/services/datawarehouse/user.go b/internal/services/datawarehouse/user.go index 3f153a17e..cd0c9a080 100644 --- a/internal/services/datawarehouse/user.go +++ b/internal/services/datawarehouse/user.go @@ -9,7 +9,9 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" datawarehouseapi "github.com/scaleway/scaleway-sdk-go/api/datawarehouse/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/dsf" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" ) @@ -25,10 +27,11 @@ func ResourceUser() *schema.Resource { Schema: map[string]*schema.Schema{ "region": regional.Schema(), "deployment_id": { - Type: schema.TypeString, - Required: true, - ForceNew: true, - Description: "ID of the Datawarehouse deployment to which this user belongs.", + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: "ID of the Datawarehouse deployment to which this user belongs.", + DiffSuppressFunc: dsf.Locality, }, "name": { Type: schema.TypeString, @@ -53,9 +56,12 @@ func ResourceUser() *schema.Resource { } func resourceUserCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { - api := NewAPI(meta) - region := scw.Region(d.Get("region").(string)) - deploymentID := d.Get("deployment_id").(string) + api, region, err := datawarehouseAPIWithRegion(d, meta) + if err != nil { + return diag.FromErr(err) + } + + deploymentID := locality.ExpandID(d.Get("deployment_id").(string)) name := d.Get("name").(string) password := d.Get("password").(string) isAdmin := d.Get("is_admin").(bool) @@ -68,7 +74,7 @@ func resourceUserCreate(ctx context.Context, d *schema.ResourceData, meta any) d IsAdmin: isAdmin, } - _, err := api.CreateUser(req, scw.WithContext(ctx)) + _, err = api.CreateUser(req, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) } From 89c284dd91255c4d08480cffb53bd27230ec4f1d Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Thu, 30 Oct 2025 15:13:15 +0100 Subject: [PATCH 7/9] test: update cassette files for datawarehouse tests --- go.sum | 59 ---- .../testdata/database-basic.cassette.yaml | 212 ++++++------- .../testdata/deployment-basic.cassette.yaml | 282 ++++++++--------- .../testdata/user-basic.cassette.yaml | 298 +++++++++--------- 4 files changed, 396 insertions(+), 455 deletions(-) diff --git a/go.sum b/go.sum index c8819b2d4..68ea70e56 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,3 @@ -cel.dev/expr v0.24.0/go.mod h1:hLPLo1W4QUmuYdA72RBX06QTs6MXw941piREPl3Yfiw= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -18,18 +17,14 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= -cloud.google.com/go/compute/metadata v0.7.0/go.mod h1:j5MvL9PprKL39t166CoB1uVHfQMs4tFQZZcKwksXUjo= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -49,7 +44,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0/go.mod h1:Cz6ft6Dkn3Et6l2v2a9/RpN7epQ1GtDlO6lj8bEcOvw= github.com/Kunde21/markdownfmt/v3 v3.1.0 h1:KiZu9LKs+wFFBQKhrZJrFZwtLnCCWJahL+S+E/3VnM0= github.com/Kunde21/markdownfmt/v3 v3.1.0/go.mod h1:tPXN1RTyOzJwhfHoon9wUr4HGYmWgVxSQN6VBJDkrVc= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= @@ -69,10 +63,8 @@ github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki github.com/alexedwards/argon2id v1.0.0 h1:wJzDx66hqWX7siL/SRUmgz3F8YMrd/nfX/xHHcQQP0w= github.com/alexedwards/argon2id v1.0.0/go.mod h1:tYKkqIjzXvZdzPvADMWOEZ+l6+BD6CtBXMj5fnJppiw= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= -github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY= github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= @@ -97,13 +89,10 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.7 h1:BszAktdUo2xlzmYHjWMq70DqJ7cROM8iBd3f6hrpuMQ= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.7/go.mod h1:XJ1yHki/P7ZPuG4fd3f0Pg/dSGA2cTQBCLw82MH2H48= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.50.1/go.mod h1:fe3UQAYwylCQRlGnihsqU/tTQkrc2nrW/IhWYwlW9vg= -github.com/aws/aws-sdk-go-v2/service/iam v1.47.3/go.mod h1:5q4IwllQ9vIoq7bk8dPvPbT3LQCky+4NgV7vKwAbaEs= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.1 h1:oegbebPEMA/1Jny7kvwejowCaHz1FWZAQ94WXFNCyTM= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.1/go.mod h1:kemo5Myr9ac0U9JfSjMo9yHLtw+pECEHsFtJ9tqCEI8= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.7 h1:zmZ8qvtE9chfhBPuKB2aQFxW5F/rpwXUgmcVCgQzqRw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.8.7/go.mod h1:vVYfbpd2l+pKqlSIDIOgouxNsGu5il9uDp0ooWb0jys= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.6/go.mod h1:sXXWh1G9LKKkNbuR0f0ZPd/IvDXlMGiag40opt4XEgY= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.9 h1:5r34CgVOD4WZudeEKZ9/iKpiT6cM1JyEROpXjOcdWv8= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.9/go.mod h1:dB12CEbNWPbzO2uC6QSWHteqOg4JfBVJOojbAoAUb5I= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.7 h1:u3VbDKUCWarWiU+aIUK4gjTr/wQFXV17y3hgNno9fcA= @@ -139,11 +128,9 @@ github.com/bmatcuk/doublestar/v4 v4.9.1 h1:X8jg9rRZmJd4yRy7ZeNDRnM+T3ZfHv15JiBJ/ github.com/bmatcuk/doublestar/v4 v4.9.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= -github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM= github.com/cenkalti/backoff/v5 v5.0.3/go.mod h1:rkhZdG3JZukswDf7f0cwqPNk4K0sa+F97BxZthm/crw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -155,16 +142,12 @@ github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE= github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= -github.com/containerd/typeurl/v2 v2.2.0/go.mod h1:8XOOxnyatxSWuG8OfsZXVnAF4iZfedjS/8UHSPJnX4g= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s= @@ -192,11 +175,7 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.13.4/go.mod h1:kDfuBlDVsSj2MjrLEtRWtHlsWIFcGyB2RMO44Dc5GZA= -github.com/envoyproxy/go-control-plane/envoy v1.32.4/go.mod h1:Gzjc5k8JcJswLjAx1Zm+wSYE20UrLtt7JZMWiWQXQEw= -github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v1.2.1/go.mod h1:d/C80l/jxXLdfEIhX1W2TmLfsJ31lvEjwamM4DxlWXU= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= @@ -216,7 +195,6 @@ github.com/go-git/go-git/v5 v5.14.0/go.mod h1:Z5Xhoia5PcWA3NF8vRLURn9E5FRhSl7dGj github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-jose/go-jose/v4 v4.1.1/go.mod h1:BdsZGqgdO3b6tTc6LSE56wcDbMMLuPsw5d4ZD5f94kA= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= @@ -227,9 +205,7 @@ github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw= github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -297,7 +273,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gookit/color v1.5.1 h1:Vjg2VEcdHpwq+oY63s/ksHrgJYCTo0bwWvmmYWdE9fQ= github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM= @@ -311,7 +286,6 @@ github.com/hashicorp/awspolicyequivalence v1.7.0 h1:HxwPEw2/31BqQa73PinGciTfG2uJ github.com/hashicorp/awspolicyequivalence v1.7.0/go.mod h1:+oCTxQEYt+GcRalqrqTCBcJf100SQYiWQ4aENNYxYe0= github.com/hashicorp/cli v1.1.7 h1:/fZJ+hNdwfTSfsxMBa9WWMlfjUZbX8/LnUxgAd7lCVU= github.com/hashicorp/cli v1.1.7/go.mod h1:e6Mfpga9OCT1vqzFuoGZiiF/KaG9CbUfO5s3ghU3YgU= -github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -324,7 +298,6 @@ github.com/hashicorp/go-cty v1.5.0 h1:EkQ/v+dDNUqnuVpmS5fPqyY71NXVgT5gf32+57xY8g github.com/hashicorp/go-cty v1.5.0/go.mod h1:lFUCG5kd8exDobgSfyj4ONE/dc822kiYMguVKdHGMLM= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= @@ -332,7 +305,6 @@ github.com/hashicorp/go-plugin v1.7.0 h1:YghfQH/0QmPNc/AZMTFE3ac8fipZyZECHdDPshf github.com/hashicorp/go-plugin v1.7.0/go.mod h1:BExt6KEaIYx804z8k4gRzRLEvxKVb+kn0NMcihqOqb8= github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48= github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= @@ -340,7 +312,6 @@ github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKe github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hc-install v0.9.2 h1:v80EtNX4fCVHqzL9Lg/2xkp62bbvQMnvPQ0G+OmtO24= github.com/hashicorp/hc-install v0.9.2/go.mod h1:XUqBQNnuT4RsxoxiM9ZaUk0NX8hi2h+Lb6/c0OZnC/I= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -349,7 +320,6 @@ github.com/hashicorp/hcl/v2 v2.24.0 h1:2QJdZ454DSsYGoaE6QheQZjtKZSUs9Nh2izTWiwQx github.com/hashicorp/hcl/v2 v2.24.0/go.mod h1:oGoO1FIQYfn/AgyOhlg9qLC6/nOJPX3qGbkZpYAcqfM= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-exec v0.24.0 h1:mL0xlk9H5g2bn0pPF6JQZk5YlByqSqrO5VoaNtAf8OE= github.com/hashicorp/terraform-exec v0.24.0/go.mod h1:lluc/rDYfAhYdslLJQg3J0oDqo88oGQAdHR+wDqFvo4= github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoKST/tRDBJKU= @@ -381,7 +351,6 @@ github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= @@ -389,8 +358,6 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i github.com/jhump/protoreflect v1.17.0 h1:qOEr613fac2lOuTgWN4tPAtLL7fUSbuJL5X5XumQh94= github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= -github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/katbyte/andreyvit-diff v0.0.2 h1:uQGxP2z57bTUGn3SCFzYKgtIKLeuYE+k9dxq1u9Js7U= @@ -451,8 +418,6 @@ github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7z github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/nats-io/jwt/v2 v2.8.0 h1:K7uzyz50+yGZDO5o772eRE7atlcSEENpL7P+b74JV1g= @@ -475,12 +440,10 @@ github.com/pelletier/go-toml/v2 v2.0.1 h1:8e3L2cCQzLFi2CR4g7vGFuFxX7Jl1kKX8gW+iV github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4= github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -494,10 +457,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251015050748-12aafea99911 h1:puwRtGGoGw9Rw3qlB7ltimV2+uugkalN08DyVEL1VoE= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251015050748-12aafea99911/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA= -github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= @@ -521,9 +482,7 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.12.0 h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ= github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI= -github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= @@ -559,24 +518,16 @@ github.com/zclconf/go-cty v1.17.0 h1:seZvECve6XX4tmnvRzWtJNHdscMtYEx5R7bnnVyd/d0 github.com/zclconf/go-cty v1.17.0/go.mod h1:wqFzcImaLTI6A5HfsRwB0nj5n0MRZFwmey8YoFPPs3U= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= -github.com/zeebo/errs v1.4.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4= go.abhg.dev/goldmark/frontmatter v0.2.0 h1:P8kPG0YkL12+aYk2yU3xHv4tcXzeVnN+gU0tJ5JnxRw= go.abhg.dev/goldmark/frontmatter v0.2.0/go.mod h1:XqrEkZuM57djk7zrlRUB02x8I5J0px76YjkOzhB4YlU= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= -go.opentelemetry.io/contrib/detectors/gcp v1.36.0/go.mod h1:IbBN8uAIIx734PTonTPxAxnjc2pQTxWNkwfstZ+6H2k= -go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws v0.63.0/go.mod h1:wIvTiRUU7Pbfqas/5JVjGZcftBeSAGSYVMOHWzWG0qE= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg= go.opentelemetry.io/otel v1.38.0 h1:RkfdswUDRimDg0m2Az18RKOsnI8UDzppJAtj01/Ymk8= @@ -595,9 +546,6 @@ go.opentelemetry.io/otel/trace v1.38.0 h1:Fxk5bKrDZJUH+AMyyIXGcFAPah0oRcT+LuNtJr go.opentelemetry.io/otel/trace v1.38.0/go.mod h1:j1P9ivuFsTceSWe1oY+EeW3sc+Pp42sO++GHkg4wwhs= go.opentelemetry.io/proto/otlp v1.7.1 h1:gTOMpGDb0WTBOP8JaO72iL3auEZhVmAQg4ipjOVAtj4= go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -695,7 +643,6 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -759,7 +706,6 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ= golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= -golang.org/x/telemetry v0.0.0-20251008203120-078029d740a8/go.mod h1:Pi4ztBfryZoJEkyFTI5/Ocsu2jXyDr6iSdgJiYE/uwE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -837,13 +783,10 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= -golang.org/x/tools/go/expect v0.1.1-deprecated/go.mod h1:eihoPOH+FgIqa3FpoTwguz/bVUSGBlGQU67vpBeOrBY= -golang.org/x/tools/go/packages/packagestest v0.1.1-deprecated/go.mod h1:RVAQXBGNv1ib0J382/DPCRS/BPnsGebyM1Gj5VSDpG8= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= gonum.org/v1/gonum v0.16.0 h1:5+ul4Swaf3ESvrOnidPp4GZbzf0mxVQpDCYUQE7OJfk= gonum.org/v1/gonum v0.16.0/go.mod h1:fef3am4MQ93R2HHpKnLk4/Tbh/s0+wqD5nfa6Pnwy4E= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= @@ -865,7 +808,6 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -911,7 +853,6 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 h1:BIRfGDEjiHRrk0QKZe3Xv2ieMhtgRGeLcZQ0mIVn4EY= google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5/go.mod h1:j3QtIyytwqGr1JUDtYXwtMXWPKsEa5LtzIFN1Wn5WvE= google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 h1:eaY8u2EuxbRv7c3NiGK0/NedzVsCcV6hDuU5qPX5EGE= diff --git a/internal/services/datawarehouse/testdata/database-basic.cassette.yaml b/internal/services/datawarehouse/testdata/database-basic.cassette.yaml index 9700cfb43..0c8bece7d 100644 --- a/internal/services/datawarehouse/testdata/database-basic.cassette.yaml +++ b/internal/services/datawarehouse/testdata/database-basic.cassette.yaml @@ -36,9 +36,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:02 GMT + - Thu, 30 Oct 2025 14:00:12 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -46,10 +46,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2ee76a46-b8a1-406f-a441-62e62f071d2e + - c8ba849e-4c07-4c88-9e8e-82e63a1d7de8 status: 200 OK code: 200 - duration: 347.422708ms + duration: 261.175834ms - id: 1 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 642 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "642" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:14 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 288625d6-f85f-4f80-b05b-f1f50feac7dd + - f3b48918-070e-48a2-81dd-b038d7e4e9c3 status: 200 OK code: 200 - duration: 457.125042ms + duration: 907.875334ms - id: 2 request: proto: HTTP/1.1 @@ -117,7 +117,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 642 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "642" @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:14 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 69ff9e4a-957e-4ec6-b154-a100609f86e3 + - ba9498fb-79d8-4679-94bf-c9775b6fb47d status: 200 OK code: 200 - duration: 103.648083ms + duration: 128.134708ms - id: 3 request: proto: HTTP/1.1 @@ -166,7 +166,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -185,9 +185,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:37 GMT + - Thu, 30 Oct 2025 14:08:17 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4d0d3185-23bd-403b-bd4e-aa1458a04082 + - 8722347e-a206-4d43-b07e-8b005f794a17 status: 200 OK code: 200 - duration: 186.740167ms + duration: 145.948542ms - id: 4 request: proto: HTTP/1.1 @@ -215,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -225,7 +225,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -234,9 +234,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:37 GMT + - Thu, 30 Oct 2025 14:08:17 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6eb9e556-e862-4be2-8516-ce9d868d70a2 + - c9259b7d-2c77-4daa-a3b0-08c5e5f80c57 status: 200 OK code: 200 - duration: 138.538209ms + duration: 86.208042ms - id: 5 request: proto: HTTP/1.1 @@ -264,7 +264,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -274,7 +274,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -283,9 +283,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:37 GMT + - Thu, 30 Oct 2025 14:08:17 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7dba18e7-0b47-4952-9533-332ac7a1ddba + - 28977db0-7374-4b90-aed4-952e1891d373 status: 200 OK code: 200 - duration: 103.327875ms + duration: 88.372875ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases method: POST response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:38 GMT + - Thu, 30 Oct 2025 14:08:17 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe4e74e6-7b7d-4467-aa60-e28a58be8411 + - d9c9b889-2cb8-4617-b692-9c62d54240fa status: 200 OK code: 200 - duration: 201.828375ms + duration: 216.745917ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases?name=testdb&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:38 GMT + - Thu, 30 Oct 2025 14:08:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bd7ad47-a1bb-422c-b2bd-8faad12fcaaf + - 269a8ccb-43c9-42bc-91bb-87c16610f077 status: 200 OK code: 200 - duration: 141.256167ms + duration: 167.132166ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -423,7 +423,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:38 GMT + - Thu, 30 Oct 2025 14:08:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5a2a0df-8c82-40fb-aece-f9247c24d8b4 + - 1832878a-a5dc-46da-8fce-017c20ac8c43 status: 200 OK code: 200 - duration: 108.667375ms + duration: 91.471208ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases?name=testdb&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -481,9 +481,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:38 GMT + - Thu, 30 Oct 2025 14:08:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -491,10 +491,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c52e7511-69e3-437e-8ef1-56c01613770a + - b2e5b897-ff5d-4a9d-98d9-12d0d47aae3b status: 200 OK code: 200 - duration: 210.578625ms + duration: 140.243625ms - id: 10 request: proto: HTTP/1.1 @@ -511,7 +511,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -521,7 +521,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:39 GMT + - Thu, 30 Oct 2025 14:08:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 70ce6c47-3090-470f-a90a-ac9af2b0b729 + - 32d260ef-79d3-42df-8e16-ca59bcbefd92 status: 200 OK code: 200 - duration: 144.029833ms + duration: 100.370833ms - id: 11 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -570,7 +570,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -579,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:39 GMT + - Thu, 30 Oct 2025 14:08:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac27d5ca-6221-4cdc-ade7-e87f62d07b58 + - 177f1dca-f370-477a-a461-ea4c5a7889c8 status: 200 OK code: 200 - duration: 97.709792ms + duration: 89.256209ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases?name=testdb&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:39 GMT + - Thu, 30 Oct 2025 14:08:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6bc1aa6a-2299-4cc0-bb3b-cc718a9333bb + - 7d37109c-8c01-4c70-a32d-aebffaad5e5d status: 200 OK code: 200 - duration: 251.100625ms + duration: 159.420708ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases/testdb + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases/testdb method: DELETE response: proto: HTTP/2.0 @@ -675,9 +675,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:40 GMT + - Thu, 30 Oct 2025 14:08:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -685,10 +685,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a8b8b45d-7c66-4084-b79f-fb85a8299c00 + - 7e58733d-b5ce-4d05-8338-f76580225dca status: 204 No Content code: 204 - duration: 213.638334ms + duration: 186.984084ms - id: 14 request: proto: HTTP/1.1 @@ -705,7 +705,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -715,7 +715,7 @@ interactions: trailer: {} content_length: 664 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:44:09.685210Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:08:09.318872Z","version":"v25"}' headers: Content-Length: - "664" @@ -724,9 +724,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:40 GMT + - Thu, 30 Oct 2025 14:08:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -734,10 +734,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0cefc57d-fe2a-46e0-85e4-9574b3cf0c7c + - a4bafd88-ab96-4635-9084-e9d10a3810cf status: 200 OK code: 200 - duration: 104.3585ms + duration: 110.45475ms - id: 15 request: proto: HTTP/1.1 @@ -754,7 +754,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: DELETE response: proto: HTTP/2.0 @@ -764,7 +764,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:44:40.846395Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-30T14:08:20.455844Z","version":"v25"}' headers: Content-Length: - "667" @@ -773,9 +773,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:40 GMT + - Thu, 30 Oct 2025 14:08:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -783,10 +783,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba0911d0-cade-438e-a5e5-265ec207fbae + - 903770f5-0bb0-412f-afb1-93dcff9f8244 status: 200 OK code: 200 - duration: 172.133209ms + duration: 162.278708ms - id: 16 request: proto: HTTP/1.1 @@ -803,7 +803,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -813,7 +813,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.973138Z","endpoints":[{"dns_record":"bd2a2f19-a410-40da-b7fb-965c42150fd3.dtwh.fr-par.scw.cloud","id":"f5088e68-b539-4ddd-a4db-91278b6e39b9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:44:40.846395Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.925082Z","endpoints":[{"dns_record":"5a3773ca-a84d-4a9c-af4d-05526b98ec60.dtwh.fr-par.scw.cloud","id":"ffbea23f-5a21-422b-92cd-74d036fad1c9","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","name":"tf-test-deploy-db","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-30T14:08:20.455844Z","version":"v25"}' headers: Content-Length: - "667" @@ -822,9 +822,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:41 GMT + - Thu, 30 Oct 2025 14:08:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -832,10 +832,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a9bb4fc4-5423-4679-b4fd-8614905b3ccf + - 082e1aba-e15d-4d05-a28b-a363a170131f status: 200 OK code: 200 - duration: 101.810417ms + duration: 97.133917ms - id: 17 request: proto: HTTP/1.1 @@ -852,7 +852,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60 method: GET response: proto: HTTP/2.0 @@ -862,7 +862,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","type":"not_found"}' headers: Content-Length: - "131" @@ -871,9 +871,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:46:11 GMT + - Thu, 30 Oct 2025 14:09:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -881,10 +881,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4b8cba5e-3785-4084-986e-817c6710460d + - d4ba0721-0396-4073-ae43-9eba7c1a2b69 status: 404 Not Found code: 404 - duration: 90.388375ms + duration: 33.3555ms - id: 18 request: proto: HTTP/1.1 @@ -901,7 +901,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/bd2a2f19-a410-40da-b7fb-965c42150fd3/databases?name=testdb&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/5a3773ca-a84d-4a9c-af4d-05526b98ec60/databases?name=testdb&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -911,7 +911,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"bd2a2f19-a410-40da-b7fb-965c42150fd3","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"5a3773ca-a84d-4a9c-af4d-05526b98ec60","type":"not_found"}' headers: Content-Length: - "131" @@ -920,9 +920,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:46:11 GMT + - Thu, 30 Oct 2025 14:09:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -930,7 +930,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c465bb89-3c02-49be-8e3f-3f958efab5cb + - 1b6968c2-8c78-4a5c-a7b8-2f9678850e58 status: 404 Not Found code: 404 - duration: 30.708417ms + duration: 55.937208ms diff --git a/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml b/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml index 0b4e3c861..93403326f 100644 --- a/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml +++ b/internal/services/datawarehouse/testdata/deployment-basic.cassette.yaml @@ -36,9 +36,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:02 GMT + - Thu, 30 Oct 2025 14:00:12 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -46,10 +46,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 79e8097e-11e4-4863-be8f-634698d27233 + - 7cef095d-9749-451c-b064-60e8dfe730e9 status: 200 OK code: 200 - duration: 168.342958ms + duration: 46.463291ms - id: 1 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 645 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "645" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:14 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e90173d4-dc5b-4b5d-84e5-6e478a30ccf2 + - 77a7f60a-bbe7-4b81-a37b-747381f5c5c4 status: 200 OK code: 200 - duration: 388.508084ms + duration: 423.51025ms - id: 2 request: proto: HTTP/1.1 @@ -117,7 +117,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 645 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "645" @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:14 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d222e4ca-2588-4a9f-9706-847476644da4 + - d52c752a-7a1f-43c8-9dba-551090d3f52a status: 200 OK code: 200 - duration: 89.3115ms + duration: 91.662875ms - id: 3 request: proto: HTTP/1.1 @@ -166,7 +166,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -185,9 +185,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:07 GMT + - Thu, 30 Oct 2025 14:09:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff407b59-2422-426b-9474-17456636c8fe + - bea97ee2-933a-4851-9d3e-549aa6b4114f status: 200 OK code: 200 - duration: 112.025833ms + duration: 246.329209ms - id: 4 request: proto: HTTP/1.1 @@ -215,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -225,7 +225,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -234,9 +234,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:07 GMT + - Thu, 30 Oct 2025 14:09:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 82da95e8-134b-45d0-82b2-ed2495a035e3 + - f1efa6f0-48f2-4de1-8efd-3269d3f86b3b status: 200 OK code: 200 - duration: 87.219458ms + duration: 126.000875ms - id: 5 request: proto: HTTP/1.1 @@ -264,7 +264,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -274,7 +274,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -283,9 +283,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:07 GMT + - Thu, 30 Oct 2025 14:09:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0622f44c-a16b-47d1-8b0f-6dcadbab1a58 + - 284f092f-abb1-4e92-a90e-aa9dee344944 status: 200 OK code: 200 - duration: 91.597459ms + duration: 176.877209ms - id: 6 request: proto: HTTP/1.1 @@ -313,7 +313,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -323,7 +323,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -332,9 +332,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:07 GMT + - Thu, 30 Oct 2025 14:09:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -342,10 +342,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 32395584-1c69-4b05-9dca-3b2591f675d1 + - fbb9c5a2-b8f0-4931-8af0-5457946b0a39 status: 200 OK code: 200 - duration: 83.085459ms + duration: 247.386791ms - id: 7 request: proto: HTTP/1.1 @@ -362,7 +362,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -372,7 +372,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:08 GMT + - Thu, 30 Oct 2025 14:09:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bad1440-44da-4959-8e06-22474213e4a6 + - af5abd1e-02aa-43b0-bac4-d8cb7b2da87d status: 200 OK code: 200 - duration: 95.822583ms + duration: 299.54975ms - id: 8 request: proto: HTTP/1.1 @@ -411,7 +411,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -421,7 +421,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -430,9 +430,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:08 GMT + - Thu, 30 Oct 2025 14:09:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -440,10 +440,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c5577b0-f313-4339-93a7-6cdaa7a14b22 + - e04795be-fb58-4885-ac33-2d5787b74b01 status: 200 OK code: 200 - duration: 89.70875ms + duration: 178.709833ms - id: 9 request: proto: HTTP/1.1 @@ -460,7 +460,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -470,7 +470,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:09 GMT + - Thu, 30 Oct 2025 14:09:49 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 61454321-c0f1-43a6-852a-f305e64713d4 + - 3f091c41-78ef-4576-8aff-740a80cd4715 status: 200 OK code: 200 - duration: 178.331958ms + duration: 143.726125ms - id: 10 request: proto: HTTP/1.1 @@ -509,7 +509,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -519,7 +519,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -528,9 +528,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:09 GMT + - Thu, 30 Oct 2025 14:09:49 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -538,10 +538,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5d98bb6a-b0a6-40f7-bce4-dfc26c217d69 + - 99cb03f4-de3f-4540-875a-5352675c02d6 status: 200 OK code: 200 - duration: 103.019791ms + duration: 130.094209ms - id: 11 request: proto: HTTP/1.1 @@ -558,7 +558,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -568,7 +568,7 @@ interactions: trailer: {} content_length: 667 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:42.051414Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:09:29.336141Z","version":"v25"}' headers: Content-Length: - "667" @@ -577,9 +577,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:10 GMT + - Thu, 30 Oct 2025 14:09:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -587,10 +587,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a0540d5-cbf4-45dc-94dd-690f5231c417 + - 109e3f1f-2bc3-4d0b-937b-353e2fc17531 status: 200 OK code: 200 - duration: 122.847167ms + duration: 88.925375ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: PATCH response: proto: HTTP/2.0 @@ -619,7 +619,7 @@ interactions: trailer: {} content_length: 432 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "432" @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:10 GMT + - Thu, 30 Oct 2025 14:09:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aba4342e-244b-49c7-9a97-c5059afae0a8 + - 28beefcf-e102-4139-b16c-a213ef96c710 status: 200 OK code: 200 - duration: 119.254584ms + duration: 104.01125ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -668,7 +668,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -677,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:10 GMT + - Thu, 30 Oct 2025 14:09:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ac7de55-d5ee-4b01-9fd6-93e0177e3f62 + - 150ce8c3-564b-4d5e-98f5-e7f370c74e5e status: 200 OK code: 200 - duration: 220.854959ms + duration: 88.80275ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +707,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -717,7 +717,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -726,9 +726,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:10 GMT + - Thu, 30 Oct 2025 14:09:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c4e1c76-09d5-4fd2-a699-dfabb8d7fb2f + - 1608697b-94b2-4162-ac36-de85671af3b7 status: 200 OK code: 200 - duration: 176.18725ms + duration: 86.343ms - id: 15 request: proto: HTTP/1.1 @@ -756,7 +756,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -766,7 +766,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -775,9 +775,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:10 GMT + - Thu, 30 Oct 2025 14:09:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -785,10 +785,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2d6d0116-8591-42ca-8f69-30a58bff325a + - 0cc4fb42-c445-469f-a8e2-fd9bdd94686f status: 200 OK code: 200 - duration: 155.604417ms + duration: 80.753125ms - id: 16 request: proto: HTTP/1.1 @@ -805,7 +805,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -815,7 +815,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -824,9 +824,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:11 GMT + - Thu, 30 Oct 2025 14:09:51 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -834,10 +834,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d35187d0-bd9c-40d7-b855-00051930e837 + - 384b6dc7-7a77-4619-937b-3ece53b95a33 status: 200 OK code: 200 - duration: 295.153625ms + duration: 128.132041ms - id: 17 request: proto: HTTP/1.1 @@ -854,7 +854,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -864,7 +864,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -873,9 +873,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:12 GMT + - Thu, 30 Oct 2025 14:09:51 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -883,10 +883,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3c08ff47-b7fd-4372-82ec-0a199ceff498 + - eb19bacc-fc59-4985-8870-fbbfbd0ceead status: 200 OK code: 200 - duration: 289.602708ms + duration: 101.614708ms - id: 18 request: proto: HTTP/1.1 @@ -903,7 +903,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -913,7 +913,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -922,9 +922,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:12 GMT + - Thu, 30 Oct 2025 14:09:51 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -932,10 +932,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ede65c4-849b-4bdd-9de6-e9486e6da775 + - e14d1142-b5f6-4586-acc8-18570480c389 status: 200 OK code: 200 - duration: 350.06225ms + duration: 79.3125ms - id: 19 request: proto: HTTP/1.1 @@ -952,7 +952,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -962,7 +962,7 @@ interactions: trailer: {} content_length: 681 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:10.223701Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:50.583508Z","version":"v25"}' headers: Content-Length: - "681" @@ -971,9 +971,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:13 GMT + - Thu, 30 Oct 2025 14:09:52 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -981,10 +981,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6d798430-0675-4e1c-ac42-869d2606000d + - d61e8ac8-7b14-441d-ab01-65b6ea6f14c0 status: 200 OK code: 200 - duration: 85.28125ms + duration: 100.2195ms - id: 20 request: proto: HTTP/1.1 @@ -1001,7 +1001,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: DELETE response: proto: HTTP/2.0 @@ -1011,7 +1011,7 @@ interactions: trailer: {} content_length: 684 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:13.593239Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:52.850190Z","version":"v25"}' headers: Content-Length: - "684" @@ -1020,9 +1020,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:13 GMT + - Thu, 30 Oct 2025 14:09:53 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1030,10 +1030,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 71d13806-410d-4633-8bf5-fb810d71a4a8 + - fa8e5b04-b129-4119-8241-7f6e3e0c32e8 status: 200 OK code: 200 - duration: 159.794166ms + duration: 234.267416ms - id: 21 request: proto: HTTP/1.1 @@ -1050,7 +1050,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -1060,7 +1060,7 @@ interactions: trailer: {} content_length: 684 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.942753Z","endpoints":[{"dns_record":"3926bb63-4391-46e1-ae24-d182ecad5d4f.dtwh.fr-par.scw.cloud","id":"5827c64b-2159-4bd3-ba86-80a82433c432","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-27T05:44:13.593239Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.920936Z","endpoints":[{"dns_record":"351c31a0-df98-4c2f-b6ae-c08e638a0439.dtwh.fr-par.scw.cloud","id":"b14ec270-de94-4376-8be8-7baa140070e7","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","name":"tf-test-deploy-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":["tag1","tag2"],"updated_at":"2025-10-30T14:09:52.850190Z","version":"v25"}' headers: Content-Length: - "684" @@ -1069,9 +1069,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:13 GMT + - Thu, 30 Oct 2025 14:09:53 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1079,10 +1079,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f916c3c-5b8f-4844-b9a9-369331fd3f4f + - a80bd26c-f43e-440d-97ec-31eac2fa64a7 status: 200 OK code: 200 - duration: 152.922ms + duration: 118.350417ms - id: 22 request: proto: HTTP/1.1 @@ -1099,7 +1099,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -1109,7 +1109,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","type":"not_found"}' headers: Content-Length: - "131" @@ -1118,9 +1118,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:45:14 GMT + - Thu, 30 Oct 2025 14:10:53 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1128,10 +1128,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3b5cf24e-dd10-4f0e-97f2-ebc990f20396 + - 82042482-2e1f-47f7-b951-6098f1d625a4 status: 404 Not Found code: 404 - duration: 111.883541ms + duration: 37.955875ms - id: 23 request: proto: HTTP/1.1 @@ -1148,7 +1148,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/3926bb63-4391-46e1-ae24-d182ecad5d4f + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/351c31a0-df98-4c2f-b6ae-c08e638a0439 method: GET response: proto: HTTP/2.0 @@ -1158,7 +1158,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"3926bb63-4391-46e1-ae24-d182ecad5d4f","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"351c31a0-df98-4c2f-b6ae-c08e638a0439","type":"not_found"}' headers: Content-Length: - "131" @@ -1167,9 +1167,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:45:14 GMT + - Thu, 30 Oct 2025 14:10:53 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1177,7 +1177,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8718585a-6a68-4794-b0d4-5e254f27911b + - 34f75557-4c73-4ff9-b5f4-3a38ee52f0f8 status: 404 Not Found code: 404 - duration: 130.544041ms + duration: 25.016542ms diff --git a/internal/services/datawarehouse/testdata/user-basic.cassette.yaml b/internal/services/datawarehouse/testdata/user-basic.cassette.yaml index ffce8bd12..ca611a25b 100644 --- a/internal/services/datawarehouse/testdata/user-basic.cassette.yaml +++ b/internal/services/datawarehouse/testdata/user-basic.cassette.yaml @@ -36,9 +36,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:02 GMT + - Thu, 30 Oct 2025 14:00:12 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -46,10 +46,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1d1bbc8-fedc-4f7f-911c-3d927d9c6407 + - cb8ffd75-b31d-468a-9953-6ea1f83511cb status: 200 OK code: 200 - duration: 30.29275ms + duration: 217.360375ms - id: 1 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 644 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "644" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:15 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 59526faa-3748-4fac-8007-42b82f2ea919 + - 3b043355-a5ea-4579-873d-e33a049cf1f6 status: 200 OK code: 200 - duration: 603.574292ms + duration: 1.180185084s - id: 2 request: proto: HTTP/1.1 @@ -117,7 +117,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 644 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"creating","tags":[],"updated_at":null,"version":"v25"}' headers: Content-Length: - "644" @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:33:04 GMT + - Thu, 30 Oct 2025 14:00:15 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d83a39e9-2f21-4970-97ce-5930bfca6e1e + - 2c8d1f4c-c3bf-4c0f-a715-3ee1bc550da5 status: 200 OK code: 200 - duration: 95.584125ms + duration: 104.843417ms - id: 3 request: proto: HTTP/1.1 @@ -166,7 +166,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -185,9 +185,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:37 GMT + - Thu, 30 Oct 2025 14:11:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 052a874f-ccd1-41cd-a547-fb2c5d76c5ef + - a24d39c5-db10-4fdc-8e8a-3bb19b026847 status: 200 OK code: 200 - duration: 103.855667ms + duration: 155.276458ms - id: 4 request: proto: HTTP/1.1 @@ -215,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -225,7 +225,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -234,9 +234,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:37 GMT + - Thu, 30 Oct 2025 14:11:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bb00b31b-664b-44b6-8b59-b670d365e80b + - d065f968-bc9d-4e03-8940-e39935077b85 status: 200 OK code: 200 - duration: 119.287875ms + duration: 168.3565ms - id: 5 request: proto: HTTP/1.1 @@ -264,7 +264,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -274,7 +274,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -283,9 +283,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:37 GMT + - Thu, 30 Oct 2025 14:11:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d851e0bf-37ae-432f-b761-7200c928e63a + - 603c74b0-3e7d-4691-a51b-f67d8bca5b43 status: 200 OK code: 200 - duration: 170.644209ms + duration: 196.986458ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users method: POST response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:38 GMT + - Thu, 30 Oct 2025 14:11:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6874efec-f753-4515-b200-3558c37f06ef + - 1a6aa026-74d7-43f8-8586-3032cf00d1e0 status: 200 OK code: 200 - duration: 209.049917ms + duration: 247.964083ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:38 GMT + - Thu, 30 Oct 2025 14:11:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cb4f9746-e2a5-4c62-897a-bdb20893b39b + - 5384be7c-c7b3-451a-a843-2ebab8b4bde1 status: 200 OK code: 200 - duration: 146.665708ms + duration: 118.028959ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:38 GMT + - Thu, 30 Oct 2025 14:11:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bb1750f-be71-46ab-917e-dcc19429e47f + - 899d76b5-c9e4-45fa-bada-96077d85e311 status: 200 OK code: 200 - duration: 170.703667ms + duration: 130.850041ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -472,7 +472,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -481,9 +481,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:39 GMT + - Thu, 30 Oct 2025 14:11:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -491,10 +491,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1090ec9-31a1-40bd-a664-e2f5d9e3ca9e + - 750ae642-24ac-4310-b663-c4141e889aeb status: 200 OK code: 200 - duration: 101.057375ms + duration: 96.028625ms - id: 10 request: proto: HTTP/1.1 @@ -511,7 +511,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -521,7 +521,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:39 GMT + - Thu, 30 Oct 2025 14:11:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dfc0c17f-7db9-410e-857c-243a9ffb08a3 + - cfacb983-f0b0-45ae-bf91-782b6c89cbc3 status: 200 OK code: 200 - duration: 100.850291ms + duration: 124.485291ms - id: 11 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -579,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:39 GMT + - Thu, 30 Oct 2025 14:11:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 60b4f9c6-489b-46b6-ba4f-34917694eee0 + - 3f5e66a3-244d-4cf5-a729-f78553ceebf3 status: 200 OK code: 200 - duration: 191.448583ms + duration: 139.047417ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -619,7 +619,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:40 GMT + - Thu, 30 Oct 2025 14:11:21 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6b604f61-a63b-49e7-9334-aaa6d459249a + - 71ad85e2-00fb-4abd-9154-9e489c8f6c2e status: 200 OK code: 200 - duration: 116.031125ms + duration: 89.827333ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -668,7 +668,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -677,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:40 GMT + - Thu, 30 Oct 2025 14:11:21 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e430888-8807-430d-8550-7f56d3d76e60 + - c9d62362-9adb-416e-9455-a0790a69d109 status: 200 OK code: 200 - duration: 91.021ms + duration: 89.870541ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +707,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -726,9 +726,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:40 GMT + - Thu, 30 Oct 2025 14:11:21 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 92a06f8e-1c3c-4aa6-a9cc-dcda7874f96a + - 92e1932a-c8b7-4ee5-b279-b81a9cc1e812 status: 200 OK code: 200 - duration: 122.411958ms + duration: 118.154209ms - id: 15 request: proto: HTTP/1.1 @@ -758,7 +758,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users/tf_test_user + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users/tf_test_user method: PATCH response: proto: HTTP/2.0 @@ -777,9 +777,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:41 GMT + - Thu, 30 Oct 2025 14:11:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -787,10 +787,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 70de0211-8156-455d-8d55-d0cbb549b535 + - 178973ca-aca4-41f8-a1c2-2336dc2eec18 status: 200 OK code: 200 - duration: 142.445917ms + duration: 174.750917ms - id: 16 request: proto: HTTP/1.1 @@ -807,7 +807,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -826,9 +826,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:41 GMT + - Thu, 30 Oct 2025 14:11:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -836,10 +836,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8d1435b2-96cf-498b-8f28-d9eb4bf9548e + - 42258bf8-db99-48ff-92fd-74432383c848 status: 200 OK code: 200 - duration: 134.927375ms + duration: 145.329625ms - id: 17 request: proto: HTTP/1.1 @@ -856,7 +856,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -875,9 +875,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:41 GMT + - Thu, 30 Oct 2025 14:11:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -885,10 +885,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 413037bf-c8fd-4c18-8b82-58a36682ffcc + - dea9d354-83c5-4b5a-84fa-5867fe170253 status: 200 OK code: 200 - duration: 132.725416ms + duration: 126.80975ms - id: 18 request: proto: HTTP/1.1 @@ -905,7 +905,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -915,7 +915,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -924,9 +924,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:42 GMT + - Thu, 30 Oct 2025 14:11:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -934,10 +934,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e4678819-c153-46a2-a91d-4966b1ef285c + - c9c552c4-01cb-43af-a899-f89cacf20131 status: 200 OK code: 200 - duration: 218.955709ms + duration: 104.628583ms - id: 19 request: proto: HTTP/1.1 @@ -954,7 +954,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -964,7 +964,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -973,9 +973,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:42 GMT + - Thu, 30 Oct 2025 14:11:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -983,10 +983,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2bebde7a-9407-461e-a57c-870a90cbeb7b + - 2ad7acda-3030-4411-9b88-edde4af431ad status: 200 OK code: 200 - duration: 153.135625ms + duration: 111.579417ms - id: 20 request: proto: HTTP/1.1 @@ -1003,7 +1003,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -1022,9 +1022,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:42 GMT + - Thu, 30 Oct 2025 14:11:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1032,10 +1032,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 337c0e60-d6ad-4ac0-80fd-e8b9776ab660 + - bc2259ec-f940-41c5-9c9b-78ba3e129b3e status: 200 OK code: 200 - duration: 139.559167ms + duration: 115.713208ms - id: 21 request: proto: HTTP/1.1 @@ -1054,7 +1054,7 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users/tf_test_user + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users/tf_test_user method: DELETE response: proto: HTTP/2.0 @@ -1071,9 +1071,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:43 GMT + - Thu, 30 Oct 2025 14:11:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1081,10 +1081,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 71badcde-43cc-4e82-ac45-bd4e2dc4023a + - 40ef4a99-8033-4a71-981d-9698ef4cd1d3 status: 204 No Content code: 204 - duration: 191.423083ms + duration: 161.961541ms - id: 22 request: proto: HTTP/1.1 @@ -1101,7 +1101,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -1111,7 +1111,7 @@ interactions: trailer: {} content_length: 666 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-27T05:43:26.909380Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"ready","tags":[],"updated_at":"2025-10-30T14:10:53.358008Z","version":"v25"}' headers: Content-Length: - "666" @@ -1120,9 +1120,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:43 GMT + - Thu, 30 Oct 2025 14:11:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1130,10 +1130,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d8d0c1c8-3b9c-4df1-943b-ec27d781e9c4 + - 7e5613c3-1b7e-4460-8916-8f8cfb790cc3 status: 200 OK code: 200 - duration: 160.627833ms + duration: 99.675417ms - id: 23 request: proto: HTTP/1.1 @@ -1150,7 +1150,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: DELETE response: proto: HTTP/2.0 @@ -1160,7 +1160,7 @@ interactions: trailer: {} content_length: 669 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:43:43.963927Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-30T14:11:24.344569Z","version":"v25"}' headers: Content-Length: - "669" @@ -1169,9 +1169,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:44 GMT + - Thu, 30 Oct 2025 14:11:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1179,10 +1179,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 817e3452-122c-427c-935b-e1bdcdfbab4f + - bac32cf0-1b0d-4650-a88b-9dfb359fb654 status: 200 OK code: 200 - duration: 176.735958ms + duration: 173.867791ms - id: 24 request: proto: HTTP/1.1 @@ -1199,7 +1199,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -1209,7 +1209,7 @@ interactions: trailer: {} content_length: 669 uncompressed: false - body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-27T05:33:03.952724Z","endpoints":[{"dns_record":"89c46e27-0eef-49c9-9e42-42bd2afd6795.dtwh.fr-par.scw.cloud","id":"00d83cec-9149-44d9-acef-e7dd44192118","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-27T05:43:43.963927Z","version":"v25"}' + body: '{"cpu_max":4,"cpu_min":2,"created_at":"2025-10-30T14:00:13.949908Z","endpoints":[{"dns_record":"c962a16d-f2af-4988-b068-6e7ae240f17c.dtwh.fr-par.scw.cloud","id":"430ff4b2-8196-492d-b20d-57681487995f","public":{},"services":[{"port":8443,"protocol":"https"},{"port":9004,"protocol":"mysql"},{"port":9440,"protocol":"tcp"}]}],"id":"c962a16d-f2af-4988-b068-6e7ae240f17c","name":"tf-test-deploy-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","ram_per_cpu":4,"region":"fr-par","replica_count":1,"status":"deleting","tags":[],"updated_at":"2025-10-30T14:11:24.344569Z","version":"v25"}' headers: Content-Length: - "669" @@ -1218,9 +1218,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:43:44 GMT + - Thu, 30 Oct 2025 14:11:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1228,10 +1228,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 936010f4-85b6-4820-93ec-940fe02b7810 + - 964a5b8b-e6d7-46d5-ad19-49827020660a status: 200 OK code: 200 - duration: 175.840167ms + duration: 127.376166ms - id: 25 request: proto: HTTP/1.1 @@ -1248,7 +1248,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795 + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c method: GET response: proto: HTTP/2.0 @@ -1258,7 +1258,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"c962a16d-f2af-4988-b068-6e7ae240f17c","type":"not_found"}' headers: Content-Length: - "131" @@ -1267,9 +1267,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:44 GMT + - Thu, 30 Oct 2025 14:12:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1277,10 +1277,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a4b6b5b0-5c0c-43c2-96a5-5900cd7fdc99 + - 807e63c5-9161-4b61-9f4d-a6f6a0ec8b5a status: 404 Not Found code: 404 - duration: 26.953625ms + duration: 102.991042ms - id: 26 request: proto: HTTP/1.1 @@ -1297,7 +1297,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/89c46e27-0eef-49c9-9e42-42bd2afd6795/users?name=tf_test_user&order_by=name_asc + url: https://api.scaleway.com/datawarehouse/v1beta1/regions/fr-par/deployments/c962a16d-f2af-4988-b068-6e7ae240f17c/users?name=tf_test_user&order_by=name_asc method: GET response: proto: HTTP/2.0 @@ -1307,7 +1307,7 @@ interactions: trailer: {} content_length: 131 uncompressed: false - body: '{"message":"resource is not found","resource":"deployment","resource_id":"89c46e27-0eef-49c9-9e42-42bd2afd6795","type":"not_found"}' + body: '{"message":"resource is not found","resource":"deployment","resource_id":"c962a16d-f2af-4988-b068-6e7ae240f17c","type":"not_found"}' headers: Content-Length: - "131" @@ -1316,9 +1316,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 27 Oct 2025 05:44:44 GMT + - Thu, 30 Oct 2025 14:12:24 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1326,7 +1326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75a59c1a-dc71-46ba-8399-99ec215244af + - 2d1ae464-075f-4c12-811a-6edb640dfcbc status: 404 Not Found code: 404 - duration: 31.055583ms + duration: 37.662584ms From 9986c247ec17ca2baa5f49a49e84a04927760227 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Tue, 4 Nov 2025 16:33:38 +0100 Subject: [PATCH 8/9] ci: add datawarehouse to acceptance tests and nightly workflows --- .github/workflows/acceptance-tests.yaml | 2 ++ .github/workflows/nightly.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/acceptance-tests.yaml b/.github/workflows/acceptance-tests.yaml index 8aad21b8f..cd8a1acde 100644 --- a/.github/workflows/acceptance-tests.yaml +++ b/.github/workflows/acceptance-tests.yaml @@ -21,6 +21,7 @@ jobs: - block - cockpit - container + - datawarehouse - domain - file - flexibleip @@ -177,6 +178,7 @@ jobs: - block - cockpit - container + - datawarehouse - domain - file - flexibleip diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6da90fb04..a2ab7f3ae 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -23,6 +23,7 @@ jobs: - block - cockpit - container + - datawarehouse - domain - edgeservices - flexibleip From 5b45a1851d3847ed69242c1b58cc2245c91ab016 Mon Sep 17 00:00:00 2001 From: Jonathan Remy Date: Wed, 5 Nov 2025 17:03:03 +0100 Subject: [PATCH 9/9] fix(datawarehouse): remove undefined PreCheck from tests --- internal/services/datawarehouse/database_test.go | 1 - internal/services/datawarehouse/deployment_test.go | 1 - internal/services/datawarehouse/user_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/internal/services/datawarehouse/database_test.go b/internal/services/datawarehouse/database_test.go index 65dca8a65..f440c075b 100644 --- a/internal/services/datawarehouse/database_test.go +++ b/internal/services/datawarehouse/database_test.go @@ -21,7 +21,6 @@ func TestAccDatabase_Basic(t *testing.T) { latestVersion := fetchLatestClickHouseVersion(tt) resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(t) }, ProtoV6ProviderFactories: tt.ProviderFactories, CheckDestroy: isDatabaseDestroyed(tt), Steps: []resource.TestStep{ diff --git a/internal/services/datawarehouse/deployment_test.go b/internal/services/datawarehouse/deployment_test.go index fb59888b8..e7fecf7c9 100644 --- a/internal/services/datawarehouse/deployment_test.go +++ b/internal/services/datawarehouse/deployment_test.go @@ -21,7 +21,6 @@ func TestAccDeployment_Basic(t *testing.T) { latestVersion := fetchLatestClickHouseVersion(tt) resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(t) }, ProtoV6ProviderFactories: tt.ProviderFactories, CheckDestroy: isDeploymentDestroyed(tt), Steps: []resource.TestStep{ diff --git a/internal/services/datawarehouse/user_test.go b/internal/services/datawarehouse/user_test.go index 46254d1dd..98d0a2e9d 100644 --- a/internal/services/datawarehouse/user_test.go +++ b/internal/services/datawarehouse/user_test.go @@ -21,7 +21,6 @@ func TestAccUser_Basic(t *testing.T) { latestVersion := fetchLatestClickHouseVersion(tt) resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(t) }, ProtoV6ProviderFactories: tt.ProviderFactories, CheckDestroy: isUserDestroyed(tt), Steps: []resource.TestStep{