diff --git a/internal/services/mongodb/snapshot_test.go b/internal/services/mongodb/snapshot_test.go index b5a9fba96..f70982e1b 100644 --- a/internal/services/mongodb/snapshot_test.go +++ b/internal/services/mongodb/snapshot_test.go @@ -35,7 +35,7 @@ func TestAccMongoDBSnapshot_Basic(t *testing.T) { resource "scaleway_mongodb_snapshot" "main" { instance_id = scaleway_mongodb_instance.main.id name = "test-snapshot" - expires_at = "2025-12-31T23:59:59Z" + expires_at = "2026-06-30T23:59:59Z" } `, Check: resource.ComposeTestCheckFunc( @@ -69,11 +69,11 @@ func TestAccMongoDBSnapshot_Update(t *testing.T) { resource "scaleway_mongodb_snapshot" "main" { instance_id = scaleway_mongodb_instance.main.id name = "test-snapshot" - expires_at = "2025-12-31T23:59:59Z" + expires_at = "2026-06-30T23:59:59Z" } `, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2025-12-31T23:59:59Z"), + resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2026-06-30T23:59:59Z"), ), }, { @@ -90,12 +90,12 @@ func TestAccMongoDBSnapshot_Update(t *testing.T) { resource "scaleway_mongodb_snapshot" "main" { instance_id = scaleway_mongodb_instance.main.id name = "updated-snapshot" - expires_at = "2025-09-20T23:59:59Z" + expires_at = "2026-06-30T23:59:59Z" } `, Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "name", "updated-snapshot"), - resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2025-09-20T23:59:59Z"), + resource.TestCheckResourceAttr("scaleway_mongodb_snapshot.main", "expires_at", "2026-06-30T23:59:59Z"), ), }, }, diff --git a/internal/services/mongodb/testdata/mongo-db-snapshot-basic.cassette.yaml b/internal/services/mongodb/testdata/mongo-db-snapshot-basic.cassette.yaml index 488b86efc..dcc7eacd7 100644 --- a/internal/services/mongodb/testdata/mongo-db-snapshot-basic.cassette.yaml +++ b/internal/services/mongodb/testdata/mongo-db-snapshot-basic.cassette.yaml @@ -18,7 +18,7 @@ interactions: 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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances method: POST response: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 683 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "683" @@ -38,7 +38,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:10:20 GMT + - Fri, 10 Oct 2025 05:48:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b88aedb5-4e85-465b-ac0d-577835bfe7c1 + - 8b57bed5-4255-4b30-bd80-8ac3ed082183 status: 200 OK code: 200 - duration: 766.428208ms + duration: 934.142541ms - id: 1 request: proto: HTTP/1.1 @@ -67,8 +67,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 683 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "683" @@ -87,7 +87,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:10:20 GMT + - Fri, 10 Oct 2025 05:48:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c89e785a-35a3-4b69-a094-038eef59c392 + - c9ef32aa-a390-448d-bad3-4e8dbf4fc9d4 status: 200 OK code: 200 - duration: 95.104834ms + duration: 91.919875ms - id: 2 request: proto: HTTP/1.1 @@ -116,8 +116,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -136,7 +136,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:34 GMT + - Fri, 10 Oct 2025 05:56:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d2bcddb0-31f3-487e-80ec-d0cae35c44cc + - c3e50c35-be90-46b1-a1a3-740a39539979 status: 200 OK code: 200 - duration: 81.764209ms + duration: 96.383ms - id: 3 request: proto: HTTP/1.1 @@ -165,8 +165,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -185,7 +185,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:34 GMT + - Fri, 10 Oct 2025 05:56:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -195,11 +195,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39c6b9d0-8227-4042-aac6-855a45a8c867 + - 777fba8d-d6e6-4faa-aeb7-679baf94a0d8 status: 200 OK code: 200 - duration: 196.426ms + duration: 171.71675ms - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYUV4VnJsRTUxTVloVVIrQ1VPcUZYREFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0E0TlRjM01EYzBNaTFtWWpaakxUUTBNMlF0T0dGbU5TMDJOekl4Ck5qVXdaV0V5WlRJd0hoY05NalV4TURFd01EVTBPREl6V2hjTk16VXhNREE0TURVME9ESXpXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURnMU56Y3dOelF5TFdaaU5tTXRORFF6WkMwNFlXWTFMVFkzCk1qRTJOVEJsWVRKbE1qQXFNQVVHQXl0bGNBTWhBSCtDbDJlM2ZjYmQ5R1hPS3JKclkrZWRlRHpTenRtT25SeSsKVUN3R1orZXNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQ0ZzOHFLd0ZucHpveFlrClBvaDYraEYxd3k3U01BVUdBeXRsY0FOQkFBV1FJek1teGN0YXBrVjJpaDJZZXQ0NUpaWWtFOEVtUkp5RmJjMlAKcFc1ZmwzV3ZSSWgrTFpFQUlZQWlHTHlrVDAwR3ZiQ0kzRC9qY0d5dmpaaGRkZ0k9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:56:30 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: + - b5f09779-d144-492f-9bcf-87a2ece2a09a + status: 200 OK + code: 200 + duration: 39.620083ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -210,13 +259,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-snapshot","expires_at":"2025-12-31T23:59:59Z"}' + body: '{"instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-snapshot","expires_at":"2026-06-30T23:59:59Z"}' 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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots method: POST response: @@ -227,7 +276,7 @@ interactions: trailer: {} content_length: 400 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-07-21T13:27:34.379424Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-10-10T05:56:30.353693Z","volume_type":"sbs_5k"}' headers: Content-Length: - "400" @@ -236,7 +285,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:34 GMT + - Fri, 10 Oct 2025 05:56:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -246,11 +295,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d581ed0b-4740-4cb4-8f5a-b983b57ae486 + - 36aee592-2f05-4d27-9727-ae70046ef738 status: 200 OK code: 200 - duration: 205.364625ms - - id: 5 + duration: 238.973042ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -265,8 +314,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: GET response: proto: HTTP/2.0 @@ -276,7 +325,7 @@ interactions: trailer: {} content_length: 400 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-07-21T13:27:34.379424Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-10-10T05:56:30.353693Z","volume_type":"sbs_5k"}' headers: Content-Length: - "400" @@ -285,7 +334,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:34 GMT + - Fri, 10 Oct 2025 05:56:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -295,11 +344,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 714bc1fb-966a-4ade-9ce2-b89249d39972 + - 9a8e9e93-b561-4ae5-8fae-9458933bfe2c status: 200 OK code: 200 - duration: 86.682167ms - - id: 6 + duration: 92.918958ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -314,8 +363,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: GET response: proto: HTTP/2.0 @@ -325,7 +374,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:27:35.313730Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:56:31.134692Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -334,7 +383,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:44 GMT + - Fri, 10 Oct 2025 05:56:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -344,11 +393,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4083407e-8f91-4e7e-aa62-190edf084ff5 + - f7e4ce50-5a79-48eb-9a21-339183d464dc status: 200 OK code: 200 - duration: 96.923917ms - - id: 7 + duration: 85.29275ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -363,8 +412,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: GET response: proto: HTTP/2.0 @@ -374,7 +423,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:27:35.313730Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:56:31.134692Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -383,7 +432,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:44 GMT + - Fri, 10 Oct 2025 05:56:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -393,11 +442,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e8bab913-7b2c-4c55-8cf3-679e1b3cf33a + - a85229e0-aafc-4cfc-a069-fa9531e285cd status: 200 OK code: 200 - duration: 30.3025ms - - id: 8 + duration: 100.588458ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -412,8 +461,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -423,7 +472,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -432,7 +481,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:45 GMT + - Fri, 10 Oct 2025 05:56:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -442,11 +491,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b7ff45dc-f3c0-46bc-843f-c82e1179b40a + - c9d4a18e-b6bd-4e75-a5ea-e33823d56905 status: 200 OK code: 200 - duration: 87.623375ms - - id: 9 + duration: 94.35025ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -461,8 +510,57 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYUV4VnJsRTUxTVloVVIrQ1VPcUZYREFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0E0TlRjM01EYzBNaTFtWWpaakxUUTBNMlF0T0dGbU5TMDJOekl4Ck5qVXdaV0V5WlRJd0hoY05NalV4TURFd01EVTBPREl6V2hjTk16VXhNREE0TURVME9ESXpXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURnMU56Y3dOelF5TFdaaU5tTXRORFF6WkMwNFlXWTFMVFkzCk1qRTJOVEJsWVRKbE1qQXFNQVVHQXl0bGNBTWhBSCtDbDJlM2ZjYmQ5R1hPS3JKclkrZWRlRHpTenRtT25SeSsKVUN3R1orZXNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQ0ZzOHFLd0ZucHpveFlrClBvaDYraEYxd3k3U01BVUdBeXRsY0FOQkFBV1FJek1teGN0YXBrVjJpaDJZZXQ0NUpaWWtFOEVtUkp5RmJjMlAKcFc1ZmwzV3ZSSWgrTFpFQUlZQWlHTHlrVDAwR3ZiQ0kzRC9qY0d5dmpaaGRkZ0k9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:56:41 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: + - d8dbc5a1-90f1-4dd0-af2e-2758cc060629 + status: 200 OK + code: 200 + duration: 25.367167ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: GET response: proto: HTTP/2.0 @@ -472,7 +570,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:27:35.313730Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:56:31.134692Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -481,7 +579,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:45 GMT + - Fri, 10 Oct 2025 05:56:42 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -491,11 +589,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 00abdb3b-5897-41db-90d0-56e6215f4233 + - 15cf7c7e-14f6-40e2-b9d1-b1bc39818972 status: 200 OK code: 200 - duration: 75.602875ms - - id: 10 + duration: 88.464083ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -510,8 +608,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: DELETE response: proto: HTTP/2.0 @@ -521,7 +619,7 @@ interactions: trailer: {} content_length: 409 uncompressed: false - body: '{"created_at":"2025-07-21T13:27:34.379424Z","expires_at":"2025-12-31T23:59:59Z","id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","instance_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"deleting","updated_at":"2025-07-21T13:27:46.506604Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:56:30.353693Z","expires_at":"2026-06-30T23:59:59Z","id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","instance_id":"85770742-fb6c-443d-8af5-6721650ea2e2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"deleting","updated_at":"2025-10-10T05:56:42.543434Z","volume_type":"sbs_5k"}' headers: Content-Length: - "409" @@ -530,7 +628,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:46 GMT + - Fri, 10 Oct 2025 05:56:42 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -540,11 +638,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba01e3a2-6d1a-4395-93d5-1730f668e33f + - 4e630604-9606-4dac-9188-05fdf3876a7d status: 200 OK code: 200 - duration: 131.134125ms - - id: 11 + duration: 164.607ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +657,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -570,7 +668,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -579,7 +677,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:46 GMT + - Fri, 10 Oct 2025 05:56:42 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -589,11 +687,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6922dea-d796-4db5-b42d-268d5f9cc527 + - 5ac55180-ed00-47a5-b826-fe7e8d908312 status: 200 OK code: 200 - duration: 27.5725ms - - id: 12 + duration: 33.940583ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -608,8 +706,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: DELETE response: proto: HTTP/2.0 @@ -619,7 +717,7 @@ interactions: trailer: {} content_length: 562 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":null,"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":null,"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "562" @@ -628,7 +726,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:46 GMT + - Fri, 10 Oct 2025 05:56:42 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -638,11 +736,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7c0eaa0e-303e-4d65-89f1-032beecb62bc + - 998b2782-30db-463e-8ba7-7fbc44f88a54 status: 200 OK code: 200 - duration: 152.09675ms - - id: 13 + duration: 172.478833ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -657,8 +755,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -668,7 +766,7 @@ interactions: trailer: {} content_length: 679 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:19.662754Z","endpoints":[{"dns_record":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6.mgdb.fr-par.scw.cloud","id":"c5a63e12-8324-48e1-bfa9-5e6e2efaf9c2","port":27017,"public_network":{}}],"id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:20.178990Z","retention_days":7},"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.542393Z","endpoints":[{"dns_record":"85770742-fb6c-443d-8af5-6721650ea2e2.mgdb.fr-par.scw.cloud","id":"7ae57697-7120-465b-b9e6-034643e2ce88","port":27017,"public_network":{}}],"id":"85770742-fb6c-443d-8af5-6721650ea2e2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:23.131138Z","retention_days":7},"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "679" @@ -677,7 +775,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:27:46 GMT + - Fri, 10 Oct 2025 05:56:43 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -687,11 +785,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fadd6699-e054-4756-aaed-a4b387fd3a05 + - 7788eb23-c177-44ed-9132-9c12dfd930ed status: 200 OK code: 200 - duration: 93.334583ms - - id: 14 + duration: 121.261833ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -706,8 +804,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f1f147cd-4ab3-4495-aeb1-46faf445e5c6 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/85770742-fb6c-443d-8af5-6721650ea2e2 method: GET response: proto: HTTP/2.0 @@ -717,7 +815,7 @@ interactions: trailer: {} content_length: 129 uncompressed: false - body: '{"message":"resource is not found","resource":"instance","resource_id":"f1f147cd-4ab3-4495-aeb1-46faf445e5c6","type":"not_found"}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"85770742-fb6c-443d-8af5-6721650ea2e2","type":"not_found"}' headers: Content-Length: - "129" @@ -726,7 +824,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:35:11 GMT + - Fri, 10 Oct 2025 06:00:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -736,11 +834,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ff64254-1783-4be7-a010-d5e2a87f029c + - 639752fd-ac45-4caa-8d66-072de7e89691 status: 404 Not Found code: 404 - duration: 21.037625ms - - id: 15 + duration: 30.588791ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -755,8 +853,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/35bbf600-073d-47d2-b25b-9515a6bbfe23 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/a0946897-3385-4f2d-b330-47d0ff7c2fae method: GET response: proto: HTTP/2.0 @@ -766,7 +864,7 @@ interactions: trailer: {} content_length: 129 uncompressed: false - body: '{"message":"resource is not found","resource":"snapshot","resource_id":"35bbf600-073d-47d2-b25b-9515a6bbfe23","type":"not_found"}' + body: '{"message":"resource is not found","resource":"snapshot","resource_id":"a0946897-3385-4f2d-b330-47d0ff7c2fae","type":"not_found"}' headers: Content-Length: - "129" @@ -775,7 +873,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:35:11 GMT + - Fri, 10 Oct 2025 06:00:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -785,7 +883,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4020eedc-6f94-48ee-b916-54db7c631c47 + - 1804bbaa-4c84-470a-9d9d-db8c1d9d1b5f status: 404 Not Found code: 404 - duration: 24.23375ms + duration: 24.414208ms diff --git a/internal/services/mongodb/testdata/mongo-db-snapshot-update.cassette.yaml b/internal/services/mongodb/testdata/mongo-db-snapshot-update.cassette.yaml index e211be253..d0feb899b 100644 --- a/internal/services/mongodb/testdata/mongo-db-snapshot-update.cassette.yaml +++ b/internal/services/mongodb/testdata/mongo-db-snapshot-update.cassette.yaml @@ -18,7 +18,7 @@ interactions: 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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances method: POST response: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 683 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "683" @@ -38,7 +38,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:10:32 GMT + - Fri, 10 Oct 2025 05:48:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c1fb9987-3e30-4a4d-bc8e-5d5739b1d1e4 + - 7b1983e9-d45f-476c-b3e8-4719a56e611c status: 200 OK code: 200 - duration: 445.722375ms + duration: 835.291417ms - id: 1 request: proto: HTTP/1.1 @@ -67,8 +67,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 683 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"provisioning","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "683" @@ -87,7 +87,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:10:33 GMT + - Fri, 10 Oct 2025 05:48:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2b0b8a53-b319-487f-933b-f35b587fb594 + - 2b1ad03f-0ae4-45e3-9739-d2be2e9c5b65 status: 200 OK code: 200 - duration: 84.979833ms + duration: 134.678041ms - id: 2 request: proto: HTTP/1.1 @@ -116,8 +116,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -127,7 +127,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -136,7 +136,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:18 GMT + - Fri, 10 Oct 2025 05:54:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 554f7779-ff0f-40e3-9eb0-44070f07afb4 + - 475beec4-2f36-47cf-b84c-39a082417812 status: 200 OK code: 200 - duration: 272.30125ms + duration: 189.022875ms - id: 3 request: proto: HTTP/1.1 @@ -165,8 +165,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -185,7 +185,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:18 GMT + - Fri, 10 Oct 2025 05:54:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -195,11 +195,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0e4b7128-65c8-4c13-95ac-e7070334adac + - 7461b253-ede3-4341-9da3-79efa11be6f5 status: 200 OK code: 200 - duration: 30.347417ms + duration: 27.961209ms - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYTRRcEZmRjN5Szg2L0lkaHdheFFQekFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0F4TmpjME5EUm1aQzA1WVdVeExUUXdaVFV0T0RBelpDMHlPVEU0CllXTXdNV0pqWlRJd0hoY05NalV4TURFd01EVTBPREl5V2hjTk16VXhNREE0TURVME9ESXlXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURFMk56UTBOR1prTFRsaFpURXROREJsTlMwNE1ETmtMVEk1Ck1UaGhZekF4WW1ObE1qQXFNQVVHQXl0bGNBTWhBS3l0ei96cUVlb1Z0QVlJbjZJZTIxNGtxWEhlZElYdlppTi8KSFZXYWdPSUNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQWlSMVQ1ektOS0I5Uld4CmNwUWpmWHF3QVNYTU1BVUdBeXRsY0FOQkFBcWJEd0lXQWpjemVBSEZqY3M4NDJwNXFaV2llOURCb09ldVFibmMKazVTOENHemJnMWk0QVEvMS9PUEMwZHpjU3FsenVlT09lQWVKN3EydWZQeVhNd3M9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:54:18 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: + - 34183a4d-ebdc-46a5-9905-b378bbccdd18 + status: 200 OK + code: 200 + duration: 30.224167ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -210,13 +259,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-snapshot","expires_at":"2025-12-31T23:59:59Z"}' + body: '{"instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-snapshot","expires_at":"2026-06-30T23:59:59Z"}' 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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots method: POST response: @@ -227,7 +276,7 @@ interactions: trailer: {} content_length: 400 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-07-21T13:30:18.387012Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-10-10T05:54:18.372982Z","volume_type":"sbs_5k"}' headers: Content-Length: - "400" @@ -236,7 +285,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:18 GMT + - Fri, 10 Oct 2025 05:54:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -246,11 +295,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b3fa6c2c-2ab4-48fa-84df-64ef2ec632b1 + - cb6b849d-910e-4429-9b90-ce20cdc3fb3a status: 200 OK code: 200 - duration: 389.254792ms - - id: 5 + duration: 243.341208ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -265,8 +314,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -276,7 +325,7 @@ interactions: trailer: {} content_length: 400 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-07-21T13:30:18.387012Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":0,"status":"creating","updated_at":"2025-10-10T05:54:18.372982Z","volume_type":"sbs_5k"}' headers: Content-Length: - "400" @@ -285,7 +334,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:18 GMT + - Fri, 10 Oct 2025 05:54:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -295,11 +344,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 08fde423-01e9-47f7-897e-2f6fe98fcba2 + - 150fdf9e-3b94-4f59-ab1c-4a9c72d28b87 status: 200 OK code: 200 - duration: 176.1265ms - - id: 6 + duration: 92.176833ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -314,8 +363,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -325,7 +374,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:19.656662Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:19.461884Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -334,7 +383,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:28 GMT + - Fri, 10 Oct 2025 05:54:28 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -344,11 +393,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fbf752bb-2020-4ba7-96de-496d9b6eefbf + - ad73ece8-9445-4157-b06a-b7608b746371 status: 200 OK code: 200 - duration: 98.210542ms - - id: 7 + duration: 176.646625ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -363,8 +412,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -374,7 +423,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:19.656662Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:19.461884Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -383,7 +432,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:28 GMT + - Fri, 10 Oct 2025 05:54:28 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -393,11 +442,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c3edc2c7-044c-4cfa-afc6-3ae56b20241a + - 15b19a0a-29b9-461e-9a1f-7b6d8ea96642 status: 200 OK code: 200 - duration: 22.856459ms - - id: 8 + duration: 219.551208ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -412,8 +461,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -423,7 +472,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -432,7 +481,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:29 GMT + - Fri, 10 Oct 2025 05:54:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -442,11 +491,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 04115ab9-7816-4db7-a468-b0789de1061f + - ac5bca89-9960-45ee-b447-e2bcb7d635a7 status: 200 OK code: 200 - duration: 80.719667ms - - id: 9 + duration: 288.178084ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -461,8 +510,57 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYTRRcEZmRjN5Szg2L0lkaHdheFFQekFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0F4TmpjME5EUm1aQzA1WVdVeExUUXdaVFV0T0RBelpDMHlPVEU0CllXTXdNV0pqWlRJd0hoY05NalV4TURFd01EVTBPREl5V2hjTk16VXhNREE0TURVME9ESXlXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURFMk56UTBOR1prTFRsaFpURXROREJsTlMwNE1ETmtMVEk1Ck1UaGhZekF4WW1ObE1qQXFNQVVHQXl0bGNBTWhBS3l0ei96cUVlb1Z0QVlJbjZJZTIxNGtxWEhlZElYdlppTi8KSFZXYWdPSUNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQWlSMVQ1ektOS0I5Uld4CmNwUWpmWHF3QVNYTU1BVUdBeXRsY0FOQkFBcWJEd0lXQWpjemVBSEZqY3M4NDJwNXFaV2llOURCb09ldVFibmMKazVTOENHemJnMWk0QVEvMS9PUEMwZHpjU3FsenVlT09lQWVKN3EydWZQeVhNd3M9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:54:30 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: + - 2f69b2ba-5c32-4cd4-8014-9b91b7b7af76 + status: 200 OK + code: 200 + duration: 31.545166ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -472,7 +570,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:19.656662Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:19.461884Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -481,7 +579,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:29 GMT + - Fri, 10 Oct 2025 05:54:30 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -491,11 +589,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c3301f99-e09c-439f-af6a-27a753a395f6 + - bfd338d7-5fcb-4f87-9816-d92559e50684 status: 200 OK code: 200 - duration: 22.232875ms - - id: 10 + duration: 192.069167ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -510,8 +608,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -521,7 +619,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -530,7 +628,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:30 GMT + - Fri, 10 Oct 2025 05:54:31 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -540,11 +638,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 405502d8-1e71-438d-8d2e-ac95edaab19f + - fb52f5a1-cfaa-4160-a277-79220385d4a8 status: 200 OK code: 200 - duration: 83.247208ms - - id: 11 + duration: 91.498917ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYTRRcEZmRjN5Szg2L0lkaHdheFFQekFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0F4TmpjME5EUm1aQzA1WVdVeExUUXdaVFV0T0RBelpDMHlPVEU0CllXTXdNV0pqWlRJd0hoY05NalV4TURFd01EVTBPREl5V2hjTk16VXhNREE0TURVME9ESXlXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURFMk56UTBOR1prTFRsaFpURXROREJsTlMwNE1ETmtMVEk1Ck1UaGhZekF4WW1ObE1qQXFNQVVHQXl0bGNBTWhBS3l0ei96cUVlb1Z0QVlJbjZJZTIxNGtxWEhlZElYdlppTi8KSFZXYWdPSUNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQWlSMVQ1ektOS0I5Uld4CmNwUWpmWHF3QVNYTU1BVUdBeXRsY0FOQkFBcWJEd0lXQWpjemVBSEZqY3M4NDJwNXFaV2llOURCb09ldVFibmMKazVTOENHemJnMWk0QVEvMS9PUEMwZHpjU3FsenVlT09lQWVKN3EydWZQeVhNd3M9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:54:31 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: + - f6cee27e-6665-4d58-bcd0-e99696737622 + status: 200 OK + code: 200 + duration: 146.739333ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +706,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -570,7 +717,7 @@ interactions: trailer: {} content_length: 406 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-12-31T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:19.656662Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"test-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:19.461884Z","volume_type":"sbs_5k"}' headers: Content-Length: - "406" @@ -579,7 +726,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:30 GMT + - Fri, 10 Oct 2025 05:54:31 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -589,29 +736,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e21269dd-9a6d-4622-872c-33aaacf6eafa + - fe63bf86-b484-472f-b4cf-6df06998615b status: 200 OK code: 200 - duration: 113.063208ms - - id: 12 + duration: 190.20375ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 63 + content_length: 27 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"updated-snapshot","expires_at":"2025-09-20T23:59:59Z"}' + body: '{"name":"updated-snapshot"}' 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: PATCH response: proto: HTTP/2.0 @@ -621,7 +768,7 @@ interactions: trailer: {} content_length: 409 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-09-20T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:31.552713Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:31.966160Z","volume_type":"sbs_5k"}' headers: Content-Length: - "409" @@ -630,7 +777,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:31 GMT + - Fri, 10 Oct 2025 05:54:31 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -640,11 +787,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7c67d347-319d-4cb6-be43-914e1b5867f9 + - 46d2c29f-a837-42b4-90a9-98903318b006 status: 200 OK code: 200 - duration: 88.776416ms - - id: 13 + duration: 120.472334ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -659,8 +806,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -670,7 +817,7 @@ interactions: trailer: {} content_length: 409 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-09-20T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:31.552713Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:31.966160Z","volume_type":"sbs_5k"}' headers: Content-Length: - "409" @@ -679,7 +826,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:31 GMT + - Fri, 10 Oct 2025 05:54:32 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -689,11 +836,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 054845bc-73f1-4d66-a260-f63b4155e499 + - 6ed7ce19-f236-404e-9733-13e505728976 status: 200 OK code: 200 - duration: 20.933625ms - - id: 14 + duration: 25.052166ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -708,8 +855,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -719,7 +866,7 @@ interactions: trailer: {} content_length: 409 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-09-20T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:31.552713Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:31.966160Z","volume_type":"sbs_5k"}' headers: Content-Length: - "409" @@ -728,7 +875,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:31 GMT + - Fri, 10 Oct 2025 05:54:32 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -738,11 +885,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d585f063-2e23-48ac-9825-c719e070f1c8 + - a23ef023-b696-43ee-b6d4-82054b77872e status: 200 OK code: 200 - duration: 78.523291ms - - id: 15 + duration: 90.988167ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -757,8 +904,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -768,7 +915,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -777,7 +924,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:32 GMT + - Fri, 10 Oct 2025 05:54:33 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -787,11 +934,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c1392c22-9d85-4bda-b6c3-ac7fc8e52d83 + - d6800cb7-afa3-4dbb-b3bf-f8563869a820 status: 200 OK code: 200 - duration: 102.367166ms - - id: 16 + duration: 101.325709ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -806,8 +953,57 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2/certificate + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1085 + uncompressed: false + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUIvekNDQWJHZ0F3SUJBZ0lRYTRRcEZmRjN5Szg2L0lkaHdheFFQekFGQmdNclpYQXdjREVMTUFrR0ExVUUKQmhNQ1JsSXhEakFNQmdOVkJBY1RCVkJoY21sek1Sa3dGd1lEVlFRS0V4QlRZMkZzWlhkaGVTQk5iMjVuYjBSQwpNVFl3TkFZRFZRUUxFeTFKYm5OMFlXNWpaU0F4TmpjME5EUm1aQzA1WVdVeExUUXdaVFV0T0RBelpDMHlPVEU0CllXTXdNV0pqWlRJd0hoY05NalV4TURFd01EVTBPREl5V2hjTk16VXhNREE0TURVME9ESXlXakJ3TVFzd0NRWUQKVlFRR0V3SkdVakVPTUF3R0ExVUVCeE1GVUdGeWFYTXhHVEFYQmdOVkJBb1RFRk5qWVd4bGQyRjVJRTF2Ym1kdgpSRUl4TmpBMEJnTlZCQXNUTFVsdWMzUmhibU5sSURFMk56UTBOR1prTFRsaFpURXROREJsTlMwNE1ETmtMVEk1Ck1UaGhZekF4WW1ObE1qQXFNQVVHQXl0bGNBTWhBS3l0ei96cUVlb1Z0QVlJbjZJZTIxNGtxWEhlZElYdlppTi8KSFZXYWdPSUNvMkV3WHpBT0JnTlZIUThCQWY4RUJBTUNBZ1F3SFFZRFZSMGxCQll3RkFZSUt3WUJCUVVIQXdJRwpDQ3NHQVFVRkJ3TUJNQThHQTFVZEV3RUIvd1FGTUFNQkFmOHdIUVlEVlIwT0JCWUVGQWlSMVQ1ektOS0I5Uld4CmNwUWpmWHF3QVNYTU1BVUdBeXRsY0FOQkFBcWJEd0lXQWpjemVBSEZqY3M4NDJwNXFaV2llOURCb09ldVFibmMKazVTOENHemJnMWk0QVEvMS9PUEMwZHpjU3FsenVlT09lQWVKN3EydWZQeVhNd3M9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' + headers: + Content-Length: + - "1085" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 10 Oct 2025 05:54:33 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: + - 8bba4276-50a3-4835-a407-7b33e93378dc + status: 200 OK + code: 200 + duration: 99.065625ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -817,7 +1013,7 @@ interactions: trailer: {} content_length: 409 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-09-20T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-07-21T13:30:31.552713Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"ready","updated_at":"2025-10-10T05:54:31.966160Z","volume_type":"sbs_5k"}' headers: Content-Length: - "409" @@ -826,7 +1022,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:32 GMT + - Fri, 10 Oct 2025 05:54:33 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -836,11 +1032,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1f2e019-7080-43cd-842f-5d08f4533afb + - c4c4d564-8586-4ed6-8253-f972055f7d10 status: 200 OK code: 200 - duration: 21.025791ms - - id: 17 + duration: 89.1095ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -855,8 +1051,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: DELETE response: proto: HTTP/2.0 @@ -866,7 +1062,7 @@ interactions: trailer: {} content_length: 412 uncompressed: false - body: '{"created_at":"2025-07-21T13:30:18.387012Z","expires_at":"2025-09-20T23:59:59Z","id":"6045c61e-cb72-4f89-ad45-498bb39f1886","instance_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"deleting","updated_at":"2025-07-21T13:30:33.518128Z","volume_type":"sbs_5k"}' + body: '{"created_at":"2025-10-10T05:54:18.372982Z","expires_at":"2026-06-30T23:59:59Z","id":"5a4f9ec0-6338-417f-a776-4d3ece703303","instance_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","instance_name":"test-mongodb-instance","name":"updated-snapshot","node_type":"mgdb-play2-nano","region":"fr-par","size_bytes":5000000000,"status":"deleting","updated_at":"2025-10-10T05:54:33.864702Z","volume_type":"sbs_5k"}' headers: Content-Length: - "412" @@ -875,7 +1071,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:33 GMT + - Fri, 10 Oct 2025 05:54:33 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -885,11 +1081,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7402ac97-4f17-4843-8a6b-ffa0f8207d1e + - f520247e-e7b4-4225-84b1-7ddba4110bf2 status: 200 OK code: 200 - duration: 252.83875ms - - id: 18 + duration: 237.116958ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -904,8 +1100,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -915,7 +1111,7 @@ interactions: trailer: {} content_length: 676 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"ready","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "676" @@ -924,7 +1120,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:33 GMT + - Fri, 10 Oct 2025 05:54:34 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -934,11 +1130,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3a10affb-d889-49af-bb92-e0a8bece1f98 + - c9c4de95-b68a-49b4-9bf7-b7e9d690013a status: 200 OK code: 200 - duration: 51.01775ms - - id: 19 + duration: 37.888125ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -953,8 +1149,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: DELETE response: proto: HTTP/2.0 @@ -964,7 +1160,7 @@ interactions: trailer: {} content_length: 562 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":null,"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":null,"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "562" @@ -973,7 +1169,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:33 GMT + - Fri, 10 Oct 2025 05:54:34 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -983,11 +1179,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ab62f16c-24e0-45d3-9931-de0ac4c175dd + - 6efe5d2b-604e-475e-95a4-b37b989ae649 status: 200 OK code: 200 - duration: 194.198667ms - - id: 20 + duration: 203.096666ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1002,8 +1198,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -1013,7 +1209,7 @@ interactions: trailer: {} content_length: 679 uncompressed: false - body: '{"created_at":"2025-07-21T13:10:32.769987Z","endpoints":[{"dns_record":"f058fd9c-8b1f-4367-a2e8-8306a75698f7.mgdb.fr-par.scw.cloud","id":"5469cab0-2bd6-41a4-a5b0-e6d8a8a28cd4","port":27017,"public_network":{}}],"id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-07-21T13:10:32.881443Z","retention_days":7},"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-10-10T05:48:22.548600Z","endpoints":[{"dns_record":"167444fd-9ae1-40e5-803d-2918ac01bce2.mgdb.fr-par.scw.cloud","id":"220a42da-ffc0-406d-b2ed-35307032920a","port":27017,"public_network":{}}],"id":"167444fd-9ae1-40e5-803d-2918ac01bce2","name":"test-mongodb-instance","node_amount":1,"node_type":"mgdb-play2-nano","organization_id":"","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","region":"fr-par","snapshot_schedule":{"enabled":false,"frequency_hours":24,"last_run":null,"next_update":"2025-10-10T05:48:22.997479Z","retention_days":7},"status":"deleting","tags":[],"version":"7.0","volume":{"size_bytes":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - "679" @@ -1022,7 +1218,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:30:33 GMT + - Fri, 10 Oct 2025 05:54:34 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1032,11 +1228,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7d16b2fa-4861-4096-965f-c8ab094454a8 + - 07a078f2-429b-455e-bf8b-5e7e0caa49c0 status: 200 OK code: 200 - duration: 23.940667ms - - id: 21 + duration: 95.601542ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1051,8 +1247,8 @@ interactions: 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/mongodb/v1/regions/fr-par/instances/f058fd9c-8b1f-4367-a2e8-8306a75698f7 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/instances/167444fd-9ae1-40e5-803d-2918ac01bce2 method: GET response: proto: HTTP/2.0 @@ -1062,7 +1258,7 @@ interactions: trailer: {} content_length: 129 uncompressed: false - body: '{"message":"resource is not found","resource":"instance","resource_id":"f058fd9c-8b1f-4367-a2e8-8306a75698f7","type":"not_found"}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"167444fd-9ae1-40e5-803d-2918ac01bce2","type":"not_found"}' headers: Content-Length: - "129" @@ -1071,7 +1267,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:35:27 GMT + - Fri, 10 Oct 2025 05:56:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1081,11 +1277,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - efa626b1-cbe6-4423-916d-74839c17129b + - 621efe8f-2381-4175-9a86-d8248fe8c333 status: 404 Not Found code: 404 - duration: 93.320834ms - - id: 22 + duration: 41.351792ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1100,8 +1296,8 @@ interactions: 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/mongodb/v1/regions/fr-par/snapshots/6045c61e-cb72-4f89-ad45-498bb39f1886 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/mongodb/v1/regions/fr-par/snapshots/5a4f9ec0-6338-417f-a776-4d3ece703303 method: GET response: proto: HTTP/2.0 @@ -1111,7 +1307,7 @@ interactions: trailer: {} content_length: 129 uncompressed: false - body: '{"message":"resource is not found","resource":"snapshot","resource_id":"6045c61e-cb72-4f89-ad45-498bb39f1886","type":"not_found"}' + body: '{"message":"resource is not found","resource":"snapshot","resource_id":"5a4f9ec0-6338-417f-a776-4d3ece703303","type":"not_found"}' headers: Content-Length: - "129" @@ -1120,7 +1316,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 21 Jul 2025 13:35:27 GMT + - Fri, 10 Oct 2025 05:56:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1130,7 +1326,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9c6c3f9-d203-48bc-8f4a-549fc0b44f95 + - 3101d991-bd24-498a-9aa4-7245cd0282a3 status: 404 Not Found code: 404 - duration: 136.500667ms + duration: 34.0475ms