diff --git a/internal/services/domain/record.go b/internal/services/domain/record.go index d60225aa12..6ff111e572 100644 --- a/internal/services/domain/record.go +++ b/internal/services/domain/record.go @@ -495,51 +495,5 @@ func resourceDomainRecordDelete(ctx context.Context, d *schema.ResourceData, m a d.SetId("") - // for non-root zone, if the zone have only NS records, then delete the zone - if d.Get("root_zone").(bool) { - return nil - } - - res, err := domainAPI.ListDNSZoneRecords(&domain.ListDNSZoneRecordsRequest{ - DNSZone: d.Get("dns_zone").(string), - }) - if err != nil { - if httperrors.Is404(err) || httperrors.Is403(err) { - return nil - } - - return diag.FromErr(err) - } - - for _, r := range res.Records { - if r.Type != domain.RecordTypeNS { - // The zone isn't empty, keep it - return nil - } - - tflog.Debug(ctx, fmt.Sprintf("record [%s], type [%s]", r.Name, r.Type)) - } - - _, err = waitForDNSZone(ctx, domainAPI, d.Get("dns_zone").(string), d.Timeout(schema.TimeoutDelete)) - if err != nil { - if httperrors.Is404(err) || httperrors.Is403(err) { - return nil - } - - return diag.FromErr(err) - } - - _, err = domainAPI.DeleteDNSZone(&domain.DeleteDNSZoneRequest{ - DNSZone: d.Get("dns_zone").(string), - ProjectID: d.Get("project_id").(string), - }) - if err != nil { - if httperrors.Is404(err) || httperrors.Is403(err) { - return nil - } - - return diag.FromErr(err) - } - return nil } diff --git a/internal/services/domain/record_test.go b/internal/services/domain/record_test.go index 6b3a9204b7..35b7d422c3 100644 --- a/internal/services/domain/record_test.go +++ b/internal/services/domain/record_test.go @@ -831,8 +831,11 @@ func testAccCheckDomainRecordDestroy(tt *acctest.TestTools) resource.TestCheckFu return fmt.Errorf("failed to check if domain zone exists: %w", err) } - if listDNSZones.TotalCount > 0 { - return fmt.Errorf("zone %s still exist", rs.Primary.Attributes["dns_zone"]) + // Check if the specific record still exists + for _, record := range listDNSZones.Records { + if record.ID == rs.Primary.ID { + return fmt.Errorf("record %s still exists in zone %s", rs.Primary.ID, rs.Primary.Attributes["dns_zone"]) + } } return nil diff --git a/internal/services/domain/testdata/domain-record-basic.cassette.yaml b/internal/services/domain/testdata/domain-record-basic.cassette.yaml index b5b85f4879..339ab8c2e2 100644 --- a/internal/services/domain/testdata/domain-record-basic.cassette.yaml +++ b/internal/services/domain/testdata/domain-record-basic.cassette.yaml @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 138 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}]}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}]}' headers: Content-Length: - "138" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:33 GMT + - Mon, 28 Jul 2025 12:19:36 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 496e5934-22be-4ea8-9832-042ca925d2b9 + - 72c9a12f-93f9-47ec-8e00-8d7d74e544c1 status: 200 OK code: 200 - duration: 792.090709ms + duration: 3.134206208s - id: 1 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 154 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "154" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:33 GMT + - Mon, 28 Jul 2025 12:19:36 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4b05976e-37eb-4039-bcc6-ff33ff12e8a4 + - 771228bc-8562-47fb-b64a-14eb8a33d921 status: 200 OK code: 200 - duration: 157.751917ms + duration: 300.110125ms - id: 2 request: proto: HTTP/1.1 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 154 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "154" @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:34 GMT + - Mon, 28 Jul 2025 12:19:36 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c635264-bc0c-4e66-89ae-09750378093a + - a3b8c70d-8dfa-467d-a3ce-dede2e1c022b status: 200 OK code: 200 - duration: 73.196666ms + duration: 311.25575ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=df2f9a18-7657-4c16-ba11-b8e2b06b5108&name=&order_by=name_asc&page=1&type=unknown + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=47689df8-d233-4098-8c97-812946314118&name=&order_by=name_asc&page=1&type=unknown method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 154 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "154" @@ -185,9 +185,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:34 GMT + - Mon, 28 Jul 2025 12:19:37 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0d9223bd-8f54-4753-9be4-7e394339dc3f + - 5c333604-43c5-4596-b218-cb4261b08111 status: 200 OK code: 200 - duration: 70.528ms + duration: 355.470541ms - id: 4 request: proto: HTTP/1.1 @@ -225,7 +225,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:33Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:36Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -234,9 +234,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:34 GMT + - Mon, 28 Jul 2025 12:19:37 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1c2e3e08-9173-48b6-bb10-c34b6a965c92 + - 4e88a765-770b-4f83-8319-ae381aad3cd8 status: 200 OK code: 200 - duration: 76.189583ms + duration: 368.054833ms - id: 5 request: proto: HTTP/1.1 @@ -274,7 +274,7 @@ interactions: trailer: {} content_length: 424 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"},{"comment":null,"data":"ns0.dom.scw.cloud.","id":"a091bf3b-b5e8-4c9c-a63d-4f0b090fb11f","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"50665c57-5b84-4e97-8044-808f3265b3d4","name":"","priority":0,"ttl":1800,"type":"NS"}],"total_count":3}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":3}' headers: Content-Length: - "424" @@ -283,9 +283,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:34 GMT + - Mon, 28 Jul 2025 12:19:37 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75472548-7403-47aa-81f2-63079acd1175 + - 19816fd6-a015-48a8-a0f7-20b89e5ca9f7 status: 200 OK code: 200 - duration: 161.33125ms + duration: 329.164ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=df2f9a18-7657-4c16-ba11-b8e2b06b5108&name=&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=47689df8-d233-4098-8c97-812946314118&name=&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -323,7 +323,7 @@ interactions: trailer: {} content_length: 154 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "154" @@ -332,9 +332,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:35 GMT + - Mon, 28 Jul 2025 12:19:39 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -342,10 +342,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7877bba6-8c09-4474-bbdc-0cab81ebb59f + - a673636e-e103-4758-b68a-26708e45c3c3 status: 200 OK code: 200 - duration: 119.586125ms + duration: 440.716542ms - id: 7 request: proto: HTTP/1.1 @@ -372,7 +372,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:33Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:36Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:36 GMT + - Mon, 28 Jul 2025 12:19:39 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 32e3bad4-2701-418a-b15c-a168ba5333e0 + - a49cec38-3753-4a26-b651-7e55c6146c00 status: 200 OK code: 200 - duration: 86.284042ms + duration: 518.457375ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=df2f9a18-7657-4c16-ba11-b8e2b06b5108&name=&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=47689df8-d233-4098-8c97-812946314118&name=&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -421,7 +421,7 @@ interactions: trailer: {} content_length: 154 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"47689df8-d233-4098-8c97-812946314118","name":"","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "154" @@ -430,9 +430,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:37 GMT + - Mon, 28 Jul 2025 12:19:40 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -440,10 +440,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fa1a7abe-72c6-4842-a2a9-bcdf7f3fc709 + - cc1c1cf8-2b66-46a5-91b2-842e8c95afd1 status: 200 OK code: 200 - duration: 94.290666ms + duration: 702.9305ms - id: 9 request: proto: HTTP/1.1 @@ -470,7 +470,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:33Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:36Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:37 GMT + - Mon, 28 Jul 2025 12:19:41 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 748e9277-31fa-41b8-a76f-a5667d5f7a10 + - 7a677787-24e9-4988-8fcf-1f88f359625f status: 200 OK code: 200 - duration: 82.602083ms + duration: 706.761917ms - id: 10 request: proto: HTTP/1.1 @@ -504,7 +504,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"changes":[{"delete":{"id":"df2f9a18-7657-4c16-ba11-b8e2b06b5108"}}],"return_all_records":false,"disallow_new_zone_creation":false}' + body: '{"changes":[{"delete":{"id":"47689df8-d233-4098-8c97-812946314118"}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: Content-Type: @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:38 GMT + - Mon, 28 Jul 2025 12:19:43 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,48 +540,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e12c4d82-b5f3-4411-9faa-89b2f226f755 + - 163a87f1-5460-402d-afd4-0b3371e07e7f status: 200 OK code: 200 - duration: 100.148708ms + duration: 859.867791ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 188 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"add":{"records":[{"data":"127.0.0.1","name":"tf","priority":0,"ttl":3600,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 299 + content_length: 140 uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"a091bf3b-b5e8-4c9c-a63d-4f0b090fb11f","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"50665c57-5b84-4e97-8044-808f3265b3d4","name":"","priority":0,"ttl":1800,"type":"NS"}],"total_count":2}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}]}' headers: Content-Length: - - "299" + - "140" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:38 GMT + - Mon, 28 Jul 2025 12:19:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +591,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3d270a98-44b4-481c-85be-db30fe02b3a2 + - 2a65b5b3-ea75-44d4-bbb0-178932cc8d84 status: 200 OK code: 200 - duration: 100.279542ms + duration: 1.218603791s - id: 12 request: proto: HTTP/1.1 @@ -609,7 +611,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A method: GET response: proto: HTTP/2.0 @@ -617,20 +619,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 156 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:38Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - - "352" + - "156" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:38 GMT + - Mon, 28 Jul 2025 12:19:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +640,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e0ca2686-deba-4ac7-a34c-b2c262cb6ead + - 208f9521-ba97-4c6e-8258-b935ff9aab95 status: 200 OK code: 200 - duration: 75.154791ms + duration: 1.22071225s - id: 13 request: proto: HTTP/1.1 @@ -658,7 +660,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -666,20 +668,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 156 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:38Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - - "352" + - "156" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:43 GMT + - Mon, 28 Jul 2025 12:19:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +689,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f061cb11-88db-41c0-acea-6596c8a87f57 + - 2aec757b-4692-4381-910e-611eaea9ab11 status: 200 OK code: 200 - duration: 68.679125ms + duration: 913.345625ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +709,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=&order_by=name_asc&page=1&type=unknown method: GET response: proto: HTTP/2.0 @@ -715,20 +717,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 351 + content_length: 156 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-03-12T10:07:44Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - - "351" + - "156" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:49 GMT + - Mon, 28 Jul 2025 12:19:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,10 +738,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a8ff7e29-c47e-49c9-a250-4922651fd8f0 + - 3b9fe82f-f3f6-461b-9295-1fa42f97cf87 status: 200 OK code: 200 - duration: 90.160834ms + duration: 581.339ms - id: 15 request: proto: HTTP/1.1 @@ -756,28 +758,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com?project_id=105bdce1-64c0-48ab-899d-868455867ecf - method: DELETE + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2 + content_length: 352 uncompressed: false - body: '{}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:44Z"}],"total_count":1}' headers: Content-Length: - - "2" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:49 GMT + - Mon, 28 Jul 2025 12:19:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -785,50 +787,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 52ac42f1-8179-4812-803d-19a0d6fb0dc0 + - d0b1ae76-115d-43da-bc37-35e8c7b69f42 status: 200 OK code: 200 - duration: 162.808833ms + duration: 507.29875ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 188 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"changes":[{"add":{"records":[{"data":"127.0.0.1","name":"tf","priority":0,"ttl":3600,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 140 + content_length: 426 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}]}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":3}' headers: Content-Length: - - "140" + - "426" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:49 GMT + - Mon, 28 Jul 2025 12:19:48 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -836,10 +836,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c7c0706e-3570-4367-a481-f6e18db9a109 + - b2dce512-8710-44c4-ad31-7d1af05d9bce status: 200 OK code: 200 - duration: 764.590625ms + duration: 698.99325ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -866,7 +866,7 @@ interactions: trailer: {} content_length: 156 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "156" @@ -875,9 +875,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:50 GMT + - Mon, 28 Jul 2025 12:19:49 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -885,10 +885,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 865bc13b-212a-4d5d-8e09-4c9570e08898 + - 51fb1dcf-1eb3-4adb-b754-377f401a0b2b status: 200 OK code: 200 - duration: 68.704334ms + duration: 671.511625ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -913,20 +913,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 156 + content_length: 352 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:44Z"}],"total_count":1}' headers: Content-Length: - - "156" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:50 GMT + - Mon, 28 Jul 2025 12:19:50 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -934,10 +934,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9d05c888-9e36-49ff-b8be-c4b6590d29fb + - 187ce25b-4e47-499b-9332-d2e9f569a326 status: 200 OK code: 200 - duration: 77.044208ms + duration: 787.576291ms - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=&order_by=name_asc&page=1&type=unknown + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -964,7 +964,7 @@ interactions: trailer: {} content_length: 156 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "156" @@ -973,9 +973,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:50 GMT + - Mon, 28 Jul 2025 12:19:52 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -983,10 +983,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d8afba62-e7f6-4569-9562-e5bf07f58b20 + - e5792828-f3f1-49fe-9bfb-2a7a9fd63c14 status: 200 OK code: 200 - duration: 72.054209ms + duration: 971.267167ms - id: 20 request: proto: HTTP/1.1 @@ -1013,7 +1013,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:49Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:44Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -1022,9 +1022,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:50 GMT + - Mon, 28 Jul 2025 12:19:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1032,48 +1032,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 541c18d7-4561-40bf-925f-0b3170c27845 + - 0d01a938-717d-4b96-9ab1-070964396dcc status: 200 OK code: 200 - duration: 91.459833ms + duration: 1.660403875s - id: 21 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 232 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"set":{"id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","records":[{"data":"127.0.0.2","name":"tf","priority":0,"ttl":3600,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 426 + content_length: 140 uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":3}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}]}' headers: Content-Length: - - "426" + - "140" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:50 GMT + - Mon, 28 Jul 2025 12:19:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1081,10 +1083,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - be657c1b-fb63-45f0-900c-ea735dcfadbe + - ed1b73a3-c736-4584-aa62-56369f366a8e status: 200 OK code: 200 - duration: 76.775917ms + duration: 1.61288625s - id: 22 request: proto: HTTP/1.1 @@ -1101,7 +1103,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A method: GET response: proto: HTTP/2.0 @@ -1111,7 +1113,7 @@ interactions: trailer: {} content_length: 156 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "156" @@ -1120,9 +1122,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:51 GMT + - Mon, 28 Jul 2025 12:19:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1130,10 +1132,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 23e15af8-3275-491e-acda-f050a3c82b75 + - a4dec7ef-e7fc-4a52-afa0-b8a3e00792d2 status: 200 OK code: 200 - duration: 68.76875ms + duration: 221.696167ms - id: 23 request: proto: HTTP/1.1 @@ -1150,7 +1152,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -1158,20 +1160,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 156 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:49Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - - "352" + - "156" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:51 GMT + - Mon, 28 Jul 2025 12:19:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1179,10 +1181,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3a160379-bc88-46c9-b2b5-a7570a9ff414 + - ccc60919-3415-48f4-8743-0ca3e2d3e95c status: 200 OK code: 200 - duration: 108.239625ms + duration: 115.73425ms - id: 24 request: proto: HTTP/1.1 @@ -1199,7 +1201,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -1207,20 +1209,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 156 + content_length: 352 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.1","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:19:56Z"}],"total_count":1}' headers: Content-Length: - - "156" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:52 GMT + - Mon, 28 Jul 2025 12:19:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1228,10 +1230,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4751839a-2889-49cd-bb5c-10b48aafec91 + - 27ba9929-60d5-43dd-af12-68d15ebc2907 status: 200 OK code: 200 - duration: 73.563208ms + duration: 141.352291ms - id: 25 request: proto: HTTP/1.1 @@ -1248,7 +1250,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown method: GET response: proto: HTTP/2.0 @@ -1256,20 +1258,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 426 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:49Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":3}' headers: Content-Length: - - "352" + - "426" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:52 GMT + - Mon, 28 Jul 2025 12:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1277,50 +1279,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b8272d5e-e259-47b9-b0d5-2e34dd6c979a + - 9778fe07-3ddb-426a-aac5-369328ec6f73 status: 200 OK code: 200 - duration: 83.651834ms + duration: 124.944ms - id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 232 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"changes":[{"set":{"id":"48be15c6-7266-429d-8ac7-f8d5f5807223","records":[{"data":"127.0.0.2","name":"tf","priority":0,"ttl":3600,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 140 + content_length: 156 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}]}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - - "140" + - "156" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:53 GMT + - Mon, 28 Jul 2025 12:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1328,10 +1328,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e07d2f34-2deb-4e62-81f8-29dd24b2a108 + - 29d116c8-4c53-4abe-af4e-598da98c2610 status: 200 OK code: 200 - duration: 164.116041ms + duration: 129.720292ms - id: 27 request: proto: HTTP/1.1 @@ -1348,7 +1348,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -1356,20 +1356,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 156 + content_length: 351 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-07-28T12:19:57Z"}],"total_count":1}' headers: Content-Length: - - "156" + - "351" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:53 GMT + - Mon, 28 Jul 2025 12:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1377,10 +1377,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - da67ec21-2830-4399-b71d-6c847acc0a7a + - e33e7553-a600-404c-908b-cf7e7bdef5bb status: 200 OK code: 200 - duration: 73.941416ms + duration: 122.877ms - id: 28 request: proto: HTTP/1.1 @@ -1397,7 +1397,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -1407,7 +1407,7 @@ interactions: trailer: {} content_length: 156 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' headers: Content-Length: - "156" @@ -1416,9 +1416,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:53 GMT + - Mon, 28 Jul 2025 12:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1426,10 +1426,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 55a348b2-535b-4527-b0de-dda3696aeb92 + - 73a7b134-4887-4c46-bdb9-48823a62d7e3 status: 200 OK code: 200 - duration: 92.463542ms + duration: 148.039125ms - id: 29 request: proto: HTTP/1.1 @@ -1454,20 +1454,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 351 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:53Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-07-28T12:19:57Z"}],"total_count":1}' headers: Content-Length: - - "352" + - "351" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:53 GMT + - Mon, 28 Jul 2025 12:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1475,48 +1475,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c247d789-1861-485b-a5b4-cdcf3646a8a3 + - d51b6113-2443-4f0f-8651-7472e0e00ca4 status: 200 OK code: 200 - duration: 76.830625ms + duration: 146.904542ms - id: 30 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 234 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"set":{"id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","records":[{"data":"127.0.0.2","name":"tf","priority":10,"ttl":43200,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 426 + content_length: 142 uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":3}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}]}' headers: Content-Length: - - "426" + - "142" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:53 GMT + - Mon, 28 Jul 2025 12:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1524,10 +1526,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 59389d62-d3fe-4c14-8ee5-1dd2526b766c + - 98ff45ee-51bd-4768-8ee1-f092349e751e status: 200 OK code: 200 - duration: 79.652166ms + duration: 455.641709ms - id: 31 request: proto: HTTP/1.1 @@ -1544,7 +1546,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A method: GET response: proto: HTTP/2.0 @@ -1552,20 +1554,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 156 + content_length: 158 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' headers: Content-Length: - - "156" + - "158" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:54 GMT + - Mon, 28 Jul 2025 12:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1573,10 +1575,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 40edade8-7623-4940-84ca-15e0bbb39a2e + - 5736de5c-4304-42f6-85b1-c6d055700ff4 status: 200 OK code: 200 - duration: 76.3115ms + duration: 119.467417ms - id: 32 request: proto: HTTP/1.1 @@ -1593,7 +1595,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -1601,20 +1603,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 351 + content_length: 158 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-03-12T10:07:54Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' headers: Content-Length: - - "351" + - "158" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:54 GMT + - Mon, 28 Jul 2025 12:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1622,10 +1624,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dbe5a962-5fdd-439b-81c5-708fd9f284f3 + - fdbe1d3d-fea4-417f-b6ac-bff80cac8e43 status: 200 OK code: 200 - duration: 81.368125ms + duration: 139.812917ms - id: 33 request: proto: HTTP/1.1 @@ -1642,7 +1644,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -1650,20 +1652,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 156 + content_length: 352 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":0,"ttl":3600,"type":"A"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:00Z"}],"total_count":1}' headers: Content-Length: - - "156" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:55 GMT + - Mon, 28 Jul 2025 12:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1671,10 +1673,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2be7848-85f2-425b-90d7-de60ebfe471a + - c1402267-4dcd-414c-a9a1-0a9266676a39 status: 200 OK code: 200 - duration: 75.091375ms + duration: 136.110042ms - id: 34 request: proto: HTTP/1.1 @@ -1691,7 +1693,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown method: GET response: proto: HTTP/2.0 @@ -1699,20 +1701,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 351 + content_length: 428 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-03-12T10:07:54Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":3}' headers: Content-Length: - - "351" + - "428" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:55 GMT + - Mon, 28 Jul 2025 12:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1720,50 +1722,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 61a3dcfd-47cf-47ac-9a97-56ddc8dd3a0c + - 3c7bed79-3386-4433-b51e-d2f08936e801 status: 200 OK code: 200 - duration: 103.961541ms + duration: 143.124042ms - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 234 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"changes":[{"set":{"id":"48be15c6-7266-429d-8ac7-f8d5f5807223","records":[{"data":"127.0.0.2","name":"tf","priority":10,"ttl":43200,"type":"A","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 142 + content_length: 158 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}]}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' headers: Content-Length: - - "142" + - "158" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:56 GMT + - Mon, 28 Jul 2025 12:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1771,10 +1771,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 869e3dd5-82ae-4fc4-bf4b-f8cf84654f8c + - 1787aad9-6e01-429f-9775-356b3b8193b7 status: 200 OK code: 200 - duration: 165.933375ms + duration: 122.892125ms - id: 36 request: proto: HTTP/1.1 @@ -1791,7 +1791,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=tf&order_by=name_asc&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -1799,20 +1799,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 158 + content_length: 352 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:00Z"}],"total_count":1}' headers: Content-Length: - - "158" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:56 GMT + - Mon, 28 Jul 2025 12:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1820,10 +1820,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2d48631e-0146-491b-ae70-e9c6c5b238ff + - 79a15a60-8b5e-4308-b57b-2c306dd65295 status: 200 OK code: 200 - duration: 71.481208ms + duration: 245.155542ms - id: 37 request: proto: HTTP/1.1 @@ -1840,7 +1840,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -1850,7 +1850,7 @@ interactions: trailer: {} content_length: 158 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' headers: Content-Length: - "158" @@ -1859,9 +1859,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:56 GMT + - Mon, 28 Jul 2025 12:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1869,10 +1869,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b6853097-3180-46d4-9b73-915ef4d3cc8b + - 1323ec06-9fbe-48ef-b9bd-1aae591a50d0 status: 200 OK code: 200 - duration: 68.049791ms + duration: 171.861125ms - id: 38 request: proto: HTTP/1.1 @@ -1899,7 +1899,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:56Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:00Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -1908,9 +1908,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:56 GMT + - Mon, 28 Jul 2025 12:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1918,48 +1918,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f2d1796-0935-4605-870c-5b56fbee98f2 + - b5feee72-28e4-4374-8287-8f55092e10ce status: 200 OK code: 200 - duration: 89.042625ms + duration: 269.655292ms - id: 39 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 205 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"add":{"records":[{"data":"aspmx.l.google.com.","name":"record_mx","priority":1,"ttl":600,"type":"MX","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 428 + content_length: 159 uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":3}' + body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"}]}' headers: Content-Length: - - "428" + - "159" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:57 GMT + - Mon, 28 Jul 2025 12:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1967,10 +1969,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae7124e7-41ce-46e7-b654-7f62b4b723ac + - f8e6f708-c836-47d4-87dc-e75bd68e1563 status: 200 OK code: 200 - duration: 75.991208ms + duration: 412.565875ms - id: 40 request: proto: HTTP/1.1 @@ -1987,7 +1989,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=record_mx&order_by=name_asc&type=MX method: GET response: proto: HTTP/2.0 @@ -1995,20 +1997,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 158 + content_length: 175 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' headers: Content-Length: - - "158" + - "175" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:58 GMT + - Mon, 28 Jul 2025 12:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2016,10 +2018,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a68154f9-8c4d-4595-a472-8ce78e9c4703 + - bba0c0f4-51ce-4db8-bac5-38cb051fb209 status: 200 OK code: 200 - duration: 90.403416ms + duration: 267.741208ms - id: 41 request: proto: HTTP/1.1 @@ -2036,7 +2038,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=record_mx&order_by=name_asc&page=1&type=MX method: GET response: proto: HTTP/2.0 @@ -2044,20 +2046,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 352 + content_length: 175 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:56Z"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' headers: Content-Length: - - "352" + - "175" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:58 GMT + - Mon, 28 Jul 2025 12:20:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2065,10 +2067,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e5a9ee52-c7b6-4a91-a010-b364aeeed9fd + - 4ad3cd73-419c-446e-93c4-0c4ed37f5fbd status: 200 OK code: 200 - duration: 70.261875ms + duration: 317.086542ms - id: 42 request: proto: HTTP/1.1 @@ -2085,7 +2087,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=92c82a60-b087-4240-8687-4cb8a4294823&name=&order_by=name_asc&page=1&type=unknown method: GET response: proto: HTTP/2.0 @@ -2093,20 +2095,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 158 + content_length: 175 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' headers: Content-Length: - - "158" + - "175" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:58 GMT + - Mon, 28 Jul 2025 12:20:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2114,10 +2116,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63733f91-b250-4887-b6dd-6f4c2a55050f + - 75e1ab64-0547-4458-a284-3ef0abe94c6d status: 200 OK code: 200 - duration: 98.616375ms + duration: 258.008083ms - id: 43 request: proto: HTTP/1.1 @@ -2144,7 +2146,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:07:56Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:04Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -2153,9 +2155,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:07:58 GMT + - Mon, 28 Jul 2025 12:20:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2163,50 +2165,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ae42947-21bd-4e4b-aa75-b7d48ec42209 + - 1455337b-5ebb-46b2-a692-e7213399f6a2 status: 200 OK code: 200 - duration: 717.547416ms + duration: 278.291334ms - id: 44 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 205 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"changes":[{"add":{"records":[{"data":"aspmx.l.google.com.","name":"record_mx","priority":1,"ttl":600,"type":"MX","comment":null,"id":""}]}}],"return_all_records":false,"disallow_new_zone_creation":false}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 159 + content_length: 574 uncompressed: false - body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"}]}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"},{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":4}' headers: Content-Length: - - "159" + - "574" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:00 GMT + - Mon, 28 Jul 2025 12:20:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2214,10 +2214,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11986793-e796-4392-bb9c-266af2baa892 + - 5e487608-4c0f-4d7d-a666-0e227ff3277f status: 200 OK code: 200 - duration: 130.31975ms + duration: 330.213792ms - id: 45 request: proto: HTTP/1.1 @@ -2234,7 +2234,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=record_mx&order_by=name_asc&type=MX + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=92c82a60-b087-4240-8687-4cb8a4294823&name=record_mx&order_by=name_asc&page=1&type=MX method: GET response: proto: HTTP/2.0 @@ -2244,7 +2244,7 @@ interactions: trailer: {} content_length: 175 uncompressed: false - body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"92c82a60-b087-4240-8687-4cb8a4294823","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' headers: Content-Length: - "175" @@ -2253,9 +2253,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:00 GMT + - Mon, 28 Jul 2025 12:20:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2263,10 +2263,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0152da48-a2cc-4e8c-9074-c89871b39239 + - d3924e9b-0f7d-47a3-9386-654d1ca3cdc1 status: 200 OK code: 200 - duration: 79.948125ms + duration: 192.448625ms - id: 46 request: proto: HTTP/1.1 @@ -2283,7 +2283,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=record_mx&order_by=name_asc&page=1&type=MX + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=c114821c-bdc6-4e5c-a2be-a5628a56b07f&name=tf&order_by=name_asc&page=1&type=A method: GET response: proto: HTTP/2.0 @@ -2291,20 +2291,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 175 + content_length: 158 uncompressed: false - body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' headers: Content-Length: - - "175" + - "158" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:00 GMT + - Mon, 28 Jul 2025 12:20:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2312,10 +2312,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 459fcf6e-da51-4ab4-994a-814b8f3ff644 + - 5a3746db-b01d-4f4a-a4be-f914fcf2426b status: 200 OK code: 200 - duration: 73.500875ms + duration: 192.455584ms - id: 47 request: proto: HTTP/1.1 @@ -2332,7 +2332,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=14b62d0f-266f-4f24-91c7-dc0ea9c0aee9&name=&order_by=name_asc&page=1&type=unknown + url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -2340,20 +2340,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 175 + content_length: 352 uncompressed: false - body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:04Z"}],"total_count":1}' headers: Content-Length: - - "175" + - "352" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:00 GMT + - Mon, 28 Jul 2025 12:20:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2361,10 +2361,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1b23c3ce-4a0c-4df1-b5d3-c0c7e9aee572 + - fb47d384-34c1-4fa7-a048-efa05b1eefba status: 200 OK code: 200 - duration: 82.640291ms + duration: 231.08175ms - id: 48 request: proto: HTTP/1.1 @@ -2391,7 +2391,7 @@ interactions: trailer: {} content_length: 352 uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:08:00Z"}],"total_count":1}' + body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-07-28T12:20:04Z"}],"total_count":1}' headers: Content-Length: - "352" @@ -2400,9 +2400,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:00 GMT + - Mon, 28 Jul 2025 12:20:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2410,48 +2410,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a93abc28-64f5-440f-9bc8-2f7c2933f25c + - 8bbb8610-58a3-440c-bde2-48b9bb003d24 status: 200 OK code: 200 - duration: 67.566958ms + duration: 231.054875ms - id: 49 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 132 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"delete":{"id":"c114821c-bdc6-4e5c-a2be-a5628a56b07f"}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 574 + content_length: 14 uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"},{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":4}' + body: '{"records":[]}' headers: Content-Length: - - "574" + - "14" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:01 GMT + - Mon, 28 Jul 2025 12:20:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2459,48 +2461,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 14029bde-d088-4d3c-a78f-10966ad860ea + - da7d833e-8c38-46dc-abea-37985f74a051 status: 200 OK code: 200 - duration: 330.276ms + duration: 209.913291ms - id: 50 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 132 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"changes":[{"delete":{"id":"92c82a60-b087-4240-8687-4cb8a4294823"}}],"return_all_records":false,"disallow_new_zone_creation":false}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=14b62d0f-266f-4f24-91c7-dc0ea9c0aee9&name=record_mx&order_by=name_asc&page=1&type=MX - method: GET + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 175 + content_length: 14 uncompressed: false - body: '{"records":[{"comment":null,"data":"1 aspmx.l.google.com.","id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9","name":"record_mx","priority":1,"ttl":600,"type":"MX"}],"total_count":1}' + body: '{"records":[]}' headers: Content-Length: - - "175" + - "14" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:02 GMT + - Mon, 28 Jul 2025 12:20:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2508,10 +2512,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cb075da2-57d0-4110-b8ff-28bcb3203740 + - 96454c3e-c26d-43e8-8eeb-0645ce8683a8 status: 200 OK code: 200 - duration: 63.055334ms + duration: 352.774292ms - id: 51 request: proto: HTTP/1.1 @@ -2528,7 +2532,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?id=48be15c6-7266-429d-8ac7-f8d5f5807223&name=tf&order_by=name_asc&page=1&type=A + url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown method: GET response: proto: HTTP/2.0 @@ -2536,20 +2540,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 158 + content_length: 299 uncompressed: false - body: '{"records":[{"comment":null,"data":"127.0.0.2","id":"48be15c6-7266-429d-8ac7-f8d5f5807223","name":"tf","priority":10,"ttl":43200,"type":"A"}],"total_count":1}' + body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"ba35cc35-31d3-47da-ab39-69e5ba3a1ca6","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"74064bd5-60f3-4bef-9e20-92eada490504","name":"","priority":0,"ttl":1800,"type":"NS"}],"total_count":2}' headers: Content-Length: - - "158" + - "299" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 12 Mar 2025 10:08:02 GMT + - Mon, 28 Jul 2025 12:20:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2557,648 +2561,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 47151e1b-a14e-43b4-a51e-ec24fb401473 + - a021cc60-f91d-4629-b474-2a7bbd2ad801 status: 200 OK code: 200 - duration: 74.553875ms - - id: 52 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 352 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:08:00Z"}],"total_count":1}' - headers: - Content-Length: - - "352" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:02 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bdecf6ff-7b5c-4237-8f74-e0f93e5e8326 - status: 200 OK - code: 200 - duration: 90.824333ms - - id: 53 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zones=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc&page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 352 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:08:00Z"}],"total_count":1}' - headers: - Content-Length: - - "352" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:02 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 31695f19-3775-4511-884f-4da904084bad - status: 200 OK - code: 200 - duration: 79.278292ms - - id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 132 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"changes":[{"delete":{"id":"14b62d0f-266f-4f24-91c7-dc0ea9c0aee9"}}],"return_all_records":false,"disallow_new_zone_creation":false}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 14 - uncompressed: false - body: '{"records":[]}' - headers: - Content-Length: - - "14" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2870f133-75d9-4f4d-a054-acdbb9e5549c - status: 200 OK - code: 200 - duration: 105.267584ms - - id: 55 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 132 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"changes":[{"delete":{"id":"48be15c6-7266-429d-8ac7-f8d5f5807223"}}],"return_all_records":false,"disallow_new_zone_creation":false}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 14 - uncompressed: false - body: '{"records":[]}' - headers: - Content-Length: - - "14" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a50a8f03-1142-426a-a4e9-d87d040762fe - status: 200 OK - code: 200 - duration: 140.262375ms - - id: 56 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 299 - uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"}],"total_count":2}' - headers: - Content-Length: - - "299" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8dd0ddc2-2424-496c-b6d0-a08266fb7e18 - status: 200 OK - code: 200 - duration: 85.180875ms - - id: 57 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 299 - uncompressed: false - body: '{"records":[{"comment":null,"data":"ns0.dom.scw.cloud.","id":"b06b2de3-1337-4af9-b300-bf184829a5f8","name":"","priority":0,"ttl":1800,"type":"NS"},{"comment":null,"data":"ns1.dom.scw.cloud.","id":"a69ca5b8-252c-4ad5-960c-34cf460ed90d","name":"","priority":0,"ttl":1800,"type":"NS"}],"total_count":2}' - headers: - Content-Length: - - "299" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7a3a68e9-e7fd-42ca-9d54-7cf8d840ac64 - status: 200 OK - code: 200 - duration: 69.536542ms - - id: 58 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 352 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:08:03Z"}],"total_count":1}' - headers: - Content-Length: - - "352" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - aef7f716-1187-4e58-9a43-bb4c8056f2de - status: 200 OK - code: 200 - duration: 75.116875ms - - id: 59 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 352 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"pending","subdomain":"test-basic","updated_at":"2025-03-12T10:08:03Z"}],"total_count":1}' - headers: - Content-Length: - - "352" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 69179101-9c61-455d-9573-d29c167df709 - status: 200 OK - code: 200 - duration: 66.526125ms - - id: 60 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 351 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-03-12T10:08:05Z"}],"total_count":1}' - headers: - Content-Length: - - "351" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ea794504-d5a2-4dd5-994b-bcc0b3078f3c - status: 200 OK - code: 200 - duration: 84.971125ms - - id: 61 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones?dns_zone=test-basic.scaleway-terraform.com&domain=&order_by=domain_asc - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 351 - uncompressed: false - body: '{"dns_zones":[{"domain":"scaleway-terraform.com","linked_products":[],"message":null,"ns":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_default":["ns0.dom.scw.cloud","ns1.dom.scw.cloud"],"ns_master":[],"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"active","subdomain":"test-basic","updated_at":"2025-03-12T10:08:05Z"}],"total_count":1}' - headers: - Content-Length: - - "351" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 70f2cb4d-7d62-4755-a3d9-c8ec0ffec4ce - status: 200 OK - code: 200 - duration: 94.762833ms - - id: 62 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com?project_id=105bdce1-64c0-48ab-899d-868455867ecf - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0b9406b6-29b9-4798-bb58-7351ecc47717 - status: 200 OK - code: 200 - duration: 133.60025ms - - id: 63 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com?project_id=105bdce1-64c0-48ab-899d-868455867ecf - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2 - uncompressed: false - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f5d8ee36-1642-48e2-9304-0814c1e9c5a7 - status: 200 OK - code: 200 - duration: 211.405916ms - - id: 64 - 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.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/domain/v2beta1/dns-zones/test-basic.scaleway-terraform.com/records?name=&order_by=name_asc&type=unknown - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 33 - uncompressed: false - body: '{"message":"subdomain not found"}' - headers: - Content-Length: - - "33" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 12 Mar 2025 10:08:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8828d16e-b5a8-445e-870b-54b659ba73d7 - status: 403 Forbidden - code: 403 - duration: 99.495375ms + duration: 314.4855ms