diff --git a/scaleway/resource_document_db_privilege_test.go b/scaleway/resource_document_db_privilege_test.go index fb3a11102..f2b1d7da0 100644 --- a/scaleway/resource_document_db_privilege_test.go +++ b/scaleway/resource_document_db_privilege_test.go @@ -158,6 +158,7 @@ func TestAccScalewayDocumentDBPrivilege_Basic(t *testing.T) { user_name = scaleway_documentdb_user.foo3.name database_name = scaleway_documentdb_database.db01.name permission = "none" + depends_on = [scaleway_documentdb_user.foo3] }`, Check: resource.ComposeTestCheckFunc( testAccCheckDocumentDBPrivilegeExists(tt, "scaleway_documentdb_instance.instance", "scaleway_documentdb_database.db01", "scaleway_documentdb_user.foo3"), diff --git a/scaleway/testdata/document-db-privilege-basic.cassette.yaml b/scaleway/testdata/document-db-privilege-basic.cassette.yaml index e66fa73bf..6ab1bd1ef 100644 --- a/scaleway/testdata/document-db-privilege-basic.cassette.yaml +++ b/scaleway/testdata/document-db-privilege-basic.cassette.yaml @@ -13,7 +13,7 @@ interactions: url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances method: POST response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -22,7 +22,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:52:32 GMT + - Tue, 10 Oct 2023 09:05:42 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -32,7 +32,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c84b230-6612-4d1f-9942-c2cfdb57e1b8 + - 71bcddd3-8407-4951-9371-679d819881ea status: 200 OK code: 200 duration: "" @@ -43,10 +43,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -55,7 +55,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:52:32 GMT + - Tue, 10 Oct 2023 09:05:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -65,7 +65,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba1f9d05-a027-4fc8-b1b1-d6df63ad3e4c + - f541cf3d-934e-4df4-9eb7-e595a2f179b2 status: 200 OK code: 200 duration: "" @@ -76,10 +76,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -88,7 +88,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:53:03 GMT + - Tue, 10 Oct 2023 09:06:16 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -98,7 +98,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b2b49d4b-5b46-4526-9826-877d1a0b2369 + - 4808c8bc-da68-451b-b7e8-4e05d8f87bf0 status: 200 OK code: 200 duration: "" @@ -109,10 +109,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -121,7 +121,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:53:33 GMT + - Tue, 10 Oct 2023 09:06:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -131,7 +131,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cf45ba32-66b5-4d47-8a9e-8bff33382c09 + - 0654a5bf-98b1-4143-b690-dfe91599b9a8 status: 200 OK code: 200 duration: "" @@ -142,10 +142,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:54:03 GMT + - Tue, 10 Oct 2023 09:07:16 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -164,7 +164,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ea254d13-d9ce-4e61-9999-783ce0ffba5e + - b561a7d1-a7f6-4190-94df-6207df186194 status: 200 OK code: 200 duration: "" @@ -175,10 +175,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -187,7 +187,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:54:33 GMT + - Tue, 10 Oct 2023 09:07:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -197,7 +197,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 22a2cc6a-be88-473c-837b-2a2a513680e8 + - 3f95d618-dc05-4b40-a903-5e9e63d45893 status: 200 OK code: 200 duration: "" @@ -208,10 +208,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -220,7 +220,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:55:03 GMT + - Tue, 10 Oct 2023 09:08:16 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -230,7 +230,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7bbcebfe-1b1f-457c-8af0-162d07279d0b + - 62205240-defc-43d8-bf24-acbb9dbc5002 status: 200 OK code: 200 duration: "" @@ -241,10 +241,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":null,"endpoints":[],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "799" @@ -253,7 +253,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:55:33 GMT + - Tue, 10 Oct 2023 09:08:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -263,7 +263,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 537fcd40-ea19-4b9e-9eb6-2b1395d8e4aa + - f4dd2e61-4b13-401f-b3d2-5923e36e768a status: 200 OK code: 200 duration: "" @@ -274,10 +274,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -286,7 +286,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:16 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -296,7 +296,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 414b53dc-8142-48a8-a3c2-888db42a0071 + - 70d14ffb-8283-4e91-8da4-676e8a7a7ca5 status: 200 OK code: 200 duration: "" @@ -307,10 +307,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -319,7 +319,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -329,7 +329,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c0de4def-754d-4a4b-8f5a-a4cfe913cc1a + - 9ada8341-c1c1-4daf-908c-765bb1041632 status: 200 OK code: 200 duration: "" @@ -340,10 +340,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -352,7 +352,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -362,7 +362,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af362895-24d3-4c6b-8745-d1d2ad7a2a72 + - 19cfad93-32e0-48ee-8436-fa143e2f5243 status: 200 OK code: 200 duration: "" @@ -373,10 +373,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -385,7 +385,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -395,7 +395,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 205fdeef-d9f7-4836-87e9-ab6f18bcf221 + - d3a3c103-b70e-499c-9ff5-2696e772206c status: 200 OK code: 200 duration: "" @@ -408,7 +408,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users method: POST response: body: '{"is_admin":true,"name":"user_01"}' @@ -420,7 +420,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -430,7 +430,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8b9bc97d-8c3e-4f54-a84e-ae47d7002406 + - ba77dd51-26d3-419f-b3b1-cc44ebad8f17 status: 200 OK code: 200 duration: "" @@ -441,7 +441,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -453,7 +453,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -463,7 +463,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 919f3822-4f05-46db-9775-88bed1a2b5cd + - e95556cb-8e9f-46af-94e1-3a07cf13006f status: 200 OK code: 200 duration: "" @@ -476,7 +476,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases method: POST response: body: '{"managed":true,"name":"test-document_db-database-basic","owner":"","size":0}' @@ -488,7 +488,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -498,7 +498,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 054f318a-0cb4-4a73-a60f-cda6a95e24d2 + - 89e50271-bc43-4115-baed-eb4d30121595 status: 200 OK code: 200 duration: "" @@ -509,10 +509,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -521,7 +521,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:04 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -531,7 +531,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67fb479b-446b-4d16-b0c3-45c857ecd388 + - 7ac73d6d-abaa-44ea-b093-d5ef64faf60f status: 200 OK code: 200 duration: "" @@ -542,10 +542,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -554,7 +554,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:17 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -564,7 +564,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 780c20da-5c84-423c-8065-d7caba1b0507 + - dfbb8668-2cf9-4b2c-8085-81e9889f51ab status: 200 OK code: 200 duration: "" @@ -575,7 +575,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8758051}],"total_count":1}' @@ -587,7 +587,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -597,7 +597,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a219dd9-411f-47cf-b828-cf8eea037b3e + - 9225edaa-b8c2-407d-ab51-26f14b05236d status: 200 OK code: 200 duration: "" @@ -608,10 +608,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -620,7 +620,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -630,7 +630,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67209577-2419-4bd9-b8ed-97edd5e09e4a + - 321cc322-7706-4cd5-bfb5-1bc6dfd0d541 status: 200 OK code: 200 duration: "" @@ -643,7 +643,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges method: PUT response: body: '{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}' @@ -655,7 +655,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -665,7 +665,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 05ab7595-28cb-485c-8e6f-527d1eb25fdc + - d4406309-37f4-46d6-8d9e-79a9246a5b48 status: 200 OK code: 200 duration: "" @@ -676,10 +676,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -688,7 +688,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -698,7 +698,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5e772d5-7f38-4ba8-828a-181d0ac24e53 + - 6bd76c92-a86d-4a68-a998-c6f228458d6e status: 200 OK code: 200 duration: "" @@ -709,10 +709,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -721,7 +721,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:05 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -731,7 +731,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6bc2a16b-d98a-4d9f-86bd-0313a07df9af + - f8297a99-4e98-417d-8f4d-6d0b3511ab69 status: 200 OK code: 200 duration: "" @@ -742,7 +742,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -754,7 +754,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:06 GMT + - Tue, 10 Oct 2023 09:09:18 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -764,7 +764,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4aff3b47-b4ee-4be3-bbc5-24db31d79d80 + - 8a0af70c-e2a0-4692-8eb1-c111f176a261 status: 200 OK code: 200 duration: "" @@ -775,7 +775,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -787,7 +787,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:06 GMT + - Tue, 10 Oct 2023 09:09:19 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -797,7 +797,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fbcc1041-d8fc-46c8-914e-c66545d3c06b + - 64fea28e-a249-4047-939e-9a72a33182ed status: 200 OK code: 200 duration: "" @@ -808,7 +808,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -820,7 +820,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:06 GMT + - Tue, 10 Oct 2023 09:09:19 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -830,7 +830,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f433d75f-4bcd-43e4-a9e5-0bd702fa6786 + - 92bf3551-40d2-48d7-a0eb-a44d4b753781 status: 200 OK code: 200 duration: "" @@ -841,10 +841,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -853,7 +853,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:20 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -863,7 +863,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d7acf1cb-1baf-4a51-bfdc-f8bab1f80dbd + - d188333b-9cb9-4cd6-92de-eb5fea639c6e status: 200 OK code: 200 duration: "" @@ -874,19 +874,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "1048" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -896,7 +896,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a89ebd0-d5ab-420f-b5f7-fbee25e87e80 + - 1838eff3-15d4-4d1c-b3d3-365649bcd538 status: 200 OK code: 200 duration: "" @@ -907,19 +907,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "62" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -929,7 +929,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ccaf44f-981b-4cfe-b0a2-afaba6544302 + - 009dfe17-4017-4b60-b131-61767040c6e8 status: 200 OK code: 200 duration: "" @@ -940,7 +940,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8782627}],"total_count":1}' @@ -952,7 +952,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -962,7 +962,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 55b7a278-5691-403d-9404-0db05a84e052 + - 2a71b6c4-1b19-4a4d-80d2-379d8f8568fc status: 200 OK code: 200 duration: "" @@ -973,10 +973,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -985,7 +985,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -995,7 +995,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 87c2f899-3939-48fc-af5f-620b91d6a02a + - 97f64717-73bb-4155-bd19-88aad5f9a072 status: 200 OK code: 200 duration: "" @@ -1006,7 +1006,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -1018,7 +1018,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1028,7 +1028,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f712e81c-51a6-4c11-8b3d-b231674c5b43 + - d55ca796-1ac9-4692-a7df-ccc9e321b545 status: 200 OK code: 200 duration: "" @@ -1039,7 +1039,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -1051,7 +1051,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:08 GMT + - Tue, 10 Oct 2023 09:09:21 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1061,7 +1061,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4fae0d0a-6fe5-4e8f-91e2-3dee2a8a46bf + - 9e00153e-1943-4daa-a640-3ca1ae86cfb0 status: 200 OK code: 200 duration: "" @@ -1072,10 +1072,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1084,7 +1084,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:10 GMT + - Tue, 10 Oct 2023 09:09:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1094,7 +1094,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6a5e0736-c5d2-4ec0-8be8-401e1be9ea76 + - ff8777fb-a272-4c9b-9a83-208acc50c165 status: 200 OK code: 200 duration: "" @@ -1105,19 +1105,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "1048" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:10 GMT + - Tue, 10 Oct 2023 09:09:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1127,7 +1127,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07742f28-499d-45bd-98b5-1e6cc6161a69 + - 83ba7c5e-2676-4965-9d38-9a4fe672475c status: 200 OK code: 200 duration: "" @@ -1138,19 +1138,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "62" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:10 GMT + - Tue, 10 Oct 2023 09:09:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1160,7 +1160,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5f8886ec-a845-4ee4-b0a2-56c4cfe775ac + - 2de7f72a-bded-48ad-80c2-eaa524aa01bc status: 200 OK code: 200 duration: "" @@ -1171,7 +1171,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8782627}],"total_count":1}' @@ -1183,7 +1183,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:10 GMT + - Tue, 10 Oct 2023 09:09:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1193,7 +1193,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8603c7f1-6ae9-425b-a3a3-c88834f644d6 + - 29b9e3dc-9244-456e-8b4e-af06829bb3b1 status: 200 OK code: 200 duration: "" @@ -1204,10 +1204,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1216,7 +1216,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:11 GMT + - Tue, 10 Oct 2023 09:09:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1226,7 +1226,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5a9e4a9d-4fe8-4312-b265-f2d3b8592dbd + - 01d8c233-d134-4129-9ed0-ef9e49d5ff2c status: 200 OK code: 200 duration: "" @@ -1237,7 +1237,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -1249,7 +1249,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:11 GMT + - Tue, 10 Oct 2023 09:09:24 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1259,7 +1259,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c66a1fcf-4665-47cb-a74d-a92b0f6caee7 + - 950681b2-c0c6-4706-b037-c525cfa0329d status: 200 OK code: 200 duration: "" @@ -1270,7 +1270,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -1282,7 +1282,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:11 GMT + - Tue, 10 Oct 2023 09:09:24 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1292,7 +1292,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f69645ba-0f40-4523-8835-fc86debe0ed6 + - f23685d5-1c88-4681-a9c0-8f01d32aaf17 status: 200 OK code: 200 duration: "" @@ -1303,10 +1303,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1315,7 +1315,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:13 GMT + - Tue, 10 Oct 2023 09:09:26 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1325,7 +1325,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 71fb37a1-9894-4bb5-97bb-1d3fa0d2b522 + - 1a189778-60bc-41f7-88ae-1239f62f43f1 status: 200 OK code: 200 duration: "" @@ -1338,7 +1338,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users method: POST response: body: '{"is_admin":false,"name":"user_02"}' @@ -1350,7 +1350,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:13 GMT + - Tue, 10 Oct 2023 09:09:26 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1360,7 +1360,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cdb9ec0d-e3d8-40c3-83ff-8dcce62ac569 + - 803ce203-9fe8-497f-9de5-d0093debc937 status: 200 OK code: 200 duration: "" @@ -1371,7 +1371,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -1383,7 +1383,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:13 GMT + - Tue, 10 Oct 2023 09:09:26 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1393,7 +1393,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5ca94859-1fca-443b-a79b-84a88c0f769e + - 8641aecd-fabd-4a99-8ab3-7cee86f3a461 status: 200 OK code: 200 duration: "" @@ -1404,10 +1404,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1416,7 +1416,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1426,7 +1426,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4312182f-f426-4012-9f17-279fd8f5afde + - cf293a47-edd5-4a47-a9be-b8b7a0217014 status: 200 OK code: 200 duration: "" @@ -1439,7 +1439,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges method: PUT response: body: '{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}' @@ -1451,7 +1451,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1461,7 +1461,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a50f9ecb-065d-44f8-9457-925106a3b125 + - 9ccf0f81-0182-4bda-8a72-4ee85ea93a9d status: 200 OK code: 200 duration: "" @@ -1472,10 +1472,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1484,7 +1484,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1494,7 +1494,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b23ea7f0-0f2f-4806-934c-22581d265cb2 + - bcc9c572-6288-4039-b1b8-c1474554686e status: 200 OK code: 200 duration: "" @@ -1505,10 +1505,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1517,7 +1517,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1527,7 +1527,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d6f987ff-5337-4224-a841-7b2ffbaf188e + - 63e8db7a-f6bb-4a39-be4f-9fc10a175c7e status: 200 OK code: 200 duration: "" @@ -1538,7 +1538,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -1550,7 +1550,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1560,7 +1560,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 01158e2d-fad4-4c7d-b15a-72bf4ee617b7 + - 22801271-e1d9-4957-b9ce-34cd6532b494 status: 200 OK code: 200 duration: "" @@ -1571,7 +1571,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' @@ -1583,7 +1583,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:14 GMT + - Tue, 10 Oct 2023 09:09:27 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1593,7 +1593,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97249c0d-1f2f-4448-bd37-1e51be57f5c0 + - 9d26f740-9697-4534-9f00-7b5f961f70d7 status: 200 OK code: 200 duration: "" @@ -1604,7 +1604,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' @@ -1616,7 +1616,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:15 GMT + - Tue, 10 Oct 2023 09:09:28 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1626,7 +1626,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 889ef734-a5fd-4b55-8541-4d37b682fc97 + - 011c60a6-9791-4704-86be-fec0a79e0a46 status: 200 OK code: 200 duration: "" @@ -1637,10 +1637,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1649,7 +1649,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:16 GMT + - Tue, 10 Oct 2023 09:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1659,7 +1659,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e4bb6bf7-37cb-4e36-acaf-b4f2ade35929 + - db36b26a-2bb3-4109-a694-507b106f7888 status: 200 OK code: 200 duration: "" @@ -1670,19 +1670,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "1048" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1692,7 +1692,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6364b091-c120-49cc-acf0-56ff08744d46 + - b16da91e-e6f4-4151-8843-2938ccba0dca status: 200 OK code: 200 duration: "" @@ -1703,19 +1703,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "63" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1725,7 +1725,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5fd520ef-ceb1-4a27-83a5-766d0b948240 + - 89951efa-0221-404d-819d-c145bcde6389 status: 200 OK code: 200 duration: "" @@ -1736,19 +1736,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' headers: Content-Length: - - "62" + - "63" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:29 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1758,7 +1758,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0ea7890b-20da-4677-bf90-d796aecf7d3f + - cb349e6c-fbb8-42a7-85f0-40e5a417185a status: 200 OK code: 200 duration: "" @@ -1769,7 +1769,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8782627}],"total_count":1}' @@ -1781,7 +1781,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1791,7 +1791,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e7ff3327-868a-4ae1-88ec-037b1072ff22 + - d31d7150-ae54-4215-bcec-82c57a21ca6d status: 200 OK code: 200 duration: "" @@ -1802,10 +1802,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1814,7 +1814,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1824,7 +1824,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9ca9307-c761-4461-baa6-dcf1f2d9c379 + - 3095c15c-7dfe-42af-80cf-e5c96bc10cb0 status: 200 OK code: 200 duration: "" @@ -1835,10 +1835,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -1847,7 +1847,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1857,7 +1857,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8608e50c-a71d-46df-8f98-6b9649767efd + - 16f1d4cb-6a89-40b8-9f52-7488b601d27d status: 200 OK code: 200 duration: "" @@ -1868,19 +1868,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' headers: Content-Length: - - "62" + - "63" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1890,7 +1890,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 185fa410-fc31-4230-bea7-47bfc4fa136b + - 42183c3e-0df9-4dde-a439-45c2d4c00fec status: 200 OK code: 200 duration: "" @@ -1901,19 +1901,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "63" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1923,7 +1923,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a741908b-4207-43ed-83d0-2e8892ade1b1 + - 603ade89-6e35-4291-a1ff-2ce0bd5ed73a status: 200 OK code: 200 duration: "" @@ -1934,7 +1934,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' @@ -1946,7 +1946,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1956,7 +1956,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ddbf38ca-e763-498d-933f-eff0cb70dc21 + - 534ed1ca-86be-431e-bbcd-01d1339a0d8a status: 200 OK code: 200 duration: "" @@ -1967,7 +1967,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -1979,7 +1979,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:17 GMT + - Tue, 10 Oct 2023 09:09:30 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -1989,7 +1989,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3e89c584-d198-43ef-b269-0c9c7d672159 + - 0128a395-228e-454b-84ac-fe15a6c5df79 status: 200 OK code: 200 duration: "" @@ -2000,10 +2000,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2012,7 +2012,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:19 GMT + - Tue, 10 Oct 2023 09:09:32 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2022,7 +2022,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 308ab837-7afa-4373-b554-86973251f41e + - 5885944a-a808-48c6-bdf8-0b6a3d761961 status: 200 OK code: 200 duration: "" @@ -2033,10 +2033,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2045,7 +2045,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:19 GMT + - Tue, 10 Oct 2023 09:09:32 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2055,7 +2055,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c9aa3b59-f605-4bc4-bd1f-fe97a0d5c3c8 + - 06af31db-d17d-4553-a38a-cbd8a382ee0a status: 200 OK code: 200 duration: "" @@ -2066,19 +2066,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "63" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:19 GMT + - Tue, 10 Oct 2023 09:09:32 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2088,7 +2088,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7f176c5a-99ed-4b79-9db7-1e4a489d039c + - 742866c2-1415-451d-829e-88f7b0d735e0 status: 200 OK code: 200 duration: "" @@ -2099,19 +2099,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' headers: Content-Length: - - "62" + - "63" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:19 GMT + - Tue, 10 Oct 2023 09:09:32 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2121,7 +2121,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aeff7766-1fbd-45d2-9811-707c5233e526 + - 3f4e4d13-1aa9-4890-9af6-b73efa5478c8 status: 200 OK code: 200 duration: "" @@ -2132,7 +2132,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8782627}],"total_count":1}' @@ -2144,7 +2144,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:19 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2154,7 +2154,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec64ac76-90e6-42ca-a44d-b63f787a683c + - c04fd64a-aced-4627-97a5-6476939499a7 status: 200 OK code: 200 duration: "" @@ -2165,10 +2165,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2177,7 +2177,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2187,7 +2187,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4d4ec93e-692f-45da-b108-0182edc2a21e + - 8d13cdad-70e6-4b72-b491-1ab4545062d2 status: 200 OK code: 200 duration: "" @@ -2198,10 +2198,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2210,7 +2210,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2220,7 +2220,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4f3177ba-ad8d-4f1b-9e8d-876025d843e5 + - 0a4e9e40-605c-4b1e-aa1b-47f076a3e60f status: 200 OK code: 200 duration: "" @@ -2231,7 +2231,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -2243,7 +2243,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2253,7 +2253,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 168c2895-b171-4b14-8416-e117a537d803 + - 0d67db43-de70-40ae-ae24-adfcac77bf8e status: 200 OK code: 200 duration: "" @@ -2264,7 +2264,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -2276,7 +2276,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2286,7 +2286,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 02dfbcf9-6c70-462e-970f-5a2a25789435 + - bf7850d2-d637-4dc7-8698-870282fbb04b status: 200 OK code: 200 duration: "" @@ -2297,7 +2297,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' @@ -2309,7 +2309,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2319,7 +2319,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 747bc550-b3c2-46a3-a216-b1e814317f86 + - dfbfdc85-ffbc-49a2-9918-10d3565b213c status: 200 OK code: 200 duration: "" @@ -2330,7 +2330,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' @@ -2342,7 +2342,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:20 GMT + - Tue, 10 Oct 2023 09:09:33 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2352,7 +2352,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 04e020c2-37ce-49c9-aab9-c616725e5d3d + - cf2e55eb-359e-4d85-b867-28392ca98f3f status: 200 OK code: 200 duration: "" @@ -2363,10 +2363,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2375,7 +2375,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:22 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2385,7 +2385,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a611a58c-c452-4e24-97ce-aa303bf18043 + - 9e4d709f-ce0a-45b3-9e9c-5e7218ce2819 status: 200 OK code: 200 duration: "" @@ -2398,7 +2398,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users method: POST response: body: '{"is_admin":false,"name":"user_03"}' @@ -2410,7 +2410,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:22 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2420,7 +2420,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9514dfa1-03e2-4e61-a2cb-7d9ae51241aa + - add1ccca-eab9-4c71-bc7b-3f2ed94340ca status: 200 OK code: 200 duration: "" @@ -2431,7 +2431,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' @@ -2443,7 +2443,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:22 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2453,7 +2453,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6999466-8a23-451e-a3f3-cdedeaf4c9e7 + - d4e46d89-4549-4e7b-8ec8-b8e21772f7cb status: 200 OK code: 200 duration: "" @@ -2464,10 +2464,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2476,7 +2476,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2486,7 +2486,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1ee868e-6664-4786-aee6-c91bdb00557c + - 4def50bd-0868-4deb-98cb-48c6676cebf6 status: 200 OK code: 200 duration: "" @@ -2499,7 +2499,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges method: PUT response: body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}' @@ -2511,7 +2511,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2521,7 +2521,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - abb035da-4f71-43a9-9c1f-8a89581ded23 + - 0fec94ed-32ff-412e-9295-8918debbd938 status: 200 OK code: 200 duration: "" @@ -2532,10 +2532,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2544,7 +2544,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2554,7 +2554,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a11d4c10-732d-463b-a52b-77116914c172 + - 7338a960-3baf-465f-8806-58c313b1fe3b status: 200 OK code: 200 duration: "" @@ -2565,10 +2565,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2577,7 +2577,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:36 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2587,7 +2587,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9f1aad8f-3511-4787-84b7-9be7310e9f11 + - 37d80083-5244-4c9e-94c4-344752e544b8 status: 200 OK code: 200 duration: "" @@ -2598,7 +2598,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' @@ -2610,7 +2610,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2620,7 +2620,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34f41305-387a-4800-806c-6a02422711a8 + - 75cc0724-d393-466f-9174-ae6cca8d2ca0 status: 200 OK code: 200 duration: "" @@ -2631,7 +2631,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}],"total_count":1}' @@ -2643,7 +2643,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:23 GMT + - Tue, 10 Oct 2023 09:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2653,7 +2653,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d718c230-e159-4e98-a2a6-81db6767f433 + - 21d952b8-cfae-4774-85e8-7b6b3fcc7057 status: 200 OK code: 200 duration: "" @@ -2664,7 +2664,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 method: GET response: body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}],"total_count":1}' @@ -2676,7 +2676,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:24 GMT + - Tue, 10 Oct 2023 09:09:37 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2686,7 +2686,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec6c0db6-35be-453c-95ae-9852c135393a + - 6f89d2e7-152b-42dd-8ce3-3fccc8576716 status: 200 OK code: 200 duration: "" @@ -2697,10 +2697,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2709,7 +2709,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:25 GMT + - Tue, 10 Oct 2023 09:09:44 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2719,7 +2719,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d05d2c9c-31a3-411e-8864-98025efded01 + - d31fe94f-7bb0-4e77-b941-dbbc061a4eaf status: 200 OK code: 200 duration: "" @@ -2730,10 +2730,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2742,40 +2742,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6b1cd1e9-e94d-4219-8b94-4a47fc80c910 - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc - method: GET - response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' - headers: - Content-Length: - - "63" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:44 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2785,7 +2752,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7fb8b4cd-3bfe-40b4-a06d-ee5dd4c0ad12 + - 50e47427-098c-4005-82f5-61ecbcbb5add status: 200 OK code: 200 duration: "" @@ -2796,7 +2763,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -2808,7 +2775,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:44 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2818,7 +2785,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 748e9853-136a-4da7-bd01-214668cf7214 + - 19dc21f4-554e-4273-88d0-df65827bb969 status: 200 OK code: 200 duration: "" @@ -2829,7 +2796,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -2841,7 +2808,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:45 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2851,7 +2818,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 764cdbc3-e19c-49d4-9fc5-4209a9bc7a87 + - 4c456bb4-a139-4de2-9fa0-63e58349590b status: 200 OK code: 200 duration: "" @@ -2862,7 +2829,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases?name=test-document_db-database-basic&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases?name=test-document_db-database-basic&order_by=name_asc method: GET response: body: '{"databases":[{"managed":true,"name":"test-document_db-database-basic","owner":"_rdb_superadmin","size":8782627}],"total_count":1}' @@ -2874,7 +2841,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:45 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2884,7 +2851,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a73f5b7-9468-4331-90dd-c69b0227f4ec + - 094e0acc-2b02-4774-8d89-d29c5aa6498d status: 200 OK code: 200 duration: "" @@ -2895,10 +2862,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2907,7 +2874,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:45 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2917,7 +2884,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f613367d-8211-4033-9f38-c6735e7b926b + - d1b972b9-2572-4b80-bfd4-9f26071904f3 status: 200 OK code: 200 duration: "" @@ -2928,10 +2895,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -2940,7 +2907,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:45 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2950,7 +2917,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21816795-af61-4716-b335-1905a2b7f2d3 + - d5956670-a4a9-46d0-ac5e-244c2b1298d5 status: 200 OK code: 200 duration: "" @@ -2961,19 +2928,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "1048" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -2983,7 +2950,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9dc73c55-7890-4e34-96bf-31ff8691a437 + - 0a2e1d15-b6a3-44b2-b947-eb67e40c09bf status: 200 OK code: 200 duration: "" @@ -2994,19 +2961,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' headers: Content-Length: - - "62" + - "125" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3016,7 +2983,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7994884f-4803-4696-b6aa-fb82e4bec106 + - 1860cfaf-7f21-4f13-8491-c56b2caebebd status: 200 OK code: 200 duration: "" @@ -3027,7 +2994,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -3039,7 +3006,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3049,7 +3016,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af3dd065-2fe6-4c4e-a1fb-2b1d9ca6bb9d + - 392b64f3-804c-4629-ac8b-252a3f90900e status: 200 OK code: 200 duration: "" @@ -3060,19 +3027,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' + body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' headers: Content-Length: - - "63" + - "131" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:46 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3082,7 +3049,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 14a6d9ca-f8a7-4e9f-998c-8737c7adfb4c + - e4893754-472f-4f02-85a8-5a9d5a20e460 status: 200 OK code: 200 duration: "" @@ -3093,19 +3060,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_01 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: - body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"all","user_name":"user_01"}],"total_count":1}' + body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' headers: Content-Length: - - "125" + - "63" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:47 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3115,7 +3082,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 93cd7a17-36e0-4568-9b07-6d1995e601fe + - 96ae8e22-e4f9-4d9a-8a29-9b078f7c4e38 status: 200 OK code: 200 duration: "" @@ -3126,19 +3093,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}],"total_count":1}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "126" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:47 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3148,7 +3115,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a12ae8b6-d546-4ea8-81c7-063564fc0124 + - 60ffacca-5d5a-4231-bbc3-a02634e05dbf status: 200 OK code: 200 duration: "" @@ -3159,19 +3126,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_02 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: - body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"readwrite","user_name":"user_02"}],"total_count":1}' + body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' headers: Content-Length: - - "131" + - "63" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:26 GMT + - Tue, 10 Oct 2023 09:09:47 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3181,7 +3148,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e170368d-1e3c-4ab9-8f68-2a8835990697 + - 4dd442d2-36f6-4cd1-a0e8-cf2c456c1f9d status: 200 OK code: 200 duration: "" @@ -3192,19 +3159,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges?database_name=test-document_db-database-basic&order_by=user_name_asc&user_name=user_03 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"privileges":[{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}],"total_count":1}' headers: Content-Length: - - "1048" + - "126" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:47 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3214,7 +3181,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9f4f3ff6-b0b7-439e-950d-3df0ace6bd74 + - 704b9bf2-1e03-4cfd-8850-68e91be2868f status: 200 OK code: 200 duration: "" @@ -3225,10 +3192,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3237,7 +3204,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3247,7 +3214,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fc396d64-4234-48b9-85ee-aea43b0370f5 + - 3fff2e5b-332f-4a45-bc23-a63103b6fd57 status: 200 OK code: 200 duration: "" @@ -3258,10 +3225,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3270,7 +3237,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3280,7 +3247,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b78e2257-18b1-4ac7-8bfe-ebfefa3e159b + - 0d2fc47e-36f2-4033-af34-3e9285f46c0c status: 200 OK code: 200 duration: "" @@ -3291,19 +3258,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "62" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3313,7 +3280,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ea9ff2aa-b296-4c58-b2c4-ebb945427bcf + - 8d0d6ddc-b6ef-4e61-9758-13b63f6c60e0 status: 200 OK code: 200 duration: "" @@ -3324,7 +3291,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -3336,7 +3303,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3346,7 +3313,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac1045cc-6962-4eed-8216-e8d911d1ed4c + - 738043f3-2b6e-42cb-9a89-25615c69f5c1 status: 200 OK code: 200 duration: "" @@ -3357,7 +3324,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' @@ -3369,7 +3336,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3379,7 +3346,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e5dd5e21-b970-437a-a4ba-a3ec0a20123c + - b5440002-9fb7-4afc-ac0e-e9d624c079e5 status: 200 OK code: 200 duration: "" @@ -3390,7 +3357,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_01&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' @@ -3402,7 +3369,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3412,7 +3379,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39436df5-c012-4d7d-a72c-22b95d3290c7 + - 27aef991-5cf3-4de0-9742-1451b5069ba1 status: 200 OK code: 200 duration: "" @@ -3423,7 +3390,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_03&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' @@ -3435,7 +3402,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3445,7 +3412,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dfd98f5f-e1c5-4cda-b455-6021b2526b3b + - 5972cb3c-792e-4161-8474-2713a953e0cb status: 200 OK code: 200 duration: "" @@ -3456,7 +3423,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_02&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_02&order_by=name_asc method: GET response: body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_02"}]}' @@ -3468,7 +3435,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3478,32 +3445,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09653a01-a106-4e70-bdd8-49e448a1b3da + - 29e3da39-28de-455f-98b4-b87c7dbd8a86 status: 200 OK code: 200 duration: "" - request: - body: '{"database_name":"test-document_db-database-basic","user_name":"user_01","permission":"none"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges - method: PUT + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users?name=user_01&order_by=name_asc + method: GET response: - body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_01"}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"user_01"}]}' headers: Content-Length: - - "93" + - "62" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:51 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3513,12 +3478,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dfcfe698-211f-4f1e-890a-a21c5f8f63ed + - 3c5edf19-235c-4d06-a715-f129ddc23b83 status: 200 OK code: 200 duration: "" - request: - body: '{"database_name":"test-document_db-database-basic","user_name":"user_03","permission":"none"}' + body: '{"database_name":"test-document_db-database-basic","user_name":"user_02","permission":"none"}' form: {} headers: Content-Type: @@ -3526,19 +3491,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges method: PUT response: - body: '{"message":"Tuple concurrently updated"}' + body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_02"}' headers: Content-Length: - - "40" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3548,12 +3513,12 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f886bc8f-068e-4ce5-96db-64163d957d73 - status: 409 Conflict - code: 409 + - ab9ad2d4-2080-44c0-b94e-416371925bb0 + status: 200 OK + code: 200 duration: "" - request: - body: '{"database_name":"test-document_db-database-basic","user_name":"user_02","permission":"none"}' + body: '{"database_name":"test-document_db-database-basic","user_name":"user_03","permission":"none"}' form: {} headers: Content-Type: @@ -3561,10 +3526,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges method: PUT response: - body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_02"}' + body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}' headers: Content-Length: - "93" @@ -3573,7 +3538,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:29 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3583,30 +3548,32 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 93ccb669-e58f-4a10-84b4-887804a40b39 + - 7d5b2a64-06cf-48c4-b952-06986ecff7fe status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"database_name":"test-document_db-database-basic","user_name":"user_01","permission":"none"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 - method: GET + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/privileges + method: PUT response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_01"}' headers: Content-Length: - - "1048" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3616,7 +3583,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2c1b6e52-818e-4dff-a335-23b75d943a48 + - 6194794e-7498-45ff-a595-23fba840e755 status: 200 OK code: 200 duration: "" @@ -3627,10 +3594,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3639,7 +3606,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3649,7 +3616,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ad3480a9-7c10-4bbd-b4a7-35676b42632f + - 0cb0409e-4c05-440f-b18d-a6c75e3113f2 status: 200 OK code: 200 duration: "" @@ -3660,10 +3627,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3672,7 +3639,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3682,7 +3649,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d06a78ec-d979-4817-bfb5-2e1e003aa9ed + - 016971ab-1ea5-4107-b5b3-09bf9532d1a3 status: 200 OK code: 200 duration: "" @@ -3693,10 +3660,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3705,7 +3672,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3715,7 +3682,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ced98a07-b915-404c-b030-633acca03fac + - 51184a7c-8869-48af-89df-2d3b4ab38e0c status: 200 OK code: 200 duration: "" @@ -3726,10 +3693,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3738,7 +3705,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3748,7 +3715,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6d1227eb-4e2d-4259-bcd1-a11d0d6a2712 + - 8be9f2b0-e1a5-4a2b-be07-181ba1a03f43 status: 200 OK code: 200 duration: "" @@ -3759,81 +3726,19 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users/user_01 - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 10 Oct 2023 07:56:30 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5b75b2dc-9647-4322-85ab-2344c4dfdd84 - status: 204 No Content - code: 204 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users/user_02 - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 10 Oct 2023 07:56:30 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0feb402b-fc6f-420a-823e-92353ea08a0b - status: 204 No Content - code: 204 - duration: "" -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users?name=user_03&order_by=name_asc + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"total_count":1,"users":[{"is_admin":false,"name":"user_03"}]}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "63" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3843,32 +3748,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 816be699-f6ec-4998-982f-7c004be550c1 + - a3b21649-7d08-4f1e-80db-a16f1a7f114e status: 200 OK code: 200 duration: "" - request: - body: '{"database_name":"test-document_db-database-basic","user_name":"user_03","permission":"none"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/privileges - method: PUT + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 + method: GET response: - body: '{"database_name":"test-document_db-database-basic","permission":"none","user_name":"user_03"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - - "93" + - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3878,7 +3781,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a7e325ad-acd2-4e56-86d8-8673ba6503eb + - 5bd15e0b-087d-4a75-9f5f-b701c20c83a6 status: 200 OK code: 200 duration: "" @@ -3889,10 +3792,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -3901,7 +3804,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:30 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3911,7 +3814,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6e82ab4f-a0b7-4705-9b37-b054f495695a + - 2e87d5db-d4bd-42b8-bda4-3a55bfe54297 status: 200 OK code: 200 duration: "" @@ -3922,19 +3825,17 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 - method: GET + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users/user_02 + method: DELETE response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: "" headers: - Content-Length: - - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3944,9 +3845,9 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 271c284d-37fc-4bc0-85b3-c6d35cf7e100 - status: 200 OK - code: 200 + - f3184e4d-11b0-470e-9364-26222819150e + status: 204 No Content + code: 204 duration: "" - request: body: "" @@ -3955,19 +3856,17 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 - method: GET + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users/user_01 + method: DELETE response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: "" headers: - Content-Length: - - "1048" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -3977,9 +3876,9 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 15785197-1338-467a-9230-b7f167c79884 - status: 200 OK - code: 200 + - 5d8501e9-f4b6-46e3-aa5d-f923982d962d + status: 204 No Content + code: 204 duration: "" - request: body: "" @@ -3988,7 +3887,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/users/user_03 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/users/user_03 method: DELETE response: body: "" @@ -3998,7 +3897,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4008,7 +3907,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 01ac5988-ba3c-4b7f-ac65-fbc26f51805c + - 2fc54170-5c49-486e-a5c5-120a8c5f2f8c status: 204 No Content code: 204 duration: "" @@ -4019,7 +3918,7 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644/databases/test-document_db-database-basic + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2/databases/test-document_db-database-basic method: DELETE response: body: "" @@ -4029,7 +3928,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4039,7 +3938,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eeca9d46-377a-4638-a025-2a16f1d9d7a5 + - 1d431473-8cf6-4408-a945-dadf52be921c status: 204 No Content code: 204 duration: "" @@ -4050,10 +3949,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -4062,7 +3961,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4072,7 +3971,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1616458d-9234-436c-831d-4ff81c72bd91 + - 0c14c873-df4d-47db-85c9-90248b6fdb78 status: 200 OK code: 200 duration: "" @@ -4083,10 +3982,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"ready","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1048" @@ -4095,7 +3994,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:52 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4105,7 +4004,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34bca14c-3a7f-4ad9-8793-cea16437b5ef + - d9bed415-4496-49ee-aa34-d228fb4515e5 status: 200 OK code: 200 duration: "" @@ -4116,10 +4015,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: DELETE response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"deleting","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"deleting","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1051" @@ -4128,7 +4027,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:53 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4138,7 +4037,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 01eae014-da4f-4961-b28f-912835ad5fcf + - 1842ecd6-6def-435a-85e4-3fb964a529d8 status: 200 OK code: 200 duration: "" @@ -4149,10 +4048,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T07:52:32.451514Z","retention":7},"created_at":"2023-10-10T07:52:32.451514Z","endpoint":{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082},"endpoints":[{"id":"0a2e0976-4c02-49fb-9766-ea3b28941427","ip":"51.159.27.252","load_balancer":{},"name":null,"port":29082}],"engine":"FerretDB-1","id":"2b4f48aa-fced-4015-843f-8dfa17f77644","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"deleting","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2023-10-11T09:05:42.539229Z","retention":7},"created_at":"2023-10-10T09:05:42.539229Z","endpoint":{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285},"endpoints":[{"id":"b3683706-8e90-4951-a025-c1d8e1418db9","ip":"51.158.56.171","load_balancer":{},"name":null,"port":13285}],"engine":"FerretDB-1","id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-document_db-instance-privilege","node_type":"docdb-play2-pico","organization_id":"63a66ec9-a385-4194-bc15-04aa6921274a","project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"deleting","tags":["terraform-test","scaleway_documentdb_instance","minimal"],"upgradable_version":[],"volume":{"size":20000000000,"type":"bssd"}}' headers: Content-Length: - "1051" @@ -4161,7 +4060,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:56:31 GMT + - Tue, 10 Oct 2023 09:09:53 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4171,7 +4070,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0bdfada2-42cf-424c-aa6b-0ca52fb5fb58 + - b200e85f-05ef-44b6-9a3a-de56525fbec8 status: 200 OK code: 200 duration: "" @@ -4182,10 +4081,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: GET response: - body: '{"message":"resource is not found","resource":"instance","resource_id":"2b4f48aa-fced-4015-843f-8dfa17f77644","type":"not_found"}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","type":"not_found"}' headers: Content-Length: - "129" @@ -4194,7 +4093,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:57:02 GMT + - Tue, 10 Oct 2023 09:10:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4204,7 +4103,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d58f2dc4-7277-423a-8f1a-7a830b5e92d5 + - eef3c045-f31d-4bfb-9287-97136d757944 status: 404 Not Found code: 404 duration: "" @@ -4215,10 +4114,10 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/2b4f48aa-fced-4015-843f-8dfa17f77644 + url: https://api.scaleway.com/document-db/v1beta1/regions/fr-par/instances/cdad114a-4c5b-4213-a76f-7bf048fbfcf2 method: DELETE response: - body: '{"message":"resource is not found","resource":"instance","resource_id":"2b4f48aa-fced-4015-843f-8dfa17f77644","type":"not_found"}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"cdad114a-4c5b-4213-a76f-7bf048fbfcf2","type":"not_found"}' headers: Content-Length: - "129" @@ -4227,7 +4126,7 @@ interactions: Content-Type: - application/json Date: - - Tue, 10 Oct 2023 07:57:02 GMT + - Tue, 10 Oct 2023 09:10:23 GMT Server: - Scaleway API-Gateway Strict-Transport-Security: @@ -4237,7 +4136,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63a304b7-d03d-4898-995b-72c8835583c5 + - 279caa0c-6880-454e-9cee-8f1cf658348e status: 404 Not Found code: 404 duration: ""