diff --git a/cmd/vcr-compressor/main.go b/cmd/vcr-compressor/main.go index b94b250fa2..82961a020b 100644 --- a/cmd/vcr-compressor/main.go +++ b/cmd/vcr-compressor/main.go @@ -6,6 +6,7 @@ import ( "os" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" + "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "gopkg.in/dnaeon/go-vcr.v3/cassette" ) @@ -16,6 +17,19 @@ var transientStates = map[string]bool{ k8s.PoolStatusDeleting.String(): true, k8s.PoolStatusScaling.String(): true, k8s.PoolStatusUpgrading.String(): true, + + rdb.DatabaseBackupStatusCreating.String(): true, + rdb.DatabaseBackupStatusDeleting.String(): true, + rdb.DatabaseBackupStatusExporting.String(): true, + rdb.DatabaseBackupStatusRestoring.String(): true, + rdb.InstanceStatusAutohealing.String(): true, + rdb.InstanceStatusBackuping.String(): true, + rdb.InstanceStatusConfiguring.String(): true, + rdb.InstanceStatusDeleting.String(): true, + rdb.InstanceStatusInitializing.String(): true, + rdb.InstanceStatusProvisioning.String(): true, + rdb.InstanceStatusRestarting.String(): true, + rdb.InstanceStatusSnapshotting.String(): true, } func main() { diff --git a/internal/services/rdb/testdata/acl-basic.cassette.yaml b/internal/services/rdb/testdata/acl-basic.cassette.yaml index d9f440e9ce..a7336dd24e 100644 --- a/internal/services/rdb/testdata/acl-basic.cassette.yaml +++ b/internal/services/rdb/testdata/acl-basic.cassette.yaml @@ -355,251 +355,6 @@ interactions: code: 200 duration: 207.401667ms - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4fd546f6-e0d1-4e34-96ad-a6236c1d011e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 788 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:51:37.568039Z","retention":7},"created_at":"2025-02-06T13:51:37.568039Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4fd546f6-e0d1-4e34-96ad-a6236c1d011e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"rdb-acl-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "788" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5a2dc0d0-6ca7-4774-8f2c-7f1aa464bda6 - status: 200 OK - code: 200 - duration: 125.916375ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4fd546f6-e0d1-4e34-96ad-a6236c1d011e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 788 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:51:37.568039Z","retention":7},"created_at":"2025-02-06T13:51:37.568039Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4fd546f6-e0d1-4e34-96ad-a6236c1d011e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"rdb-acl-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "788" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3031404e-e2d1-4d51-8f54-dfbbb1b18a49 - status: 200 OK - code: 200 - duration: 136.033167ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4fd546f6-e0d1-4e34-96ad-a6236c1d011e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 788 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:51:37.568039Z","retention":7},"created_at":"2025-02-06T13:51:37.568039Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4fd546f6-e0d1-4e34-96ad-a6236c1d011e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"rdb-acl-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "788" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 63789738-3acb-49ec-bc24-f86f2cea4cd9 - status: 200 OK - code: 200 - duration: 168.121542ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4fd546f6-e0d1-4e34-96ad-a6236c1d011e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 788 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:51:37.568039Z","retention":7},"created_at":"2025-02-06T13:51:37.568039Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4fd546f6-e0d1-4e34-96ad-a6236c1d011e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"rdb-acl-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "788" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 269f5967-100e-4f66-abf3-95713dba13db - status: 200 OK - code: 200 - duration: 160.111417ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4fd546f6-e0d1-4e34-96ad-a6236c1d011e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1063 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:51:37.568039Z","retention":7},"created_at":"2025-02-06T13:51:37.568039Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4fd546f6-e0d1-4e34-96ad-a6236c1d011e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"rdb-acl-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1063" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:09 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ed34d959-88b3-4764-8ef4-8bb8cc2d322e - status: 200 OK - code: 200 - duration: 243.946417ms - - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -648,7 +403,7 @@ interactions: status: 200 OK code: 200 duration: 152.018167ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -699,7 +454,7 @@ interactions: status: 200 OK code: 200 duration: 197.2915ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -748,7 +503,7 @@ interactions: status: 200 OK code: 200 duration: 133.056334ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -797,7 +552,7 @@ interactions: status: 200 OK code: 200 duration: 141.128875ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -846,7 +601,7 @@ interactions: status: 200 OK code: 200 duration: 105.355625ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -895,7 +650,7 @@ interactions: status: 200 OK code: 200 duration: 257.343125ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -946,7 +701,7 @@ interactions: status: 200 OK code: 200 duration: 226.314792ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -995,7 +750,7 @@ interactions: status: 200 OK code: 200 duration: 133.195916ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1044,7 +799,7 @@ interactions: status: 200 OK code: 200 duration: 164.91225ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1093,7 +848,7 @@ interactions: status: 200 OK code: 200 duration: 130.595875ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1142,7 +897,7 @@ interactions: status: 200 OK code: 200 duration: 77.525375ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1191,7 +946,7 @@ interactions: status: 200 OK code: 200 duration: 82.0955ms - - id: 24 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1240,7 +995,7 @@ interactions: status: 200 OK code: 200 duration: 193.068916ms - - id: 25 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1289,7 +1044,7 @@ interactions: status: 200 OK code: 200 duration: 156.203708ms - - id: 26 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1338,7 +1093,7 @@ interactions: status: 200 OK code: 200 duration: 236.7105ms - - id: 27 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1387,7 +1142,7 @@ interactions: status: 200 OK code: 200 duration: 226.064709ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1436,7 +1191,7 @@ interactions: status: 200 OK code: 200 duration: 117.126291ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1485,7 +1240,7 @@ interactions: status: 200 OK code: 200 duration: 90.402333ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1534,7 +1289,7 @@ interactions: status: 200 OK code: 200 duration: 95.275083ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1583,7 +1338,7 @@ interactions: status: 200 OK code: 200 duration: 139.58375ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1632,7 +1387,7 @@ interactions: status: 200 OK code: 200 duration: 149.872417ms - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1681,7 +1436,7 @@ interactions: status: 200 OK code: 200 duration: 103.51975ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1730,7 +1485,7 @@ interactions: status: 200 OK code: 200 duration: 154.606709ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1779,7 +1534,7 @@ interactions: status: 200 OK code: 200 duration: 125.919375ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1826,7 +1581,7 @@ interactions: status: 204 No Content code: 204 duration: 518.627875ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1873,7 +1628,7 @@ interactions: status: 204 No Content code: 204 duration: 541.507666ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1922,7 +1677,7 @@ interactions: status: 200 OK code: 200 duration: 317.875ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1971,7 +1726,7 @@ interactions: status: 200 OK code: 200 duration: 134.550791ms - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2022,7 +1777,7 @@ interactions: status: 200 OK code: 200 duration: 246.838625ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2071,7 +1826,7 @@ interactions: status: 200 OK code: 200 duration: 150.034292ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2120,7 +1875,7 @@ interactions: status: 200 OK code: 200 duration: 224.855209ms - - id: 43 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2169,7 +1924,7 @@ interactions: status: 200 OK code: 200 duration: 157.012ms - - id: 44 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2218,7 +1973,7 @@ interactions: status: 200 OK code: 200 duration: 123.274208ms - - id: 45 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2267,7 +2022,7 @@ interactions: status: 200 OK code: 200 duration: 164.493459ms - - id: 46 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2316,7 +2071,7 @@ interactions: status: 200 OK code: 200 duration: 99.994042ms - - id: 47 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2365,7 +2120,7 @@ interactions: status: 200 OK code: 200 duration: 184.848333ms - - id: 48 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2414,7 +2169,7 @@ interactions: status: 200 OK code: 200 duration: 208.565083ms - - id: 49 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2463,7 +2218,7 @@ interactions: status: 200 OK code: 200 duration: 149.098709ms - - id: 50 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2512,7 +2267,7 @@ interactions: status: 200 OK code: 200 duration: 736.788791ms - - id: 51 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2561,7 +2316,7 @@ interactions: status: 200 OK code: 200 duration: 100.255208ms - - id: 52 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2610,7 +2365,7 @@ interactions: status: 200 OK code: 200 duration: 142.648459ms - - id: 53 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2659,7 +2414,7 @@ interactions: status: 200 OK code: 200 duration: 245.473542ms - - id: 54 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2708,7 +2463,7 @@ interactions: status: 200 OK code: 200 duration: 139.219958ms - - id: 55 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2757,7 +2512,7 @@ interactions: status: 200 OK code: 200 duration: 194.466959ms - - id: 56 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2808,7 +2563,7 @@ interactions: status: 200 OK code: 200 duration: 372.198208ms - - id: 57 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2857,7 +2612,7 @@ interactions: status: 200 OK code: 200 duration: 136.491875ms - - id: 58 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2906,7 +2661,7 @@ interactions: status: 200 OK code: 200 duration: 154.8395ms - - id: 59 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2955,7 +2710,7 @@ interactions: status: 200 OK code: 200 duration: 176.028333ms - - id: 60 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3004,7 +2759,7 @@ interactions: status: 200 OK code: 200 duration: 188.700958ms - - id: 61 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3053,7 +2808,7 @@ interactions: status: 200 OK code: 200 duration: 149.276667ms - - id: 62 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3102,7 +2857,7 @@ interactions: status: 200 OK code: 200 duration: 111.361416ms - - id: 63 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3151,7 +2906,7 @@ interactions: status: 200 OK code: 200 duration: 163.223333ms - - id: 64 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3200,7 +2955,7 @@ interactions: status: 200 OK code: 200 duration: 143.9335ms - - id: 65 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3249,7 +3004,7 @@ interactions: status: 200 OK code: 200 duration: 156.452834ms - - id: 66 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3298,7 +3053,7 @@ interactions: status: 200 OK code: 200 duration: 157.544875ms - - id: 67 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3347,7 +3102,7 @@ interactions: status: 200 OK code: 200 duration: 112.653125ms - - id: 68 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3396,7 +3151,7 @@ interactions: status: 200 OK code: 200 duration: 148.330584ms - - id: 69 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3445,7 +3200,7 @@ interactions: status: 200 OK code: 200 duration: 113.043917ms - - id: 70 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3494,7 +3249,7 @@ interactions: status: 200 OK code: 200 duration: 151.916125ms - - id: 71 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3545,7 +3300,7 @@ interactions: status: 200 OK code: 200 duration: 698.318ms - - id: 72 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3594,7 +3349,7 @@ interactions: status: 200 OK code: 200 duration: 244.751458ms - - id: 73 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3643,7 +3398,7 @@ interactions: status: 200 OK code: 200 duration: 126.810083ms - - id: 74 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3692,7 +3447,7 @@ interactions: status: 200 OK code: 200 duration: 187.719208ms - - id: 75 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -3741,7 +3496,7 @@ interactions: status: 200 OK code: 200 duration: 130.564416ms - - id: 76 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -3790,7 +3545,7 @@ interactions: status: 200 OK code: 200 duration: 196.878417ms - - id: 77 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -3839,7 +3594,7 @@ interactions: status: 200 OK code: 200 duration: 451.6565ms - - id: 78 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -3888,7 +3643,7 @@ interactions: status: 200 OK code: 200 duration: 264.807917ms - - id: 79 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -3937,7 +3692,7 @@ interactions: status: 404 Not Found code: 404 duration: 103.951709ms - - id: 80 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/data-source-acl-basic.cassette.yaml b/internal/services/rdb/testdata/data-source-acl-basic.cassette.yaml index ab064fac35..3eed6a34c5 100644 --- a/internal/services/rdb/testdata/data-source-acl-basic.cassette.yaml +++ b/internal/services/rdb/testdata/data-source-acl-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 814.712459ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/056fce64-5512-4b35-844b-f36e41b180d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 812 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:09.391838Z","retention":7},"created_at":"2025-02-06T13:34:09.391838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"056fce64-5512-4b35-844b-f36e41b180d2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayDataSourceRDBAcl_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "812" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:40 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9998326b-b6a5-4ec8-9f0f-570fa6bcf560 - status: 200 OK - code: 200 - duration: 157.420459ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/056fce64-5512-4b35-844b-f36e41b180d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 812 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:09.391838Z","retention":7},"created_at":"2025-02-06T13:34:09.391838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"056fce64-5512-4b35-844b-f36e41b180d2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayDataSourceRDBAcl_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "812" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fb830119-3ec7-4908-908a-eec510432727 - status: 200 OK - code: 200 - duration: 366.059ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/056fce64-5512-4b35-844b-f36e41b180d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 812 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:09.391838Z","retention":7},"created_at":"2025-02-06T13:34:09.391838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"056fce64-5512-4b35-844b-f36e41b180d2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayDataSourceRDBAcl_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "812" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 62e17561-ea19-438e-a2bf-701db88dcc61 - status: 200 OK - code: 200 - duration: 156.236917ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/056fce64-5512-4b35-844b-f36e41b180d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 812 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:09.391838Z","retention":7},"created_at":"2025-02-06T13:34:09.391838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"056fce64-5512-4b35-844b-f36e41b180d2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayDataSourceRDBAcl_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "812" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4bc34d53-efce-4477-a881-ddf35ec58e64 - status: 200 OK - code: 200 - duration: 148.737875ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/056fce64-5512-4b35-844b-f36e41b180d2 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1087 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:09.391838Z","retention":7},"created_at":"2025-02-06T13:34:09.391838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"056fce64-5512-4b35-844b-f36e41b180d2","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayDataSourceRDBAcl_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1087" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0757ddbe-d3c1-452b-83ff-bdb4d6d9f0c3 - status: 200 OK - code: 200 - duration: 369.2865ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 183.872167ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 280.853ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 140.543833ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 147.46325ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 114.606459ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 30.76970625s - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -742,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 9.729031334s - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 202.619709ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 624.918708ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 130.602209ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 144.651666ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 116.084125ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 168.365167ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 158.937167ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 143.58825ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 144.907541ms - - id: 24 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 117.888042ms - - id: 25 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 142.345541ms - - id: 26 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 171.800125ms - - id: 27 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 144.448041ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 143.801667ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 136.831041ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 133.252042ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 159.751042ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1379,7 @@ interactions: status: 200 OK code: 200 duration: 135.864917ms - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1428,7 @@ interactions: status: 200 OK code: 200 duration: 135.197375ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1722,7 +1477,7 @@ interactions: status: 200 OK code: 200 duration: 181.228042ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +1526,7 @@ interactions: status: 200 OK code: 200 duration: 119.389708ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1820,7 +1575,7 @@ interactions: status: 200 OK code: 200 duration: 133.624ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1869,7 +1624,7 @@ interactions: status: 200 OK code: 200 duration: 161.963834ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1918,7 +1673,7 @@ interactions: status: 200 OK code: 200 duration: 108.201125ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1967,7 +1722,7 @@ interactions: status: 200 OK code: 200 duration: 117.0015ms - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2016,7 +1771,7 @@ interactions: status: 200 OK code: 200 duration: 298.00325ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2065,7 +1820,7 @@ interactions: status: 200 OK code: 200 duration: 127.457208ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1869,7 @@ interactions: status: 200 OK code: 200 duration: 384.6815ms - - id: 43 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2165,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 202.628208ms - - id: 44 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2214,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 132.405958ms - - id: 45 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2263,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 151.354333ms - - id: 46 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2312,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 126.977875ms - - id: 47 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2361,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 275.704959ms - - id: 48 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +2165,7 @@ interactions: status: 200 OK code: 200 duration: 138.613416ms - - id: 49 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +2214,7 @@ interactions: status: 404 Not Found code: 404 duration: 156.30075ms - - id: 50 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/data-source-database-backup-basic.cassette.yaml b/internal/services/rdb/testdata/data-source-database-backup-basic.cassette.yaml index 7cfa859516..c33b7d996e 100644 --- a/internal/services/rdb/testdata/data-source-database-backup-basic.cassette.yaml +++ b/internal/services/rdb/testdata/data-source-database-backup-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 145.312834ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/8e002455-ad81-4fcb-9af7-324e941b931c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:57.868911Z","retention":7},"created_at":"2025-02-06T13:47:57.868911Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"8e002455-ad81-4fcb-9af7-324e941b931c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 32b68b5a-48b3-4f70-9ae1-bdee446c5278 - status: 200 OK - code: 200 - duration: 132.334416ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/8e002455-ad81-4fcb-9af7-324e941b931c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:57.868911Z","retention":7},"created_at":"2025-02-06T13:47:57.868911Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"8e002455-ad81-4fcb-9af7-324e941b931c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:58 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 918adaa3-fc94-42bd-a9ca-27a712589e81 - status: 200 OK - code: 200 - duration: 438.024875ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/8e002455-ad81-4fcb-9af7-324e941b931c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:57.868911Z","retention":7},"created_at":"2025-02-06T13:47:57.868911Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"8e002455-ad81-4fcb-9af7-324e941b931c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ba84e0b3-128b-4f2c-be95-74035f05194f - status: 200 OK - code: 200 - duration: 127.220958ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/8e002455-ad81-4fcb-9af7-324e941b931c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:57.868911Z","retention":7},"created_at":"2025-02-06T13:47:57.868911Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"8e002455-ad81-4fcb-9af7-324e941b931c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:59 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e5ed3b51-7904-447c-99e7-31fc10641d21 - status: 200 OK - code: 200 - duration: 144.345666ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/8e002455-ad81-4fcb-9af7-324e941b931c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1064 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:57.868911Z","retention":7},"created_at":"2025-02-06T13:47:57.868911Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"8e002455-ad81-4fcb-9af7-324e941b931c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1064" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 25131ec4-2a57-4abb-90d1-07428617be6c - status: 200 OK - code: 200 - duration: 139.736959ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 141.466958ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 191.013291ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 162.0295ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 176.280125ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 100.604709ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 144.436375ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -742,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 302.844958ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 117.830959ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 152.421417ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 144.019167ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 184.451833ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 108.075583ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 538.196541ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 155.754625ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 564.649625ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 109.990083ms - - id: 24 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 356.881791ms - - id: 25 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1283,7 +1038,7 @@ interactions: status: 200 OK code: 200 duration: 2.919793291s - - id: 26 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1332,7 +1087,7 @@ interactions: status: 200 OK code: 200 duration: 102.467792ms - - id: 27 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +1136,7 @@ interactions: status: 200 OK code: 200 duration: 200.925125ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1430,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 97.638916ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1479,7 +1234,7 @@ interactions: status: 200 OK code: 200 duration: 120.860167ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1528,7 +1283,7 @@ interactions: status: 200 OK code: 200 duration: 121.733125ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1332,7 @@ interactions: status: 200 OK code: 200 duration: 116.550083ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 6.335966s - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 102.937417ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 137.852958ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 114.794167ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 108.356125ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1871,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 119.423083ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1920,7 +1675,7 @@ interactions: status: 200 OK code: 200 duration: 95.965459ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 3.668952375s - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2018,7 +1773,7 @@ interactions: status: 200 OK code: 200 duration: 176.760708ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1822,7 @@ interactions: status: 200 OK code: 200 duration: 222.5315ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2116,7 +1871,7 @@ interactions: status: 200 OK code: 200 duration: 246.550958ms - - id: 43 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2165,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 160.088042ms - - id: 44 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2214,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 173.421209ms - - id: 45 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2263,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 107.306416ms - - id: 46 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2312,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 102.457458ms - - id: 47 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2361,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 127.247166ms - - id: 48 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +2165,7 @@ interactions: status: 200 OK code: 200 duration: 97.4795ms - - id: 49 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +2214,7 @@ interactions: status: 200 OK code: 200 duration: 3.870156375s - - id: 50 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2508,7 +2263,7 @@ interactions: status: 200 OK code: 200 duration: 104.2465ms - - id: 51 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2557,7 +2312,7 @@ interactions: status: 200 OK code: 200 duration: 99.942ms - - id: 52 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2606,7 +2361,7 @@ interactions: status: 200 OK code: 200 duration: 112.771209ms - - id: 53 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2655,7 +2410,7 @@ interactions: status: 200 OK code: 200 duration: 178.097708ms - - id: 54 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2704,7 +2459,7 @@ interactions: status: 200 OK code: 200 duration: 3.980299708s - - id: 55 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2753,7 +2508,7 @@ interactions: status: 200 OK code: 200 duration: 110.625583ms - - id: 56 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2802,7 +2557,7 @@ interactions: status: 200 OK code: 200 duration: 113.714167ms - - id: 57 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2851,7 +2606,7 @@ interactions: status: 200 OK code: 200 duration: 190.619917ms - - id: 58 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2900,7 +2655,7 @@ interactions: status: 404 Not Found code: 404 duration: 32.000959ms - - id: 59 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2949,7 +2704,7 @@ interactions: status: 200 OK code: 200 duration: 162.136041ms - - id: 60 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -2996,7 +2751,7 @@ interactions: status: 204 No Content code: 204 duration: 214.825875ms - - id: 61 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3045,7 +2800,7 @@ interactions: status: 200 OK code: 200 duration: 143.903292ms - - id: 62 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3094,7 +2849,7 @@ interactions: status: 200 OK code: 200 duration: 163.044291ms - - id: 63 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3143,7 +2898,7 @@ interactions: status: 200 OK code: 200 duration: 361.1385ms - - id: 64 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3192,7 +2947,7 @@ interactions: status: 200 OK code: 200 duration: 147.792583ms - - id: 65 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3241,7 +2996,7 @@ interactions: status: 404 Not Found code: 404 duration: 102.014833ms - - id: 66 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3290,7 +3045,7 @@ interactions: status: 404 Not Found code: 404 duration: 147.468625ms - - id: 67 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3339,7 +3094,7 @@ interactions: status: 404 Not Found code: 404 duration: 34.581375ms - - id: 68 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3388,7 +3143,7 @@ interactions: status: 404 Not Found code: 404 duration: 37.047125ms - - id: 69 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3437,7 +3192,7 @@ interactions: status: 404 Not Found code: 404 duration: 31.2685ms - - id: 70 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/data-source-database-basic.cassette.yaml b/internal/services/rdb/testdata/data-source-database-basic.cassette.yaml index 7e8d693e06..88709c7f34 100644 --- a/internal/services/rdb/testdata/data-source-database-basic.cassette.yaml +++ b/internal/services/rdb/testdata/data-source-database-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 133.1295ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/9f3d719b-18de-4bd9-b8bd-72fbf998b815 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:44:14.131890Z","retention":7},"created_at":"2025-02-06T13:44:14.131890Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"9f3d719b-18de-4bd9-b8bd-72fbf998b815","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f0316fe8-5809-402c-96ed-51226df143bc - status: 200 OK - code: 200 - duration: 140.733375ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/9f3d719b-18de-4bd9-b8bd-72fbf998b815 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:44:14.131890Z","retention":7},"created_at":"2025-02-06T13:44:14.131890Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"9f3d719b-18de-4bd9-b8bd-72fbf998b815","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:45:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 39952dd8-3a67-4d7c-868a-4bceca77b909 - status: 200 OK - code: 200 - duration: 139.744916ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/9f3d719b-18de-4bd9-b8bd-72fbf998b815 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:44:14.131890Z","retention":7},"created_at":"2025-02-06T13:44:14.131890Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"9f3d719b-18de-4bd9-b8bd-72fbf998b815","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:45:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 97879a15-2551-408d-961d-1d255e518385 - status: 200 OK - code: 200 - duration: 157.09225ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/9f3d719b-18de-4bd9-b8bd-72fbf998b815 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 789 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:44:14.131890Z","retention":7},"created_at":"2025-02-06T13:44:14.131890Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"9f3d719b-18de-4bd9-b8bd-72fbf998b815","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "789" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:46:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 969cbbeb-d966-47c4-8b42-ec15e49e2868 - status: 200 OK - code: 200 - duration: 153.546042ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/9f3d719b-18de-4bd9-b8bd-72fbf998b815 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1064 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:44:14.131890Z","retention":7},"created_at":"2025-02-06T13:44:14.131890Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"9f3d719b-18de-4bd9-b8bd-72fbf998b815","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1064" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:46:45 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b9528700-7d5e-4b28-a5d0-a0c060dd99d4 - status: 200 OK - code: 200 - duration: 212.569916ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 141.667ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 284.878042ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 178.2675ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 161.340166ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 118.463791ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 147.915375ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -742,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 281.606042ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 147.811959ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 188.178167ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 147.636458ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 155.522958ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 113.913958ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 125.025ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 167.582041ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 165.865542ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 113.307333ms - - id: 24 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 156.501292ms - - id: 25 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 149.850917ms - - id: 26 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 167.5795ms - - id: 27 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 166.409291ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 148.195542ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 161.988625ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 134.934625ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 119.834084ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1379,7 @@ interactions: status: 200 OK code: 200 duration: 142.313208ms - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1428,7 @@ interactions: status: 200 OK code: 200 duration: 167.717333ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1722,7 +1477,7 @@ interactions: status: 200 OK code: 200 duration: 163.348959ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +1526,7 @@ interactions: status: 200 OK code: 200 duration: 142.944208ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1818,7 +1573,7 @@ interactions: status: 204 No Content code: 204 duration: 389.617458ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1867,7 +1622,7 @@ interactions: status: 200 OK code: 200 duration: 131.834541ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1916,7 +1671,7 @@ interactions: status: 200 OK code: 200 duration: 133.194542ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1965,7 +1720,7 @@ interactions: status: 200 OK code: 200 duration: 274.3255ms - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2014,7 +1769,7 @@ interactions: status: 200 OK code: 200 duration: 145.64ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2063,7 +1818,7 @@ interactions: status: 404 Not Found code: 404 duration: 104.106375ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/data-source-instance-basic.cassette.yaml b/internal/services/rdb/testdata/data-source-instance-basic.cassette.yaml index a443810b58..c2cc23abde 100644 --- a/internal/services/rdb/testdata/data-source-instance-basic.cassette.yaml +++ b/internal/services/rdb/testdata/data-source-instance-basic.cassette.yaml @@ -151,398 +151,6 @@ interactions: code: 200 duration: 153.969125ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:13 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e41db0a1-8fd8-4fe2-87dc-778e6f410137 - status: 200 OK - code: 200 - duration: 166.391958ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3e0161ea-1bc4-435f-9e03-2a6a2e0b93c9 - status: 200 OK - code: 200 - duration: 170.903041ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f400a848-917c-4c8c-a2d8-1f32e3aaf7e5 - status: 200 OK - code: 200 - duration: 154.724791ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4b208918-3cf3-4549-aeb0-7098089e1ad8 - status: 200 OK - code: 200 - duration: 140.450583ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 40135aae-dd04-4eaa-9df8-ae4746d95dec - status: 200 OK - code: 200 - duration: 164.984375ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d42d3cdb-c149-4f7f-9c46-0b9ab2fd979a - status: 200 OK - code: 200 - duration: 191.728041ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 798 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "798" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:51:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 05903866-046f-4b8b-a31d-18ca3a1b416c - status: 200 OK - code: 200 - duration: 150.987417ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1073 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1073" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:51:45 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c3ed6c49-cb14-44cc-b41e-fb9ca043bb74 - status: 200 OK - code: 200 - duration: 146.060708ms - - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 175.571834ms - - id: 12 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 195.031208ms - - id: 13 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 127.081792ms - - id: 14 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 253.137792ms - - id: 15 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 108.224833ms - - id: 16 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 131.250416ms - - id: 17 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 166.744041ms - - id: 18 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 109.932625ms - - id: 19 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 162.987125ms - - id: 20 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 116.244333ms - - id: 21 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 141.492541ms - - id: 22 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 107.332667ms - - id: 23 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1181,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 140.939375ms - - id: 24 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1230,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 125.226334ms - - id: 25 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1279,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 207.461583ms - - id: 26 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1328,7 +936,7 @@ interactions: status: 200 OK code: 200 duration: 160.550417ms - - id: 27 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1377,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 146.9755ms - - id: 28 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1426,7 +1034,7 @@ interactions: status: 200 OK code: 200 duration: 118.548792ms - - id: 29 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1475,7 +1083,7 @@ interactions: status: 200 OK code: 200 duration: 168.009666ms - - id: 30 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1524,7 +1132,7 @@ interactions: status: 200 OK code: 200 duration: 114.530542ms - - id: 31 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +1181,7 @@ interactions: status: 200 OK code: 200 duration: 126.332541ms - - id: 32 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1622,7 +1230,7 @@ interactions: status: 200 OK code: 200 duration: 142.43275ms - - id: 33 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1671,7 +1279,7 @@ interactions: status: 200 OK code: 200 duration: 106.284542ms - - id: 34 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1720,7 +1328,7 @@ interactions: status: 200 OK code: 200 duration: 100.704042ms - - id: 35 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1769,7 +1377,7 @@ interactions: status: 200 OK code: 200 duration: 155.242458ms - - id: 36 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1818,7 +1426,7 @@ interactions: status: 200 OK code: 200 duration: 153.641042ms - - id: 37 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1867,7 +1475,7 @@ interactions: status: 200 OK code: 200 duration: 160.712458ms - - id: 38 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1916,7 +1524,7 @@ interactions: status: 200 OK code: 200 duration: 115.578375ms - - id: 39 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1965,7 +1573,7 @@ interactions: status: 200 OK code: 200 duration: 764.711166ms - - id: 40 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2014,7 +1622,7 @@ interactions: status: 200 OK code: 200 duration: 551.414375ms - - id: 41 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2063,7 +1671,7 @@ interactions: status: 200 OK code: 200 duration: 156.38975ms - - id: 42 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2112,7 +1720,7 @@ interactions: status: 200 OK code: 200 duration: 166.84075ms - - id: 43 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2161,7 +1769,7 @@ interactions: status: 200 OK code: 200 duration: 162.365542ms - - id: 44 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2210,7 +1818,7 @@ interactions: status: 200 OK code: 200 duration: 159.227333ms - - id: 45 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2259,7 +1867,7 @@ interactions: status: 200 OK code: 200 duration: 111.43675ms - - id: 46 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2308,7 +1916,7 @@ interactions: status: 200 OK code: 200 duration: 140.940541ms - - id: 47 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2357,7 +1965,7 @@ interactions: status: 200 OK code: 200 duration: 119.136333ms - - id: 48 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2406,7 +2014,7 @@ interactions: status: 200 OK code: 200 duration: 158.1795ms - - id: 49 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2455,7 +2063,7 @@ interactions: status: 200 OK code: 200 duration: 260.365916ms - - id: 50 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2504,56 +2112,7 @@ interactions: status: 200 OK code: 200 duration: 133.32625ms - - id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d60dea14-366b-4e74-bfcf-412b259d6073 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1295 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:43.429201Z","retention":7},"created_at":"2025-02-06T13:47:43.429201Z","encryption":{"enabled":false},"endpoint":{"id":"f0fd0ef2-38e4-464e-8f3d-3c911b55bd3e","ip":"51.159.114.140","load_balancer":{},"name":null,"port":22898},"endpoints":[{"id":"f0fd0ef2-38e4-464e-8f3d-3c911b55bd3e","ip":"51.159.114.140","load_balancer":{},"name":null,"port":22898}],"engine":"PostgreSQL-15","id":"d60dea14-366b-4e74-bfcf-412b259d6073","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"data-rdb-test-terraform","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1295" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:52 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9909795f-388c-4a94-a5fe-0846496672c4 - status: 200 OK - code: 200 - duration: 125.044708ms - - id: 52 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2602,7 +2161,7 @@ interactions: status: 404 Not Found code: 404 duration: 97.899125ms - - id: 53 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2651,7 +2210,7 @@ interactions: status: 404 Not Found code: 404 duration: 94.984375ms - - id: 54 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2700,7 +2259,7 @@ interactions: status: 404 Not Found code: 404 duration: 208.944167ms - - id: 55 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/data-source-privilege-basic.cassette.yaml b/internal/services/rdb/testdata/data-source-privilege-basic.cassette.yaml index 7be363bd40..980066fbb9 100644 --- a/internal/services/rdb/testdata/data-source-privilege-basic.cassette.yaml +++ b/internal/services/rdb/testdata/data-source-privilege-basic.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 157.787167ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 837 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "837" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:48 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0ee76208-b440-4dce-8175-bd7ce666346c - status: 200 OK - code: 200 - duration: 262.452875ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 837 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "837" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a8e4621f-088c-4452-9322-03ec3a235f6f - status: 200 OK - code: 200 - duration: 199.367542ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 837 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "837" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:48 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b82a355c-a919-4506-a731-b90a4f636049 - status: 200 OK - code: 200 - duration: 153.149041ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 837 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "837" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 01e26cec-e543-4b43-95dd-76bab21fbafc - status: 200 OK - code: 200 - duration: 147.669167ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 837 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "837" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:48 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b9f1687d-bd34-413c-994b-ee9dc4c0a10b - status: 200 OK - code: 200 - duration: 160.666875ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/80e7bab8-1c27-4856-9e49-eda832ef1749 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1112 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:17.518838Z","retention":7},"created_at":"2025-02-06T13:39:17.518838Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"80e7bab8-1c27-4856-9e49-eda832ef1749","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-privilege","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1112" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a2ccd777-11fb-4fd6-8b8f-4d815395a460 - status: 200 OK - code: 200 - duration: 133.512958ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 135.327625ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 178.215958ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 155.743291ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 167.759542ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 105.791584ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 158.978083ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 183.030333ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 132.030875ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 145.206125ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 146.313292ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 98.301709ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 169.733958ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 316.554334ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 135.775583ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 197.234125ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 135.686958ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 156.695208ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 106.979041ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 159.573417ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 156.559625ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 145.5325ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 121.484584ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 141.887834ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 165.069084ms - - id: 33 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 168.40825ms - - id: 34 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 137.6975ms - - id: 35 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 173.848125ms - - id: 36 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 153.916875ms - - id: 37 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1871,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 117.336458ms - - id: 38 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1920,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 98.844083ms - - id: 39 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1675,7 @@ interactions: status: 200 OK code: 200 duration: 151.049667ms - - id: 40 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2018,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 151.195834ms - - id: 41 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1773,7 @@ interactions: status: 200 OK code: 200 duration: 148.405667ms - - id: 42 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2116,7 +1822,7 @@ interactions: status: 200 OK code: 200 duration: 770.032834ms - - id: 43 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2165,7 +1871,7 @@ interactions: status: 200 OK code: 200 duration: 139.784084ms - - id: 44 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2214,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 133.903583ms - - id: 45 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2263,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 154.233917ms - - id: 46 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2312,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 162.315208ms - - id: 47 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2361,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 133.376417ms - - id: 48 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 230.092791ms - - id: 49 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2461,7 +2167,7 @@ interactions: status: 200 OK code: 200 duration: 244.39325ms - - id: 50 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2510,7 +2216,7 @@ interactions: status: 200 OK code: 200 duration: 141.516792ms - - id: 51 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2559,7 +2265,7 @@ interactions: status: 200 OK code: 200 duration: 226.347083ms - - id: 52 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2608,7 +2314,7 @@ interactions: status: 200 OK code: 200 duration: 151.856292ms - - id: 53 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2657,7 +2363,7 @@ interactions: status: 200 OK code: 200 duration: 340.604667ms - - id: 54 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2706,7 +2412,7 @@ interactions: status: 200 OK code: 200 duration: 255.273958ms - - id: 55 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2755,7 +2461,7 @@ interactions: status: 200 OK code: 200 duration: 195.563208ms - - id: 56 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2804,7 +2510,7 @@ interactions: status: 200 OK code: 200 duration: 116.263625ms - - id: 57 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2853,7 +2559,7 @@ interactions: status: 200 OK code: 200 duration: 140.291917ms - - id: 58 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2902,7 +2608,7 @@ interactions: status: 200 OK code: 200 duration: 161.110834ms - - id: 59 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2951,7 +2657,7 @@ interactions: status: 200 OK code: 200 duration: 146.426417ms - - id: 60 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -3000,7 +2706,7 @@ interactions: status: 200 OK code: 200 duration: 160.170583ms - - id: 61 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3049,7 +2755,7 @@ interactions: status: 200 OK code: 200 duration: 165.5055ms - - id: 62 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3098,7 +2804,7 @@ interactions: status: 200 OK code: 200 duration: 257.384ms - - id: 63 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3147,7 +2853,7 @@ interactions: status: 200 OK code: 200 duration: 149.115ms - - id: 64 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3196,7 +2902,7 @@ interactions: status: 200 OK code: 200 duration: 181.90275ms - - id: 65 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3245,7 +2951,7 @@ interactions: status: 200 OK code: 200 duration: 108.798542ms - - id: 66 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3294,7 +3000,7 @@ interactions: status: 200 OK code: 200 duration: 161.696125ms - - id: 67 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3343,7 +3049,7 @@ interactions: status: 200 OK code: 200 duration: 167.037834ms - - id: 68 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3392,7 +3098,7 @@ interactions: status: 200 OK code: 200 duration: 146.017458ms - - id: 69 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3441,7 +3147,7 @@ interactions: status: 200 OK code: 200 duration: 123.981459ms - - id: 70 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3490,7 +3196,7 @@ interactions: status: 200 OK code: 200 duration: 161.710208ms - - id: 71 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3539,7 +3245,7 @@ interactions: status: 200 OK code: 200 duration: 144.35575ms - - id: 72 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3588,7 +3294,7 @@ interactions: status: 200 OK code: 200 duration: 164.893625ms - - id: 73 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3637,7 +3343,7 @@ interactions: status: 200 OK code: 200 duration: 235.650583ms - - id: 74 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3686,7 +3392,7 @@ interactions: status: 200 OK code: 200 duration: 235.839167ms - - id: 75 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3735,7 +3441,7 @@ interactions: status: 200 OK code: 200 duration: 162.079458ms - - id: 76 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -3784,7 +3490,7 @@ interactions: status: 200 OK code: 200 duration: 156.297542ms - - id: 77 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -3833,7 +3539,7 @@ interactions: status: 200 OK code: 200 duration: 345.282125ms - - id: 78 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -3882,7 +3588,7 @@ interactions: status: 200 OK code: 200 duration: 152.170542ms - - id: 79 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -3931,7 +3637,7 @@ interactions: status: 200 OK code: 200 duration: 143.768708ms - - id: 80 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -3980,7 +3686,7 @@ interactions: status: 200 OK code: 200 duration: 139.980042ms - - id: 81 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 @@ -4029,7 +3735,7 @@ interactions: status: 200 OK code: 200 duration: 243.498875ms - - id: 82 + - id: 76 request: proto: HTTP/1.1 proto_major: 1 @@ -4078,7 +3784,7 @@ interactions: status: 200 OK code: 200 duration: 144.343958ms - - id: 83 + - id: 77 request: proto: HTTP/1.1 proto_major: 1 @@ -4127,7 +3833,7 @@ interactions: status: 200 OK code: 200 duration: 167.025666ms - - id: 84 + - id: 78 request: proto: HTTP/1.1 proto_major: 1 @@ -4176,7 +3882,7 @@ interactions: status: 200 OK code: 200 duration: 101.622584ms - - id: 85 + - id: 79 request: proto: HTTP/1.1 proto_major: 1 @@ -4225,7 +3931,7 @@ interactions: status: 200 OK code: 200 duration: 136.567375ms - - id: 86 + - id: 80 request: proto: HTTP/1.1 proto_major: 1 @@ -4274,7 +3980,7 @@ interactions: status: 200 OK code: 200 duration: 146.414042ms - - id: 87 + - id: 81 request: proto: HTTP/1.1 proto_major: 1 @@ -4323,7 +4029,7 @@ interactions: status: 200 OK code: 200 duration: 127.280667ms - - id: 88 + - id: 82 request: proto: HTTP/1.1 proto_major: 1 @@ -4372,7 +4078,7 @@ interactions: status: 200 OK code: 200 duration: 118.816958ms - - id: 89 + - id: 83 request: proto: HTTP/1.1 proto_major: 1 @@ -4421,7 +4127,7 @@ interactions: status: 200 OK code: 200 duration: 145.496959ms - - id: 90 + - id: 84 request: proto: HTTP/1.1 proto_major: 1 @@ -4470,7 +4176,7 @@ interactions: status: 200 OK code: 200 duration: 143.390917ms - - id: 91 + - id: 85 request: proto: HTTP/1.1 proto_major: 1 @@ -4519,7 +4225,7 @@ interactions: status: 200 OK code: 200 duration: 147.206417ms - - id: 92 + - id: 86 request: proto: HTTP/1.1 proto_major: 1 @@ -4568,7 +4274,7 @@ interactions: status: 200 OK code: 200 duration: 249.24025ms - - id: 93 + - id: 87 request: proto: HTTP/1.1 proto_major: 1 @@ -4617,7 +4323,7 @@ interactions: status: 200 OK code: 200 duration: 288.397625ms - - id: 94 + - id: 88 request: proto: HTTP/1.1 proto_major: 1 @@ -4666,7 +4372,7 @@ interactions: status: 200 OK code: 200 duration: 151.721875ms - - id: 95 + - id: 89 request: proto: HTTP/1.1 proto_major: 1 @@ -4715,7 +4421,7 @@ interactions: status: 200 OK code: 200 duration: 160.873958ms - - id: 96 + - id: 90 request: proto: HTTP/1.1 proto_major: 1 @@ -4764,7 +4470,7 @@ interactions: status: 200 OK code: 200 duration: 333.81675ms - - id: 97 + - id: 91 request: proto: HTTP/1.1 proto_major: 1 @@ -4813,7 +4519,7 @@ interactions: status: 200 OK code: 200 duration: 118.04575ms - - id: 98 + - id: 92 request: proto: HTTP/1.1 proto_major: 1 @@ -4862,7 +4568,7 @@ interactions: status: 200 OK code: 200 duration: 135.257583ms - - id: 99 + - id: 93 request: proto: HTTP/1.1 proto_major: 1 @@ -4911,7 +4617,7 @@ interactions: status: 200 OK code: 200 duration: 163.073042ms - - id: 100 + - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -4960,7 +4666,7 @@ interactions: status: 200 OK code: 200 duration: 175.227083ms - - id: 101 + - id: 95 request: proto: HTTP/1.1 proto_major: 1 @@ -5009,7 +4715,7 @@ interactions: status: 200 OK code: 200 duration: 160.249458ms - - id: 102 + - id: 96 request: proto: HTTP/1.1 proto_major: 1 @@ -5058,7 +4764,7 @@ interactions: status: 200 OK code: 200 duration: 165.117917ms - - id: 103 + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5107,7 +4813,7 @@ interactions: status: 200 OK code: 200 duration: 167.816ms - - id: 104 + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5156,7 +4862,7 @@ interactions: status: 200 OK code: 200 duration: 124.047709ms - - id: 105 + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5205,7 +4911,7 @@ interactions: status: 200 OK code: 200 duration: 256.765375ms - - id: 106 + - id: 100 request: proto: HTTP/1.1 proto_major: 1 @@ -5254,7 +4960,7 @@ interactions: status: 200 OK code: 200 duration: 122.909292ms - - id: 107 + - id: 101 request: proto: HTTP/1.1 proto_major: 1 @@ -5303,7 +5009,7 @@ interactions: status: 200 OK code: 200 duration: 142.532292ms - - id: 108 + - id: 102 request: proto: HTTP/1.1 proto_major: 1 @@ -5352,7 +5058,7 @@ interactions: status: 200 OK code: 200 duration: 160.76325ms - - id: 109 + - id: 103 request: proto: HTTP/1.1 proto_major: 1 @@ -5403,7 +5109,7 @@ interactions: status: 200 OK code: 200 duration: 355.309916ms - - id: 110 + - id: 104 request: proto: HTTP/1.1 proto_major: 1 @@ -5452,7 +5158,7 @@ interactions: status: 200 OK code: 200 duration: 166.095542ms - - id: 111 + - id: 105 request: proto: HTTP/1.1 proto_major: 1 @@ -5501,7 +5207,7 @@ interactions: status: 200 OK code: 200 duration: 116.776666ms - - id: 112 + - id: 106 request: proto: HTTP/1.1 proto_major: 1 @@ -5550,7 +5256,7 @@ interactions: status: 200 OK code: 200 duration: 156.910041ms - - id: 113 + - id: 107 request: proto: HTTP/1.1 proto_major: 1 @@ -5597,7 +5303,7 @@ interactions: status: 204 No Content code: 204 duration: 309.006916ms - - id: 114 + - id: 108 request: proto: HTTP/1.1 proto_major: 1 @@ -5644,7 +5350,7 @@ interactions: status: 204 No Content code: 204 duration: 762.6765ms - - id: 115 + - id: 109 request: proto: HTTP/1.1 proto_major: 1 @@ -5693,7 +5399,7 @@ interactions: status: 200 OK code: 200 duration: 110.23575ms - - id: 116 + - id: 110 request: proto: HTTP/1.1 proto_major: 1 @@ -5742,7 +5448,7 @@ interactions: status: 200 OK code: 200 duration: 155.385875ms - - id: 117 + - id: 111 request: proto: HTTP/1.1 proto_major: 1 @@ -5791,7 +5497,7 @@ interactions: status: 200 OK code: 200 duration: 249.719416ms - - id: 118 + - id: 112 request: proto: HTTP/1.1 proto_major: 1 @@ -5840,7 +5546,7 @@ interactions: status: 200 OK code: 200 duration: 116.682167ms - - id: 119 + - id: 113 request: proto: HTTP/1.1 proto_major: 1 @@ -5889,7 +5595,7 @@ interactions: status: 200 OK code: 200 duration: 147.78275ms - - id: 120 + - id: 114 request: proto: HTTP/1.1 proto_major: 1 @@ -5938,7 +5644,7 @@ interactions: status: 200 OK code: 200 duration: 288.805625ms - - id: 121 + - id: 115 request: proto: HTTP/1.1 proto_major: 1 @@ -5987,7 +5693,7 @@ interactions: status: 200 OK code: 200 duration: 169.61775ms - - id: 122 + - id: 116 request: proto: HTTP/1.1 proto_major: 1 @@ -6036,7 +5742,7 @@ interactions: status: 404 Not Found code: 404 duration: 111.7375ms - - id: 123 + - id: 117 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/database-backup-basic.cassette.yaml b/internal/services/rdb/testdata/database-backup-basic.cassette.yaml index 1c65cf3006..fa5f021b5a 100644 --- a/internal/services/rdb/testdata/database-backup-basic.cassette.yaml +++ b/internal/services/rdb/testdata/database-backup-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 107.60425ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16aaa4ba-98bd-4007-ac66-d36760d96926 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 813 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:49.197395Z","retention":7},"created_at":"2025-02-06T13:47:49.197395Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"16aaa4ba-98bd-4007-ac66-d36760d96926","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabaseBackup_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "813" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:19 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4b1e7eac-d8db-45e3-aa49-7dad0f803a26 - status: 200 OK - code: 200 - duration: 144.347875ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16aaa4ba-98bd-4007-ac66-d36760d96926 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 813 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:49.197395Z","retention":7},"created_at":"2025-02-06T13:47:49.197395Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"16aaa4ba-98bd-4007-ac66-d36760d96926","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabaseBackup_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "813" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:49 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e243a53b-6154-4142-9a0e-6943f5cacf56 - status: 200 OK - code: 200 - duration: 199.62475ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16aaa4ba-98bd-4007-ac66-d36760d96926 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 813 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:49.197395Z","retention":7},"created_at":"2025-02-06T13:47:49.197395Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"16aaa4ba-98bd-4007-ac66-d36760d96926","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabaseBackup_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "813" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:20 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 82600742-ff4e-4cdc-9a3f-8a318a59f5f3 - status: 200 OK - code: 200 - duration: 225.78275ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16aaa4ba-98bd-4007-ac66-d36760d96926 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 813 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:49.197395Z","retention":7},"created_at":"2025-02-06T13:47:49.197395Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"16aaa4ba-98bd-4007-ac66-d36760d96926","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabaseBackup_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "813" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:50 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2a45f600-66bf-4366-a039-1278f5e4b359 - status: 200 OK - code: 200 - duration: 227.802417ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16aaa4ba-98bd-4007-ac66-d36760d96926 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1088 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:49.197395Z","retention":7},"created_at":"2025-02-06T13:47:49.197395Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"16aaa4ba-98bd-4007-ac66-d36760d96926","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabaseBackup_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1088" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:20 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c6d2aba3-f3fc-4f4b-8650-f579ace3f4bf - status: 200 OK - code: 200 - duration: 152.532583ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 131.808459ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 155.09425ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 128.382375ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 145.438167ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 119.134708ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 154.00225ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -742,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 233.251791ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 121.876166ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 142.357291ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 132.183584ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 167.908209ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 165.950083ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 116.111625ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 137.800166ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 174.742583ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 156.273458ms - - id: 24 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 113.835417ms - - id: 25 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 129.502208ms - - id: 26 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1332,7 +1087,7 @@ interactions: status: 200 OK code: 200 duration: 11.806079125s - - id: 27 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +1136,7 @@ interactions: status: 200 OK code: 200 duration: 89.163542ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1430,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 368.289417ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1479,7 +1234,7 @@ interactions: status: 200 OK code: 200 duration: 95.444458ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1528,7 +1283,7 @@ interactions: status: 200 OK code: 200 duration: 109.403667ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1332,7 @@ interactions: status: 200 OK code: 200 duration: 144.708416ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 146.514833ms - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 119.705917ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 155.051625ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 106.023ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 121.959916ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1871,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 215.032584ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1920,7 +1675,7 @@ interactions: status: 404 Not Found code: 404 duration: 47.906417ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 157.564ms - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2016,7 +1771,7 @@ interactions: status: 204 No Content code: 204 duration: 230.647166ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2065,7 +1820,7 @@ interactions: status: 200 OK code: 200 duration: 160.349791ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1869,7 @@ interactions: status: 200 OK code: 200 duration: 128.138959ms - - id: 43 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2163,7 +1918,7 @@ interactions: status: 200 OK code: 200 duration: 224.245833ms - - id: 44 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2212,7 +1967,7 @@ interactions: status: 200 OK code: 200 duration: 139.008375ms - - id: 45 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2261,7 +2016,7 @@ interactions: status: 404 Not Found code: 404 duration: 101.37125ms - - id: 46 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2310,7 +2065,7 @@ interactions: status: 404 Not Found code: 404 duration: 89.859042ms - - id: 47 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/database-basic.cassette.yaml b/internal/services/rdb/testdata/database-basic.cassette.yaml index 398174247e..cd588c7026 100644 --- a/internal/services/rdb/testdata/database-basic.cassette.yaml +++ b/internal/services/rdb/testdata/database-basic.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 189.915708ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 855 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "855" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ad00e7c8-c11b-4e06-808d-59924629c5bb - status: 200 OK - code: 200 - duration: 157.925416ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 855 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "855" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2f6eb4d1-78a7-4a0b-b09f-ec761f202a29 - status: 200 OK - code: 200 - duration: 350.041709ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 855 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "855" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:04 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 21dfac3a-284d-4a65-baf0-2ab5ff7f1fc0 - status: 200 OK - code: 200 - duration: 141.327209ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 855 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "855" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 596fc79f-8a14-4f60-bc9a-3480ff426e05 - status: 200 OK - code: 200 - duration: 254.3165ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 855 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "855" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:04 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e787a28b-72f4-4b52-8612-64064cbb94d3 - status: 200 OK - code: 200 - duration: 165.596666ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a6a8ccaf-2e8c-4646-8744-560e9801fe00 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1130 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:47:33.123161Z","retention":7},"created_at":"2025-02-06T13:47:33.123161Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a6a8ccaf-2e8c-4646-8744-560e9801fe00","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbDatabase_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1130" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:35 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 389c8d17-82e2-4da7-8dd9-d5b687dc6451 - status: 200 OK - code: 200 - duration: 224.895417ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 147.35975ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 171.814166ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 151.430541ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 147.278875ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 112.016667ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 123.15925ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 453.424042ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 151.47175ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 165.495667ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 147.507208ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 124.570583ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 155.505125ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 122.956417ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 215.624708ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 359.085791ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1230,7 +936,7 @@ interactions: status: 204 No Content code: 204 duration: 719.055ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1279,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 170.261875ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1328,7 +1034,7 @@ interactions: status: 200 OK code: 200 duration: 270.217583ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1377,7 +1083,7 @@ interactions: status: 200 OK code: 200 duration: 276.870875ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1426,7 +1132,7 @@ interactions: status: 200 OK code: 200 duration: 131.54475ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1475,7 +1181,7 @@ interactions: status: 404 Not Found code: 404 duration: 90.102125ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/database-manual-delete.cassette.yaml b/internal/services/rdb/testdata/database-manual-delete.cassette.yaml index cdd7d148ac..27ccb5f786 100644 --- a/internal/services/rdb/testdata/database-manual-delete.cassette.yaml +++ b/internal/services/rdb/testdata/database-manual-delete.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 137.120959ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 758 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "758" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:47:46 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ba86d64d-566e-40fe-9180-e0331754663c - status: 200 OK - code: 200 - duration: 117.310917ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 758 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "758" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e41e27e8-636c-43b7-b34a-12d6fff06bf3 - status: 200 OK - code: 200 - duration: 120.900042ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 758 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "758" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:46 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 57c466db-9441-436d-a9a4-3bf1d0b3aeac - status: 200 OK - code: 200 - duration: 164.935916ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 758 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "758" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bbdd1e25-6c7b-48fd-8c48-14deca060cdd - status: 200 OK - code: 200 - duration: 144.338667ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 758 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "758" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:46 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f4fcb12c-237e-426a-9f86-07c2d69f70cb - status: 200 OK - code: 200 - duration: 154.71825ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/40ad6018-c758-4459-bc87-102f6044de5e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1033 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:47:15.852723Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"40ad6018-c758-4459-bc87-102f6044de5e","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"bug","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"2700"},{"name":"maintenance_work_mem","value":"300"},{"name":"max_connections","value":"150"},{"name":"max_parallel_workers","value":"1"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"8"}],"status":"initializing","tags":["bug"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1033" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:17 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a29e3c3c-c391-4f92-a6dc-9ac4545d163a - status: 200 OK - code: 200 - duration: 147.883417ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 225.073583ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 126.553958ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 131.746166ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 147.914375ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 289.077125ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 157.057375ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 555.906625ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 147.762667ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 133.251417ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 149.824459ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 139.333125ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1038,7 +744,7 @@ interactions: status: 200 OK code: 200 duration: 216.086125ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1087,7 +793,7 @@ interactions: status: 200 OK code: 200 duration: 147.878792ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1136,7 +842,7 @@ interactions: status: 200 OK code: 200 duration: 151.983625ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1185,7 +891,7 @@ interactions: status: 200 OK code: 200 duration: 158.561125ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1234,7 +940,7 @@ interactions: status: 200 OK code: 200 duration: 214.234458ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1283,7 +989,7 @@ interactions: status: 200 OK code: 200 duration: 149.211833ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1332,7 +1038,7 @@ interactions: status: 200 OK code: 200 duration: 158.176042ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +1087,7 @@ interactions: status: 200 OK code: 200 duration: 101.224083ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1430,7 +1136,7 @@ interactions: status: 200 OK code: 200 duration: 151.244875ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1479,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 152.464875ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1528,7 +1234,7 @@ interactions: status: 200 OK code: 200 duration: 164.267125ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1283,7 @@ interactions: status: 200 OK code: 200 duration: 121.916917ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1332,7 @@ interactions: status: 200 OK code: 200 duration: 225.728792ms - - id: 33 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 240.106291ms - - id: 34 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 137.591083ms - - id: 35 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 178.345166ms - - id: 36 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 152.118541ms - - id: 37 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1873,7 +1579,7 @@ interactions: status: 200 OK code: 200 duration: 231.749041ms - - id: 38 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1922,7 +1628,7 @@ interactions: status: 200 OK code: 200 duration: 152.3335ms - - id: 39 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1971,7 +1677,7 @@ interactions: status: 200 OK code: 200 duration: 143.474666ms - - id: 40 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2020,7 +1726,7 @@ interactions: status: 200 OK code: 200 duration: 178.395167ms - - id: 41 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1773,7 @@ interactions: status: 204 No Content code: 204 duration: 169.870333ms - - id: 42 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1820,7 @@ interactions: status: 204 No Content code: 204 duration: 882.16725ms - - id: 43 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2163,7 +1869,7 @@ interactions: status: 200 OK code: 200 duration: 168.893834ms - - id: 44 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2212,7 +1918,7 @@ interactions: status: 200 OK code: 200 duration: 172.229833ms - - id: 45 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2261,7 +1967,7 @@ interactions: status: 200 OK code: 200 duration: 258.117167ms - - id: 46 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2310,7 +2016,7 @@ interactions: status: 200 OK code: 200 duration: 124.523667ms - - id: 47 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2359,7 +2065,7 @@ interactions: status: 404 Not Found code: 404 duration: 140.288417ms - - id: 48 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-backup-schedule.cassette.yaml b/internal/services/rdb/testdata/instance-backup-schedule.cassette.yaml index 3b4c5d0d03..8b0a0be9e1 100644 --- a/internal/services/rdb/testdata/instance-backup-schedule.cassette.yaml +++ b/internal/services/rdb/testdata/instance-backup-schedule.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 174.8905ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 859 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "859" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:43:38 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 17a19070-c75a-4bcd-883c-041440536b8f - status: 200 OK - code: 200 - duration: 966.781125ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 859 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "859" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:08 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d4ca0125-abd9-4f95-a17a-a4ec67e602f6 - status: 200 OK - code: 200 - duration: 172.729ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 859 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "859" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 17b1feea-1cf5-4927-b53d-7f3570a1562a - status: 200 OK - code: 200 - duration: 168.786334ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 859 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "859" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:45:09 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0a5c8965-7784-45b6-b7fe-fea33521db38 - status: 200 OK - code: 200 - duration: 169.697041ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 859 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "859" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:45:39 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0b73029a-8dfd-4bb5-addc-0be2d4a828cb - status: 200 OK - code: 200 - duration: 188.386084ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/cae17103-575e-4d36-9305-50be3b5c4824 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1134 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:43:07.324688Z","retention":7},"created_at":"2025-02-06T13:43:07.324688Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"cae17103-575e-4d36-9305-50be3b5c4824","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-backup-schedule","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1134" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:46:09 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 197ed024-7d0c-44f2-bcf4-6c74bab18142 - status: 200 OK - code: 200 - duration: 184.118625ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 199.689125ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 189.701333ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 154.394125ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 139.925125ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 149.361542ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 146.133458ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 162.107292ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 314.364125ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 510.152708ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 267.893834ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +691,7 @@ interactions: status: 404 Not Found code: 404 duration: 119.793042ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-basic.cassette.yaml b/internal/services/rdb/testdata/instance-basic.cassette.yaml index 91a579403b..75d6547348 100644 --- a/internal/services/rdb/testdata/instance-basic.cassette.yaml +++ b/internal/services/rdb/testdata/instance-basic.cassette.yaml @@ -151,202 +151,6 @@ interactions: code: 200 duration: 150.801625ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/3199135d-540e-46b0-875a-42c437784943 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 815 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:46:33.856892Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"3199135d-540e-46b0-875a-42c437784943","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "815" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:47:04 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 90091d25-e4be-48c0-ac9f-3b1f826b0573 - status: 200 OK - code: 200 - duration: 119.724084ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/3199135d-540e-46b0-875a-42c437784943 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 815 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:46:33.856892Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"3199135d-540e-46b0-875a-42c437784943","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "815" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:47:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 12034041-ec88-44f6-8c05-74c87f752641 - status: 200 OK - code: 200 - duration: 161.083083ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/3199135d-540e-46b0-875a-42c437784943 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 815 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:46:33.856892Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"3199135d-540e-46b0-875a-42c437784943","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "815" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:05 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 874207a6-db6a-42a7-a618-37671746e980 - status: 200 OK - code: 200 - duration: 172.473833ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/3199135d-540e-46b0-875a-42c437784943 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 815 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:46:33.856892Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"3199135d-540e-46b0-875a-42c437784943","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "815" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:35 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8bcf0f0a-c52b-4c07-b5a6-c2a1389a2197 - status: 200 OK - code: 200 - duration: 815.319917ms - - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -395,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 127.009ms - - id: 8 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 106.480292ms - - id: 9 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 176.981209ms - - id: 10 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 157.055958ms - - id: 11 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +395,7 @@ interactions: status: 200 OK code: 200 duration: 113.226125ms - - id: 12 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +444,7 @@ interactions: status: 200 OK code: 200 duration: 149.928458ms - - id: 13 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -689,7 +493,7 @@ interactions: status: 200 OK code: 200 duration: 140.559417ms - - id: 14 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -738,7 +542,7 @@ interactions: status: 200 OK code: 200 duration: 144.364791ms - - id: 15 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -787,7 +591,7 @@ interactions: status: 200 OK code: 200 duration: 152.732667ms - - id: 16 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 170.119375ms - - id: 17 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 153.533417ms - - id: 18 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 112.691709ms - - id: 19 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 127.667375ms - - id: 20 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 140.826208ms - - id: 21 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 114.307291ms - - id: 22 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +936,7 @@ interactions: status: 200 OK code: 200 duration: 168.434458ms - - id: 23 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1181,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 296.686041ms - - id: 24 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1230,7 +1034,7 @@ interactions: status: 200 OK code: 200 duration: 114.589792ms - - id: 25 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1279,7 +1083,7 @@ interactions: status: 404 Not Found code: 404 duration: 92.83875ms - - id: 26 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-capitalize.cassette.yaml b/internal/services/rdb/testdata/instance-capitalize.cassette.yaml index 40f9fea3ef..6cbbef7780 100644 --- a/internal/services/rdb/testdata/instance-capitalize.cassette.yaml +++ b/internal/services/rdb/testdata/instance-capitalize.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 142.616292ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 777 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "777" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0138e10b-4fe4-46d7-aedb-3c715fd43d23 - status: 200 OK - code: 200 - duration: 134.821458ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 777 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "777" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 77a7ef49-1ed6-4512-aa50-357323be89d1 - status: 200 OK - code: 200 - duration: 119.842125ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 777 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "777" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 61541e71-485a-4f4b-80a8-ca62e2faff80 - status: 200 OK - code: 200 - duration: 153.708041ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 777 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "777" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9de86c45-f1dc-4258-baec-ac6826c92393 - status: 200 OK - code: 200 - duration: 140.581916ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 777 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "777" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d0e57770-33b0-4e7a-89de-967b637da8b4 - status: 200 OK - code: 200 - duration: 148.250042ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/0041819f-fd00-41dc-b033-ff999f60de8d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1052 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:43.538609Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0041819f-fd00-41dc-b033-ff999f60de8d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-capitalize","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1052" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b326f6be-1cdd-4b2a-805b-f90e6cccb0de - status: 200 OK - code: 200 - duration: 275.446542ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 162.746ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 115.64525ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 140.568ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 167.409875ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -689,7 +395,7 @@ interactions: status: 200 OK code: 200 duration: 118.681292ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -738,7 +444,7 @@ interactions: status: 200 OK code: 200 duration: 147.044958ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -787,7 +493,7 @@ interactions: status: 200 OK code: 200 duration: 303.349125ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -836,7 +542,7 @@ interactions: status: 200 OK code: 200 duration: 128.439292ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -885,7 +591,7 @@ interactions: status: 404 Not Found code: 404 duration: 95.319875ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-change-node-type.cassette.yaml b/internal/services/rdb/testdata/instance-change-node-type.cassette.yaml index e9af0d4960..45d144ad20 100644 --- a/internal/services/rdb/testdata/instance-change-node-type.cassette.yaml +++ b/internal/services/rdb/testdata/instance-change-node-type.cassette.yaml @@ -174,757 +174,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 821 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "821" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:33:07 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1893d9f4-cd40-44e3-ab2b-6d116301dec9 - status: 200 OK - code: 200 - duration: 232.059875ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 821 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "821" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:33:37 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ffb83129-eb61-4fb2-ac48-ce0aa0b5c7da - status: 200 OK - code: 200 - duration: 204.526875ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 821 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "821" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:34:07 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ecd3992e-18dd-4a39-a249-3ad1612b0717 - status: 200 OK - code: 200 - duration: 174.21375ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 821 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "821" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:34:37 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ac2f4792-ff5a-4d7f-8d51-6a14a216098d - status: 200 OK - code: 200 - duration: 170.004542ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 821 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "821" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:35:08 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7d0cabc5-a645-42b6-84d8-1aa554bbcb79 - status: 200 OK - code: 200 - duration: 195.383792ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1096 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1096" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:35:38 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f685f00e-2dfe-4bc2-a939-309a4010447a - status: 200 OK - code: 200 - duration: 224.350458ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:08 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5f905772-bd38-44a0-9d79-6f654f2f189e - status: 200 OK - code: 200 - duration: 177.398666ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:09 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0b14d655-95db-4793-a8e0-6558116478ad - status: 200 OK - code: 200 - duration: 959.660125ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:09 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 63be604f-3631-4514-b79f-959d67f144a2 - status: 200 OK - code: 200 - duration: 165.90325ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:10 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4b6fc659-847b-44b2-b496-1d9871894774 - status: 200 OK - code: 200 - duration: 186.273417ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:10 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 44c31a8d-57f0-497f-a78d-a2b245d4a0c3 - status: 200 OK - code: 200 - duration: 157.55325ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 82a1f03d-08de-4cdd-86ca-efbcb71a8372 - status: 200 OK - code: 200 - duration: 194.895375ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fdd9b2ca-f294-4bc3-9a3d-9588a3d3cb19 - status: 200 OK - code: 200 - duration: 156.459333ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:12 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e267bded-ded6-4e20-95a5-00689f7d0503 - status: 200 OK - code: 200 - duration: 187.865584ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1315 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1315" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:13 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0fb11c0d-69f3-4f6b-8e9b-09893c2d12bf - status: 200 OK - code: 200 - duration: 234.602625ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 29 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"node_type":"db-play2-nano"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/upgrade - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:36:13 GMT + - Thu, 24 Apr 2025 13:36:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -932,11 +195,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8115d3ff-a6d9-4632-b6b4-6d461fa70ab3 + - 5f905772-bd38-44a0-9d79-6f654f2f189e status: 200 OK code: 200 - duration: 612.996125ms - - id: 19 + duration: 177.398666ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -952,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate method: GET response: proto: HTTP/2.0 @@ -960,18 +223,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1322" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:36:13 GMT + - Thu, 24 Apr 2025 13:36:09 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -981,60 +244,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 19d5ac59-3d28-40c6-b35e-680572f57add - status: 200 OK - code: 200 - duration: 544.285166ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1322 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1322" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:36:44 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 028553ee-8569-483d-8e89-18331c507dac + - 0b14d655-95db-4793-a8e0-6558116478ad status: 200 OK code: 200 - duration: 203.876375ms - - id: 21 + duration: 959.660125ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -1058,20 +272,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:37:14 GMT + - Thu, 24 Apr 2025 13:36:09 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1079,11 +293,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 048d27b9-9d4a-40f1-88e8-7bfef678cfd6 + - 63be604f-3631-4514-b79f-959d67f144a2 status: 200 OK code: 200 - duration: 179.637959ms - - id: 22 + duration: 165.90325ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -1107,18 +321,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:37:44 GMT + - Thu, 24 Apr 2025 13:36:10 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -1128,11 +342,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1167c653-0b11-48ac-b7c0-2f800ecb1176 + - 4b6fc659-847b-44b2-b496-1d9871894774 status: 200 OK code: 200 - duration: 197.089042ms - - id: 23 + duration: 186.273417ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -1148,7 +362,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate method: GET response: proto: HTTP/2.0 @@ -1156,18 +370,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1322" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:38:15 GMT + - Thu, 24 Apr 2025 13:36:10 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -1177,11 +391,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f391f15a-f5e5-4aac-b9d0-f455de470642 + - 44c31a8d-57f0-497f-a78d-a2b245d4a0c3 status: 200 OK code: 200 - duration: 271.168834ms - - id: 24 + duration: 157.55325ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -1205,20 +419,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:38:45 GMT + - Thu, 24 Apr 2025 13:36:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1226,11 +440,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 364f96dc-20a0-4b5e-b4ae-f077af8a60c0 + - 82a1f03d-08de-4cdd-86ca-efbcb71a8372 status: 200 OK code: 200 - duration: 217.667042ms - - id: 25 + duration: 194.895375ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -1246,7 +460,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/certificate method: GET response: proto: HTTP/2.0 @@ -1254,20 +468,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVY1BzaU5TY0ZJY0lpanMwRmdHRVNaSmsvZjdvd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFek16VXpNMW9YRFRNMU1EUXlNakV6TXpVek0xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQWxneUNZZlVMOFZEUWF6VWgvZnM3am8rRUdCL0pxSnpQemQyQm5tY1ZoajhEV0JPcDR2U1MKRUdaSWc4Rm1nb2krYXV1SXczeG56MlJQMjI2Wm0xV2VFWE5lMFE1SkJGeEJMcFg3Y1lNZ1lENmMyNmgveWxLegpRL3ltSUQrWmY2Q05PTjVxcUZtOGRTb3c4MjhKTTdqT3ptZ1QvR3hzMWU1ZnRQOFFMejJ6U0x1R1ZVeDdrZDdECm00Z2xmdk5nVFU0aFZGajNJOXdndzRpYXhrZFJTaWlmNmFPZWZlelBMVklUM1VNVjhqSGFwenBaSjlZTHZubGoKNVhZbGk4ampKS1lVMVJ6Y2NtTGtwQUtrbXBrR3VEMWhoT1o3VmhEeUtzTUQzUktGSGVhT1YzV0ZOLzNueTJsegprRVR3Lyt5OVE5cjNtd0RGdHNXeUFXY2ptakExclhWYnpRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB5TTJZelpESXpaUzA0WVRNMExUUTJOV1l0WVdNMU1TMWgKTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkweU0yWXpaREl6WlMwNFlUTTBMVFEyTldZdFlXTTFNUzFoTVRGaFl6bGpNVEV4WlRRdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUGZzV0hCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFJT0Y4M0F6NmptQmFFaXYrbCtuOE03blNxQlZmYkdZdVJwaUVqZmFzTEJrVVN0eHBqNW5sVjl5c1NsLwp3RUhaOWZoelNyUVd0V2xxdWcxeUY5ZXVwM29BNWpMY0V6Q2hheDhzTzRNWEllYjJOdWxYV25aRU5KMXRwcVVZCjhWNGtReUVyK0xCY0hDNmdJaFQ4a2srbVpZNW96RnRSNUZJR04veHM3Tno2OHNQTHlNVmI3bUpqVzlsbWI2cGgKakFmY0JCS09YZTR5b0xKaGxVVjBwYUJYNUxwSU95T0ZicjlYMnVzamNETWN6WGdWV0tKK0V4Tno5eFJYVTJndwozMVNmL2QyMzRlUGZMTHV5U0FFVHA5UHpjUUViaU1yTjMyYmZNdGsyajRKZFdBWUZRYktETU9rK3h4UWdtbkVhCmJJMmNyZ1ZhUXQxZzdPdkNtSjF5Y01EY3ExOD0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1322" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:39:15 GMT + - Thu, 24 Apr 2025 13:36:11 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1275,11 +489,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3398a3c5-4bcf-498b-b78d-e5f746e1f18b + - fdd9b2ca-f294-4bc3-9a3d-9588a3d3cb19 status: 200 OK code: 200 - duration: 174.1135ms - - id: 26 + duration: 156.459333ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1303,20 +517,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:39:45 GMT + - Thu, 24 Apr 2025 13:36:12 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1324,11 +538,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - afd6e62f-aaba-4ace-9730-3b14ca848c7e + - e267bded-ded6-4e20-95a5-00689f7d0503 status: 200 OK code: 200 - duration: 206.049ms - - id: 27 + duration: 187.865584ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1352,20 +566,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1322 + content_length: 1315 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1322" + - "1315" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:40:15 GMT + - Thu, 24 Apr 2025 13:36:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1373,77 +587,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2850c5f8-b076-40d1-9bfc-b557fafb1143 + - 0fb11c0d-69f3-4f6b-8e9b-09893c2d12bf status: 200 OK code: 200 - duration: 169.614333ms - - id: 28 + duration: 234.602625ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 29 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"node_type":"db-play2-nano"}' form: {} headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1322 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:32:36.612751Z","encryption":{"enabled":false},"endpoint":{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310},"endpoints":[{"id":"07ce44eb-f502-4e93-ba8c-a28d5d781503","ip":"51.158.130.103","load_balancer":{},"name":null,"port":28310}],"engine":"PostgreSQL-16","id":"23f3d23e-8a34-465f-ac51-a11ac9c111e4","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-nano","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1322" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json - Date: - - Thu, 24 Apr 2025 13:40:46 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cbfe1307-7b7d-4853-bd0b-b05c654228ec - status: 200 OK - code: 200 - duration: 224.596417ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/23f3d23e-8a34-465f-ac51-a11ac9c111e4/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -1461,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:41:16 GMT + - Thu, 24 Apr 2025 13:36:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1471,11 +638,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 767e49ae-7932-4891-a6b9-48555862aca2 + - 8115d3ff-a6d9-4632-b6b4-6d461fa70ab3 status: 200 OK code: 200 - duration: 199.92925ms - - id: 30 + duration: 612.996125ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1510,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 13:41:46 GMT + - Thu, 24 Apr 2025 13:36:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1520,11 +687,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 87edde00-595e-4d91-af73-3bad7c3ceab8 + - 19d5ac59-3d28-40c6-b35e-680572f57add status: 200 OK code: 200 - duration: 202.256875ms - - id: 31 + duration: 544.285166ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 216.87675ms - - id: 32 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1622,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 191.972875ms - - id: 33 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 180.727958ms - - id: 34 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1722,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 197.813209ms - - id: 35 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 146.567917ms - - id: 36 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1820,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 310.773541ms - - id: 37 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1869,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 210.794708ms - - id: 38 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1918,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 146.170542ms - - id: 39 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1967,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 161.653375ms - - id: 40 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -2016,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 367.86475ms - - id: 41 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -2065,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 203.2505ms - - id: 42 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1281,7 @@ interactions: status: 404 Not Found code: 404 duration: 146.059375ms - - id: 43 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-change-volume-type.cassette.yaml b/internal/services/rdb/testdata/instance-change-volume-type.cassette.yaml index 84e204d2d3..2224561d29 100644 --- a/internal/services/rdb/testdata/instance-change-volume-type.cassette.yaml +++ b/internal/services/rdb/testdata/instance-change-volume-type.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 201.5535ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:55:48 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 91e4cfc7-08e1-4f6d-b3e2-82032d356fdf - status: 200 OK - code: 200 - duration: 187.4195ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:56:19 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ef898ee7-74e5-4092-b0c4-5a4d770f6ac3 - status: 200 OK - code: 200 - duration: 684.936917ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:56:49 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b7f6aff5-00c2-4a86-9cbe-b8f3fb131c88 - status: 200 OK - code: 200 - duration: 203.71925ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:57:19 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 047da078-7ffb-4d34-8e6e-41d689e3438a - status: 200 OK - code: 200 - duration: 245.245917ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:57:50 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 518af14a-42cb-4a32-99b4-2c28f7b71b5a - status: 200 OK - code: 200 - duration: 204.0895ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/b600cdd1-1516-4e2e-878c-810ffbbb0ff1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T13:55:18.260918Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"b600cdd1-1516-4e2e-878c-810ffbbb0ff1","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 13:58:20 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b73dddc7-9619-4a79-94d7-103d398029bc - status: 200 OK - code: 200 - duration: 186.50675ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 163.462125ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 164.92025ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 164.181292ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 224.190875ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -689,7 +395,7 @@ interactions: status: 200 OK code: 200 duration: 140.49575ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -738,7 +444,7 @@ interactions: status: 200 OK code: 200 duration: 172.908334ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -787,7 +493,7 @@ interactions: status: 200 OK code: 200 duration: 138.347916ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -836,7 +542,7 @@ interactions: status: 200 OK code: 200 duration: 234.746667ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -885,7 +591,7 @@ interactions: status: 200 OK code: 200 duration: 159.981625ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 420.946042ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 209.402166ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 189.577375ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 282.404792ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 367.415542ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 188.440166ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 181.735ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 270.154791ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 160.361375ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 220.799ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 187.945459ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 369.250667ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 161.391ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1281,7 @@ interactions: status: 404 Not Found code: 404 duration: 169.27925ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-complete-workflow.cassette.yaml b/internal/services/rdb/testdata/instance-complete-workflow.cassette.yaml index 1fde0a7c6f..a44e5f064b 100644 --- a/internal/services/rdb/testdata/instance-complete-workflow.cassette.yaml +++ b/internal/services/rdb/testdata/instance-complete-workflow.cassette.yaml @@ -174,20 +174,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 1299 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303},"endpoints":[{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303}],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "809" + - "1299" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:01:18 GMT + - Thu, 24 Apr 2025 14:04:20 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4d9a398d-5ba6-4f78-9317-0779654dfcff + - 6db01828-084c-4be0-a994-4c7e721787ac status: 200 OK code: 200 - duration: 181.88075ms + duration: 198.055584ms - id: 4 request: proto: HTTP/1.1 @@ -215,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/certificate method: GET response: proto: HTTP/2.0 @@ -223,20 +223,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVSDdtM3llSXZCNllmL0tPZ1dUNWpiU2lXQjA4d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPUzR5TlM0eE16RXdIaGNOCk1qVXdOREkwTVRRd016UTJXaGNOTXpVd05ESXlNVFF3TXpRMldqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNUxqSTFMakV6TVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQUxxTEhaRFpIdCtRYmZwV05IeXlFWnNWZEFCVmlZK1VPOWJ5UFh2TTcrdDRWUmpwUStjOFlpTkYKV2pRNDJLK2pTTTc0L3YwTzVsQkZMUTJXazJjZTNRdE1QUitXTVVJQmlOcTJmbXF5VDFoVVJjVEJ6ZWtuZGlQegpZT0xhUHlSaEJ0VVBKYW5tLzhtdFo2eWNycVcxTThRZTYyM0lhbW5wajNqRkNVNEJ2VzdBU212QjRSaDBqUGhnCmRtMFRzMVJYUjZTNU9GWWhCVHp3SFk4LzN0NXM0SS9nV2FtemFQRWsxT0trYm42V3d5dXdRZnJVbC9yWGdLdEYKVktWdFBzeDRIZE9KU0ZMNU9vNERqbm5Cek5DVDRJSTN2dGh4OEY4aFd6aTluLzBYZnc1bXNER0FvSVFvdGxsSgpJcXlvU0dBeDZNNlVDMlpwY3ljaitYa2lyLzlabjBNQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRrdU1qVXVNVE14Z2p4eWR5MWpORGhtWWpobE55MWpNalU1TFRRek9HSXRZVGMzTlMwek5UWXgKWTJFMU9HUmpaVGN1Y21SaUxtWnlMWEJoY2k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT1M0eU5TNHhNekdDUEhKMwpMV00wT0daaU9HVTNMV015TlRrdE5ETTRZaTFoTnpjMUxUTTFOakZqWVRVNFpHTmxOeTV5WkdJdVpuSXRjR0Z5CkxuTmpkeTVqYkc5MVpJY0VNNTVDTm9jRU01OFpnNGNFTTU4Wmd6QU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKYkFWTGxhRGVncHFORUVLRlpWZklCRnBmQ1NWR1RUOVVuSzdDZnllb1hDWUsvRzc5SlhWVHpSbU9obEJ3S0lUOApYc1IzMTlzbytEY205NWU2Z1l4L01FYVhNMnRDSWhBeWY3eE8vTllxWW1RZTkwVjV3YXdYdk9kSmxZNThPS3FVCldad0tEQ3MzVVlReXo5NlQwNXcyNkMxeUI1d1lNcHZsL0xZbFB1djI5R0Z1UGRZUG9CMVFBTHdIM3pJaWVvRlIKN0xXTGZLd1Y0QkZWVzFjc0lnbkd5Ymk0OXQzdk5rN3o0K3NmWkQwcWgzQ3dwZHUwVXkwaEEzZUMwRGcxbkQ1dwpDOFEzY0svNUIyOWZ4VG9nR0xhUWo1MGo0ZWtsOWUrYy9pa01RS1hEaEJnUUk4cEJEZ0VNSnRuL1NxZUgreUkvCktrUDZxVXVCRE1KN2RoV1RZbk9sY3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "809" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:01:49 GMT + - Thu, 24 Apr 2025 14:04:20 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,48 +244,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - be998054-83db-4584-adee-4e1585e12296 + - 6b6cd361-b0c4-42b1-87ac-249543a85a1f status: 200 OK code: 200 - duration: 640.271666ms + duration: 138.436833ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 24 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"name":"test-snapshot"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/snapshots + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 392 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":null,"status":"creating","updated_at":null,"volume_type":{"class":"sbs","type":"sbs_5k"}}' headers: Content-Length: - - "809" + - "392" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:02:19 GMT + - Thu, 24 Apr 2025 14:04:21 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 81d3eb54-fd8c-4c96-8281-7454c1849614 + - ec26442d-7881-45c7-b5df-cb243cd1ffdf status: 200 OK code: 200 - duration: 184.678584ms + duration: 684.6785ms - id: 6 request: proto: HTTP/1.1 @@ -313,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b method: GET response: proto: HTTP/2.0 @@ -321,18 +323,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 392 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":null,"status":"creating","updated_at":null,"volume_type":{"class":"sbs","type":"sbs_5k"}}' headers: Content-Length: - - "809" + - "392" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:02:49 GMT + - Thu, 24 Apr 2025 14:04:21 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -342,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c716b1d2-af8a-45f3-917e-5558a2134ccd + - 24ae3e1f-e981-4bbb-8bfc-2f6042864794 status: 200 OK code: 200 - duration: 186.389541ms + duration: 113.957291ms - id: 7 request: proto: HTTP/1.1 @@ -362,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b method: GET response: proto: HTTP/2.0 @@ -370,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 421 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' headers: Content-Length: - - "809" + - "421" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:03:20 GMT + - Thu, 24 Apr 2025 14:04:51 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fab24250-90ea-4140-91c4-ef5565af4631 + - 63fcb487-f8ae-4eed-943a-f4c6647a2b64 status: 200 OK code: 200 - duration: 224.638083ms + duration: 158.648541ms - id: 8 request: proto: HTTP/1.1 @@ -411,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b method: GET response: proto: HTTP/2.0 @@ -419,18 +421,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1084 + content_length: 421 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' headers: Content-Length: - - "1084" + - "421" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:03:50 GMT + - Thu, 24 Apr 2025 14:04:51 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -440,46 +442,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bcef5aa5-f8c7-4acb-99d6-497ad6d3fe3f + - b36e2881-0c3d-4628-8e04-93adb65051fd status: 200 OK code: 200 - duration: 196.001209ms + duration: 131.096375ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 92 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"instance_name":"test-instance-from-snapshot","is_ha_cluster":false,"node_type":"db-dev-s"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b/create-instance + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1299 + content_length: 1094 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303},"endpoints":[{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303}],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1299" + - "1094" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:04:20 GMT + - Thu, 24 Apr 2025 14:04:52 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -489,10 +493,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6db01828-084c-4be0-a994-4c7e721787ac + - 2e938e39-3336-4b22-834c-f886d384816c status: 200 OK code: 200 - duration: 198.055584ms + duration: 742.867542ms - id: 10 request: proto: HTTP/1.1 @@ -509,7 +513,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/certificate + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d method: GET response: proto: HTTP/2.0 @@ -517,18 +521,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2009 + content_length: 1094 uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVSDdtM3llSXZCNllmL0tPZ1dUNWpiU2lXQjA4d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPUzR5TlM0eE16RXdIaGNOCk1qVXdOREkwTVRRd016UTJXaGNOTXpVd05ESXlNVFF3TXpRMldqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNUxqSTFMakV6TVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQUxxTEhaRFpIdCtRYmZwV05IeXlFWnNWZEFCVmlZK1VPOWJ5UFh2TTcrdDRWUmpwUStjOFlpTkYKV2pRNDJLK2pTTTc0L3YwTzVsQkZMUTJXazJjZTNRdE1QUitXTVVJQmlOcTJmbXF5VDFoVVJjVEJ6ZWtuZGlQegpZT0xhUHlSaEJ0VVBKYW5tLzhtdFo2eWNycVcxTThRZTYyM0lhbW5wajNqRkNVNEJ2VzdBU212QjRSaDBqUGhnCmRtMFRzMVJYUjZTNU9GWWhCVHp3SFk4LzN0NXM0SS9nV2FtemFQRWsxT0trYm42V3d5dXdRZnJVbC9yWGdLdEYKVktWdFBzeDRIZE9KU0ZMNU9vNERqbm5Cek5DVDRJSTN2dGh4OEY4aFd6aTluLzBYZnc1bXNER0FvSVFvdGxsSgpJcXlvU0dBeDZNNlVDMlpwY3ljaitYa2lyLzlabjBNQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRrdU1qVXVNVE14Z2p4eWR5MWpORGhtWWpobE55MWpNalU1TFRRek9HSXRZVGMzTlMwek5UWXgKWTJFMU9HUmpaVGN1Y21SaUxtWnlMWEJoY2k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT1M0eU5TNHhNekdDUEhKMwpMV00wT0daaU9HVTNMV015TlRrdE5ETTRZaTFoTnpjMUxUTTFOakZqWVRVNFpHTmxOeTV5WkdJdVpuSXRjR0Z5CkxuTmpkeTVqYkc5MVpJY0VNNTVDTm9jRU01OFpnNGNFTTU4Wmd6QU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKYkFWTGxhRGVncHFORUVLRlpWZklCRnBmQ1NWR1RUOVVuSzdDZnllb1hDWUsvRzc5SlhWVHpSbU9obEJ3S0lUOApYc1IzMTlzbytEY205NWU2Z1l4L01FYVhNMnRDSWhBeWY3eE8vTllxWW1RZTkwVjV3YXdYdk9kSmxZNThPS3FVCldad0tEQ3MzVVlReXo5NlQwNXcyNkMxeUI1d1lNcHZsL0xZbFB1djI5R0Z1UGRZUG9CMVFBTHdIM3pJaWVvRlIKN0xXTGZLd1Y0QkZWVzFjc0lnbkd5Ymk0OXQzdk5rN3o0K3NmWkQwcWgzQ3dwZHUwVXkwaEEzZUMwRGcxbkQ1dwpDOFEzY0svNUIyOWZ4VG9nR0xhUWo1MGo0ZWtsOWUrYy9pa01RS1hEaEJnUUk4cEJEZ0VNSnRuL1NxZUgreUkvCktrUDZxVXVCRE1KN2RoV1RZbk9sY3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "2009" + - "1094" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:04:20 GMT + - Thu, 24 Apr 2025 14:04:52 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -538,50 +542,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6b6cd361-b0c4-42b1-87ac-249543a85a1f + - bff57e1d-bd0a-4d83-a338-e4851f578ff2 status: 200 OK code: 200 - duration: 138.436833ms + duration: 144.728875ms - id: 11 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 24 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"test-snapshot"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/snapshots - method: POST + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 1313 uncompressed: false - body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":null,"status":"creating","updated_at":null,"volume_type":{"class":"sbs","type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "392" + - "1313" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:04:21 GMT + - Thu, 24 Apr 2025 14:08:25 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,48 +591,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec26442d-7881-45c7-b5df-cb243cd1ffdf + - 4db6cb6f-15f3-4a7c-adee-d083149eb214 status: 200 OK code: 200 - duration: 684.6785ms + duration: 236.594166ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 47 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"tags":["terraform-test","restored_instance"]}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 1309 uncompressed: false - body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":null,"status":"creating","updated_at":null,"volume_type":{"class":"sbs","type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "392" + - "1309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:04:21 GMT + - Thu, 24 Apr 2025 14:08:25 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +642,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 24ae3e1f-e981-4bbb-8bfc-2f6042864794 + - 26f2f677-0b27-4e56-af10-a30a84cbc46c status: 200 OK code: 200 - duration: 113.957291ms + duration: 334.443917ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +662,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d method: GET response: proto: HTTP/2.0 @@ -666,20 +670,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 421 + content_length: 1309 uncompressed: false - body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "421" + - "1309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:04:51 GMT + - Thu, 24 Apr 2025 14:08:25 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63fcb487-f8ae-4eed-943a-f4c6647a2b64 + - f0df68a0-ca42-452b-8bd9-750fcc269644 status: 200 OK code: 200 - duration: 158.648541ms + duration: 181.543791ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +711,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d/users?order_by=name_asc&page=1 method: GET response: proto: HTTP/2.0 @@ -715,855 +719,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 421 - uncompressed: false - body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' - headers: - Content-Length: - - "421" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:04:51 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b36e2881-0c3d-4628-8e04-93adb65051fd - status: 200 OK - code: 200 - duration: 131.096375ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 92 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"instance_name":"test-instance-from-snapshot","is_ha_cluster":false,"node_type":"db-dev-s"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b/create-instance - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 + content_length: 72 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:04:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2e938e39-3336-4b22-834c-f886d384816c - status: 200 OK - code: 200 - duration: 742.867542ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:04:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bff57e1d-bd0a-4d83-a338-e4851f578ff2 - status: 200 OK - code: 200 - duration: 144.728875ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:05:22 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cf43f692-bcc3-4616-b000-f12769141db0 - status: 200 OK - code: 200 - duration: 243.96325ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:05:53 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a621905e-d1b3-4ed0-8b4b-ca43788400c2 - status: 200 OK - code: 200 - duration: 172.224041ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:06:23 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5aa6b7b9-f500-4c15-9723-ebf48bd15e14 - status: 200 OK - code: 200 - duration: 221.81425ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:06:54 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f7efc394-993a-4ce1-ada4-71f928666e22 - status: 200 OK - code: 200 - duration: 1.231044791s - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:07:24 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f7234c7e-30d8-428b-ab67-57c205331fac - status: 200 OK - code: 200 - duration: 186.324375ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1094 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1094" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:07:54 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 07f02886-a8f5-4621-8870-55f09200ebde - status: 200 OK - code: 200 - duration: 154.543542ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1313 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1313" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:25 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4db6cb6f-15f3-4a7c-adee-d083149eb214 - status: 200 OK - code: 200 - duration: 236.594166ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 47 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"tags":["terraform-test","restored_instance"]}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1309 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1309" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:25 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 26f2f677-0b27-4e56-af10-a30a84cbc46c - status: 200 OK - code: 200 - duration: 334.443917ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1309 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1309" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:25 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f0df68a0-ca42-452b-8bd9-750fcc269644 - status: 200 OK - code: 200 - duration: 181.543791ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d/users?order_by=name_asc&page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 72 - uncompressed: false - body: '{"total_count":1,"users":[{"is_admin":true,"name":"my_initial_user"}]}' - headers: - Content-Length: - - "72" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:25 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a4d3d983-db52-43a4-acb4-54c5a23732f3 - status: 200 OK - code: 200 - duration: 169.486917ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1849 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURwekNDQW8rZ0F3SUJBZ0lVWXRpc0g1WFk2ZjRZbnB1dlRkN05ENXUzMkZBd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRRdU1qVXhNQjRYCkRUSTFNRFF5TkRFME1EY3pPVm9YRFRNMU1EUXlNakUwTURjek9Wb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFF1TWpVeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXo4cWJFdUMrY3pUZHNZNERCQmlyQUcyQXZwM2IrTFhRaDM3NHFqODQzeWdUYTRlZ0wvZDQKVmQ2SnBrcm9WSzNNblZTSGRYTGRSaEhxQVk4MUVXdlYrYTlJNHdjRVhhbVVJNnEybVp3YWRLc1NKUGlNOFl1KwpUeHRXQXFHclJlSzlLbXQrRGJFcnBpSk9TMHVqb0h0bHVJQmdCVzhKa01XVldNNmh2WVA0Q2FHQWE2bEp6SGY4ClZxSmRQbzd4VmhvK1RwazdDRFpETFp0NU1rQnRXelFXWWtkcnBVQkY2MnhOYVlBSGVTRzhiYk03NlJXNjFERXAKTU8rdkFraG1DZ0czbXo2YXRwYVdYOGxKTmZaeVVZd1A2YXZNMXlJSkpTdlk4TEV3OVEzcjY2eXFOZ3hIV0t3Vgp2UlRFM3BaQUIveHhqTTczOTMxaDk4ZElQRDZ5cm15MjJ3SURBUUFCbzJjd1pUQmpCZ05WSFJFRVhEQmFnZzQxCk1TNHhOVGt1TVRFMExqSTFNWUk4Y25jdE1XSTNORGd6TWpJdE9EWXpaQzAwTVRKbExUaGtNbUV0WXpFNE56UmkKWVdVd016SmtMbkprWWk1bWNpMXdZWEl1YzJOM0xtTnNiM1ZraHdUVUwvMDVod1F6bjNMN01BMEdDU3FHU0liMwpEUUVCQ3dVQUE0SUJBUUEvNUdrWXUwU1VkMFRORXlIVGhoMWp0blpZQVFOenBINlZrUFZyQ09Ba1BpRGZhemFpCkdoNTc5aDVVWmsrdzA1K3NjMmZqc2xSSHZ2S1BnV040NjhjamZwYU5ZM1IraUNVdGx4cHZ3QytBb2ZqTWZMb1oKaTJtc3d5M0xJSVBQaTdTV0I2bXRvQVA2aDJ3UVA3bXRLRUNkeFlYbzRxM3poVDFwL2dhQVpleSt5TWZnb3B6OQo4b1UvNzBmM0U2Q2VKU1lWTWR1eSs0WFV3dzZTbGFuVlJCNStFaWF1MHA0dmZTNEhEZlE2YzlGRm9pRm5YKzBYClZXblFZMUlhYlBOTFY1MlhtNnhhZFZKRUNNaUhDMlJ2M3VrZlBFVHdtTnR0RHdQOC9WZUwxcmZaa1VPZkpzUEYKbGRWbUdpbEg1eDJqSzJtYW9xcUNENHlFZnNWNk5UUm5ZQzhGCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "1849" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:25 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e3d3b783-2bd7-4d15-87f3-256ffe957189 - status: 200 OK - code: 200 - duration: 129.1245ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1299 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303},"endpoints":[{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303}],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1299" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:27 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1d8f3f08-0db7-45ee-9e64-916248651c7f - status: 200 OK - code: 200 - duration: 158.036958ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2009 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVSDdtM3llSXZCNllmL0tPZ1dUNWpiU2lXQjA4d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPUzR5TlM0eE16RXdIaGNOCk1qVXdOREkwTVRRd016UTJXaGNOTXpVd05ESXlNVFF3TXpRMldqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNUxqSTFMakV6TVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQUxxTEhaRFpIdCtRYmZwV05IeXlFWnNWZEFCVmlZK1VPOWJ5UFh2TTcrdDRWUmpwUStjOFlpTkYKV2pRNDJLK2pTTTc0L3YwTzVsQkZMUTJXazJjZTNRdE1QUitXTVVJQmlOcTJmbXF5VDFoVVJjVEJ6ZWtuZGlQegpZT0xhUHlSaEJ0VVBKYW5tLzhtdFo2eWNycVcxTThRZTYyM0lhbW5wajNqRkNVNEJ2VzdBU212QjRSaDBqUGhnCmRtMFRzMVJYUjZTNU9GWWhCVHp3SFk4LzN0NXM0SS9nV2FtemFQRWsxT0trYm42V3d5dXdRZnJVbC9yWGdLdEYKVktWdFBzeDRIZE9KU0ZMNU9vNERqbm5Cek5DVDRJSTN2dGh4OEY4aFd6aTluLzBYZnc1bXNER0FvSVFvdGxsSgpJcXlvU0dBeDZNNlVDMlpwY3ljaitYa2lyLzlabjBNQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRrdU1qVXVNVE14Z2p4eWR5MWpORGhtWWpobE55MWpNalU1TFRRek9HSXRZVGMzTlMwek5UWXgKWTJFMU9HUmpaVGN1Y21SaUxtWnlMWEJoY2k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT1M0eU5TNHhNekdDUEhKMwpMV00wT0daaU9HVTNMV015TlRrdE5ETTRZaTFoTnpjMUxUTTFOakZqWVRVNFpHTmxOeTV5WkdJdVpuSXRjR0Z5CkxuTmpkeTVqYkc5MVpJY0VNNTVDTm9jRU01OFpnNGNFTTU4Wmd6QU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKYkFWTGxhRGVncHFORUVLRlpWZklCRnBmQ1NWR1RUOVVuSzdDZnllb1hDWUsvRzc5SlhWVHpSbU9obEJ3S0lUOApYc1IzMTlzbytEY205NWU2Z1l4L01FYVhNMnRDSWhBeWY3eE8vTllxWW1RZTkwVjV3YXdYdk9kSmxZNThPS3FVCldad0tEQ3MzVVlReXo5NlQwNXcyNkMxeUI1d1lNcHZsL0xZbFB1djI5R0Z1UGRZUG9CMVFBTHdIM3pJaWVvRlIKN0xXTGZLd1Y0QkZWVzFjc0lnbkd5Ymk0OXQzdk5rN3o0K3NmWkQwcWgzQ3dwZHUwVXkwaEEzZUMwRGcxbkQ1dwpDOFEzY0svNUIyOWZ4VG9nR0xhUWo1MGo0ZWtsOWUrYy9pa01RS1hEaEJnUUk4cEJEZ0VNSnRuL1NxZUgreUkvCktrUDZxVXVCRE1KN2RoV1RZbk9sY3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2009" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:27 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c4463ce8-54c6-4352-920f-e9d145c329f8 - status: 200 OK - code: 200 - duration: 237.7795ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 421 - uncompressed: false - body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' - headers: - Content-Length: - - "421" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:08:27 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dddb01ec-729d-4d78-9282-a9f70ee5b0b2 - status: 200 OK - code: 200 - duration: 133.939583ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1309 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"total_count":1,"users":[{"is_admin":true,"name":"my_initial_user"}]}' headers: Content-Length: - - "1309" + - "72" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:27 GMT + - Thu, 24 Apr 2025 14:08:25 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1573,11 +740,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a9da48dc-4a28-46a8-a394-5c4f8e8acdd5 + - a4d3d983-db52-43a4-acb4-54c5a23732f3 status: 200 OK code: 200 - duration: 200.076041ms - - id: 32 + duration: 169.486917ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1612,7 +779,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:27 GMT + - Thu, 24 Apr 2025 14:08:25 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1622,11 +789,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dfd74aa1-0088-4b00-a874-1c52e2d9b0e6 + - e3d3b783-2bd7-4d15-87f3-256ffe957189 status: 200 OK code: 200 - duration: 135.843916ms - - id: 33 + duration: 129.1245ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1661,7 +828,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:28 GMT + - Thu, 24 Apr 2025 14:08:27 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1671,11 +838,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5606709b-25e1-461f-aa69-523bd84c5c09 + - 1d8f3f08-0db7-45ee-9e64-916248651c7f status: 200 OK code: 200 - duration: 178.979083ms - - id: 34 + duration: 158.036958ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1710,7 +877,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:28 GMT + - Thu, 24 Apr 2025 14:08:27 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1720,11 +887,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f5a226e4-3315-4a65-95b1-7ba42ce40f32 + - c4463ce8-54c6-4352-920f-e9d145c329f8 status: 200 OK code: 200 - duration: 156.5935ms - - id: 35 + duration: 237.7795ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1759,7 +926,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:29 GMT + - Thu, 24 Apr 2025 14:08:27 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1769,11 +936,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 10ecd8c9-196d-4603-9dc1-327563da9afa + - dddb01ec-729d-4d78-9282-a9f70ee5b0b2 status: 200 OK code: 200 - duration: 120.1205ms - - id: 36 + duration: 133.939583ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1808,7 +975,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:29 GMT + - Thu, 24 Apr 2025 14:08:27 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1818,11 +985,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 040b2df3-bf88-46e2-ae21-e2750e404483 + - a9da48dc-4a28-46a8-a394-5c4f8e8acdd5 status: 200 OK code: 200 - duration: 216.00225ms - - id: 37 + duration: 200.076041ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1857,7 +1024,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:29 GMT + - Thu, 24 Apr 2025 14:08:27 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1867,11 +1034,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67b20a60-87b8-43de-bb8b-ffbc33e5c468 + - dfd74aa1-0088-4b00-a874-1c52e2d9b0e6 status: 200 OK code: 200 - duration: 136.735833ms - - id: 38 + duration: 135.843916ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1887,7 +1054,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7 method: GET response: proto: HTTP/2.0 @@ -1895,18 +1062,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1309 + content_length: 1299 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:00:48.123642Z","encryption":{"enabled":false},"endpoint":{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303},"endpoints":[{"id":"3d3c692e-b866-464d-a5f7-6a8078efb36a","ip":"51.159.25.131","load_balancer":{},"name":null,"port":2303}],"engine":"PostgreSQL-16","id":"c48fb8e7-c259-438b-a775-3561ca58dce7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1309" + - "1299" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:30 GMT + - Thu, 24 Apr 2025 14:08:28 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1916,11 +1083,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b98623a2-8491-4eda-ad6a-359565ac4acb + - 5606709b-25e1-461f-aa69-523bd84c5c09 status: 200 OK code: 200 - duration: 184.027875ms - - id: 39 + duration: 178.979083ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1936,26 +1103,26 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d - method: DELETE + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/c48fb8e7-c259-438b-a775-3561ca58dce7/certificate + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1312 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVSDdtM3llSXZCNllmL0tPZ1dUNWpiU2lXQjA4d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPUzR5TlM0eE16RXdIaGNOCk1qVXdOREkwTVRRd016UTJXaGNOTXpVd05ESXlNVFF3TXpRMldqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNUxqSTFMakV6TVRDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQUxxTEhaRFpIdCtRYmZwV05IeXlFWnNWZEFCVmlZK1VPOWJ5UFh2TTcrdDRWUmpwUStjOFlpTkYKV2pRNDJLK2pTTTc0L3YwTzVsQkZMUTJXazJjZTNRdE1QUitXTVVJQmlOcTJmbXF5VDFoVVJjVEJ6ZWtuZGlQegpZT0xhUHlSaEJ0VVBKYW5tLzhtdFo2eWNycVcxTThRZTYyM0lhbW5wajNqRkNVNEJ2VzdBU212QjRSaDBqUGhnCmRtMFRzMVJYUjZTNU9GWWhCVHp3SFk4LzN0NXM0SS9nV2FtemFQRWsxT0trYm42V3d5dXdRZnJVbC9yWGdLdEYKVktWdFBzeDRIZE9KU0ZMNU9vNERqbm5Cek5DVDRJSTN2dGh4OEY4aFd6aTluLzBYZnc1bXNER0FvSVFvdGxsSgpJcXlvU0dBeDZNNlVDMlpwY3ljaitYa2lyLzlabjBNQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRrdU1qVXVNVE14Z2p4eWR5MWpORGhtWWpobE55MWpNalU1TFRRek9HSXRZVGMzTlMwek5UWXgKWTJFMU9HUmpaVGN1Y21SaUxtWnlMWEJoY2k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT1M0eU5TNHhNekdDUEhKMwpMV00wT0daaU9HVTNMV015TlRrdE5ETTRZaTFoTnpjMUxUTTFOakZqWVRVNFpHTmxOeTV5WkdJdVpuSXRjR0Z5CkxuTmpkeTVqYkc5MVpJY0VNNTVDTm9jRU01OFpnNGNFTTU4Wmd6QU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKYkFWTGxhRGVncHFORUVLRlpWZklCRnBmQ1NWR1RUOVVuSzdDZnllb1hDWUsvRzc5SlhWVHpSbU9obEJ3S0lUOApYc1IzMTlzbytEY205NWU2Z1l4L01FYVhNMnRDSWhBeWY3eE8vTllxWW1RZTkwVjV3YXdYdk9kSmxZNThPS3FVCldad0tEQ3MzVVlReXo5NlQwNXcyNkMxeUI1d1lNcHZsL0xZbFB1djI5R0Z1UGRZUG9CMVFBTHdIM3pJaWVvRlIKN0xXTGZLd1Y0QkZWVzFjc0lnbkd5Ymk0OXQzdk5rN3o0K3NmWkQwcWgzQ3dwZHUwVXkwaEEzZUMwRGcxbkQ1dwpDOFEzY0svNUIyOWZ4VG9nR0xhUWo1MGo0ZWtsOWUrYy9pa01RS1hEaEJnUUk4cEJEZ0VNSnRuL1NxZUgreUkvCktrUDZxVXVCRE1KN2RoV1RZbk9sY3c9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1312" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:30 GMT + - Thu, 24 Apr 2025 14:08:28 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -1965,11 +1132,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dc685f2a-dd2b-42a8-b509-5296ce502c1a + - f5a226e4-3315-4a65-95b1-7ba42ce40f32 status: 200 OK code: 200 - duration: 269.313916ms - - id: 40 + duration: 156.5935ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1985,7 +1152,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b method: GET response: proto: HTTP/2.0 @@ -1993,18 +1160,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1312 + content_length: 421 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"created_at":"2025-04-24T14:04:21.167922Z","expires_at":"2026-04-24T14:04:21.167922Z","id":"eaf7cabf-cb45-4b75-a83e-bef92d75c66b","instance_id":"c48fb8e7-c259-438b-a775-3561ca58dce7","instance_name":"test-rdb-instance","name":"test-snapshot","node_type":"db-dev-s","region":"fr-par","size":10000000000,"status":"ready","updated_at":"2025-04-24T14:04:29.498869Z","volume_type":{"class":"sbs","type":"sbs_5k"}}' headers: Content-Length: - - "1312" + - "421" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:08:30 GMT + - Thu, 24 Apr 2025 14:08:29 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2014,11 +1181,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c167a545-6214-4ade-9891-063bc7b78664 + - 10ecd8c9-196d-4603-9dc1-327563da9afa status: 200 OK code: 200 - duration: 169.095833ms - - id: 41 + duration: 120.1205ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -2042,18 +1209,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 129 + content_length: 1309 uncompressed: false - body: '{"message":"resource is not found","resource":"instance","resource_id":"1b748322-863d-412e-8d2a-c1874bae032d","type":"not_found"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "129" + - "1309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:09:01 GMT + - Thu, 24 Apr 2025 14:08:29 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2063,48 +1230,46 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e249ff89-4ae0-44a1-aad3-997701d947d2 - status: 404 Not Found - code: 404 - duration: 123.079333ms - - id: 42 + - 040b2df3-bf88-46e2-ae21-e2750e404483 + status: 200 OK + code: 200 + duration: 216.00225ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 100 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"instance_name":"test-instance-from-snapshot-updated","is_ha_cluster":false,"node_type":"db-dev-s"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b/create-instance - method: POST + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d/certificate + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1102 + content_length: 1849 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURwekNDQW8rZ0F3SUJBZ0lVWXRpc0g1WFk2ZjRZbnB1dlRkN05ENXUzMkZBd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRRdU1qVXhNQjRYCkRUSTFNRFF5TkRFME1EY3pPVm9YRFRNMU1EUXlNakUwTURjek9Wb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFF1TWpVeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXo4cWJFdUMrY3pUZHNZNERCQmlyQUcyQXZwM2IrTFhRaDM3NHFqODQzeWdUYTRlZ0wvZDQKVmQ2SnBrcm9WSzNNblZTSGRYTGRSaEhxQVk4MUVXdlYrYTlJNHdjRVhhbVVJNnEybVp3YWRLc1NKUGlNOFl1KwpUeHRXQXFHclJlSzlLbXQrRGJFcnBpSk9TMHVqb0h0bHVJQmdCVzhKa01XVldNNmh2WVA0Q2FHQWE2bEp6SGY4ClZxSmRQbzd4VmhvK1RwazdDRFpETFp0NU1rQnRXelFXWWtkcnBVQkY2MnhOYVlBSGVTRzhiYk03NlJXNjFERXAKTU8rdkFraG1DZ0czbXo2YXRwYVdYOGxKTmZaeVVZd1A2YXZNMXlJSkpTdlk4TEV3OVEzcjY2eXFOZ3hIV0t3Vgp2UlRFM3BaQUIveHhqTTczOTMxaDk4ZElQRDZ5cm15MjJ3SURBUUFCbzJjd1pUQmpCZ05WSFJFRVhEQmFnZzQxCk1TNHhOVGt1TVRFMExqSTFNWUk4Y25jdE1XSTNORGd6TWpJdE9EWXpaQzAwTVRKbExUaGtNbUV0WXpFNE56UmkKWVdVd016SmtMbkprWWk1bWNpMXdZWEl1YzJOM0xtTnNiM1ZraHdUVUwvMDVod1F6bjNMN01BMEdDU3FHU0liMwpEUUVCQ3dVQUE0SUJBUUEvNUdrWXUwU1VkMFRORXlIVGhoMWp0blpZQVFOenBINlZrUFZyQ09Ba1BpRGZhemFpCkdoNTc5aDVVWmsrdzA1K3NjMmZqc2xSSHZ2S1BnV040NjhjamZwYU5ZM1IraUNVdGx4cHZ3QytBb2ZqTWZMb1oKaTJtc3d5M0xJSVBQaTdTV0I2bXRvQVA2aDJ3UVA3bXRLRUNkeFlYbzRxM3poVDFwL2dhQVpleSt5TWZnb3B6OQo4b1UvNzBmM0U2Q2VKU1lWTWR1eSs0WFV3dzZTbGFuVlJCNStFaWF1MHA0dmZTNEhEZlE2YzlGRm9pRm5YKzBYClZXblFZMUlhYlBOTFY1MlhtNnhhZFZKRUNNaUhDMlJ2M3VrZlBFVHdtTnR0RHdQOC9WZUwxcmZaa1VPZkpzUEYKbGRWbUdpbEg1eDJqSzJtYW9xcUNENHlFZnNWNk5UUm5ZQzhGCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1102" + - "1849" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:09:01 GMT + - Thu, 24 Apr 2025 14:08:29 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2114,11 +1279,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b50bcc0c-2b0c-46c6-9ce0-01623a93e0e3 + - 67b20a60-87b8-43de-bb8b-ffbc33e5c468 status: 200 OK code: 200 - duration: 834.749083ms - - id: 43 + duration: 136.735833ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -2134,7 +1299,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13f97896-1e0b-4100-bf9c-992dcbe61ae7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d method: GET response: proto: HTTP/2.0 @@ -2142,18 +1307,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1102 + content_length: 1309 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1102" + - "1309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:09:02 GMT + - Thu, 24 Apr 2025 14:08:30 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2163,11 +1328,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c3c459e-34ee-40f5-bd01-a9e3bba13bfe + - b98623a2-8491-4eda-ad6a-359565ac4acb status: 200 OK code: 200 - duration: 166.172209ms - - id: 44 + duration: 184.027875ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -2183,26 +1348,26 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13f97896-1e0b-4100-bf9c-992dcbe61ae7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1102 + content_length: 1312 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1102" + - "1312" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:09:32 GMT + - Thu, 24 Apr 2025 14:08:30 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2212,11 +1377,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4332869b-a89f-4d53-9b7a-f995706d5ab5 + - dc685f2a-dd2b-42a8-b509-5296ce502c1a status: 200 OK code: 200 - duration: 195.481167ms - - id: 45 + duration: 269.313916ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -2232,7 +1397,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13f97896-1e0b-4100-bf9c-992dcbe61ae7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d method: GET response: proto: HTTP/2.0 @@ -2240,18 +1405,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1102 + content_length: 1312 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:04:52.184568Z","encryption":{"enabled":false},"endpoint":{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627},"endpoints":[{"id":"1d1010c6-313b-42d2-95df-25c9008459cf","ip":"51.159.114.251","load_balancer":{},"name":null,"port":18627}],"engine":"PostgreSQL-16","id":"1b748322-863d-412e-8d2a-c1874bae032d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","restored_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1102" + - "1312" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:10:02 GMT + - Thu, 24 Apr 2025 14:08:30 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2261,11 +1426,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3eada8ac-912d-4bfe-8aac-e368a164ada1 + - c167a545-6214-4ade-9891-063bc7b78664 status: 200 OK code: 200 - duration: 195.734417ms - - id: 46 + duration: 169.095833ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -2281,7 +1446,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13f97896-1e0b-4100-bf9c-992dcbe61ae7 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/1b748322-863d-412e-8d2a-c1874bae032d method: GET response: proto: HTTP/2.0 @@ -2289,18 +1454,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1102 + content_length: 129 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"1b748322-863d-412e-8d2a-c1874bae032d","type":"not_found"}' headers: Content-Length: - - "1102" + - "129" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:10:32 GMT + - Thu, 24 Apr 2025 14:09:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2310,28 +1475,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9b305923-40b7-40f8-9eb5-e2be96e30b35 - status: 200 OK - code: 200 - duration: 241.679166ms - - id: 47 + - e249ff89-4ae0-44a1-aad3-997701d947d2 + status: 404 Not Found + code: 404 + duration: 123.079333ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 100 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"instance_name":"test-instance-from-snapshot-updated","is_ha_cluster":false,"node_type":"db-dev-s"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13f97896-1e0b-4100-bf9c-992dcbe61ae7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/snapshots/eaf7cabf-cb45-4b75-a83e-bef92d75c66b/create-instance + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -2340,7 +1507,7 @@ interactions: trailer: {} content_length: 1102 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - "1102" @@ -2349,7 +1516,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:11:02 GMT + - Thu, 24 Apr 2025 14:09:01 GMT Server: - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: @@ -2359,11 +1526,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 18f189b9-52c6-4b58-a1f0-3114153bc606 + - b50bcc0c-2b0c-46c6-9ce0-01623a93e0e3 status: 200 OK code: 200 - duration: 164.723583ms - - id: 48 + duration: 834.749083ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -2387,20 +1554,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1328 + content_length: 1102 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":{"id":"4faa4b39-57f2-4a5d-b2df-2bcbbee36b20","ip":"51.159.114.251","load_balancer":{},"name":null,"port":21175},"endpoints":[{"id":"4faa4b39-57f2-4a5d-b2df-2bcbbee36b20","ip":"51.159.114.251","load_balancer":{},"name":null,"port":21175}],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:01.601740Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13f97896-1e0b-4100-bf9c-992dcbe61ae7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-instance-from-snapshot-updated","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1328" + - "1102" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:11:33 GMT + - Thu, 24 Apr 2025 14:09:02 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2408,11 +1575,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7481d21f-0490-4ce5-910a-59a5b6454977 + - 6c3c459e-34ee-40f5-bd01-a9e3bba13bfe status: 200 OK code: 200 - duration: 180.602833ms - - id: 49 + duration: 166.172209ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2461,7 +1628,7 @@ interactions: status: 200 OK code: 200 duration: 144.640875ms - - id: 50 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2512,7 +1679,7 @@ interactions: status: 200 OK code: 200 duration: 1.292307875s - - id: 51 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2561,7 +1728,7 @@ interactions: status: 200 OK code: 200 duration: 241.598042ms - - id: 52 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2610,7 +1777,7 @@ interactions: status: 200 OK code: 200 duration: 134.039625ms - - id: 53 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2659,7 +1826,7 @@ interactions: status: 200 OK code: 200 duration: 153.405417ms - - id: 54 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2708,7 +1875,7 @@ interactions: status: 200 OK code: 200 duration: 231.992125ms - - id: 55 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2757,7 +1924,7 @@ interactions: status: 200 OK code: 200 duration: 131.751334ms - - id: 56 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2806,7 +1973,7 @@ interactions: status: 200 OK code: 200 duration: 199.082791ms - - id: 57 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2855,7 +2022,7 @@ interactions: status: 200 OK code: 200 duration: 123.263167ms - - id: 58 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2904,7 +2071,7 @@ interactions: status: 200 OK code: 200 duration: 155.910084ms - - id: 59 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2953,7 +2120,7 @@ interactions: status: 200 OK code: 200 duration: 373.393625ms - - id: 60 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -3002,7 +2169,7 @@ interactions: status: 200 OK code: 200 duration: 147.942917ms - - id: 61 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -3051,7 +2218,7 @@ interactions: status: 404 Not Found code: 404 duration: 92.296417ms - - id: 62 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -3100,7 +2267,7 @@ interactions: status: 200 OK code: 200 duration: 962.328667ms - - id: 63 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -3149,7 +2316,7 @@ interactions: status: 200 OK code: 200 duration: 234.991959ms - - id: 64 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -3198,7 +2365,7 @@ interactions: status: 200 OK code: 200 duration: 138.126333ms - - id: 65 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -3247,7 +2414,7 @@ interactions: status: 200 OK code: 200 duration: 253.263167ms - - id: 66 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -3296,7 +2463,7 @@ interactions: status: 200 OK code: 200 duration: 175.15575ms - - id: 67 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -3345,7 +2512,7 @@ interactions: status: 404 Not Found code: 404 duration: 104.061ms - - id: 68 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-encryption-at-rest-false.cassette.yaml b/internal/services/rdb/testdata/instance-encryption-at-rest-false.cassette.yaml index a5505a7289..cfe0aaecc7 100644 --- a/internal/services/rdb/testdata/instance-encryption-at-rest-false.cassette.yaml +++ b/internal/services/rdb/testdata/instance-encryption-at-rest-false.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 123.53675ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 829 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "829" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bea441bf-c70b-4f91-8ab5-114eaca69470 - status: 200 OK - code: 200 - duration: 176.02675ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 829 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "829" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:00 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f300515e-868b-48e5-8bb0-9cc9da494a3b - status: 200 OK - code: 200 - duration: 166.7195ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 829 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "829" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:31 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1e93491a-d195-4cf7-b519-33fd228a5017 - status: 200 OK - code: 200 - duration: 431.090667ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 829 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "829" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:01 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9d4ceee7-e10e-41cc-9aa1-00ada88e5c4b - status: 200 OK - code: 200 - duration: 161.339292ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 829 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "829" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:31 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3589382f-cc51-474d-841c-44d237da2917 - status: 200 OK - code: 200 - duration: 243.358917ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/dd40aab0-30b5-4861-985e-50a46252f106 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1104 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:39:00.007354Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"dd40aab0-30b5-4861-985e-50a46252f106","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-no-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","no_encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1104" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:01 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cdae3fd3-7528-4723-a193-066bc7f305af - status: 200 OK - code: 200 - duration: 213.020459ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 209.167666ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 120.393083ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 163.942459ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 187.09375ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -689,7 +395,7 @@ interactions: status: 200 OK code: 200 duration: 153.036833ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -738,7 +444,7 @@ interactions: status: 200 OK code: 200 duration: 148.369333ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -787,7 +493,7 @@ interactions: status: 200 OK code: 200 duration: 397.014125ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -836,7 +542,7 @@ interactions: status: 200 OK code: 200 duration: 245.21625ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -885,7 +591,7 @@ interactions: status: 404 Not Found code: 404 duration: 102.500083ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-encryption-at-rest.cassette.yaml b/internal/services/rdb/testdata/instance-encryption-at-rest.cassette.yaml index c9d787ba20..e046f32cce 100644 --- a/internal/services/rdb/testdata/instance-encryption-at-rest.cassette.yaml +++ b/internal/services/rdb/testdata/instance-encryption-at-rest.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 166.636791ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dbee456c-9dab-428c-a96e-6dda6574308a - status: 200 OK - code: 200 - duration: 146.082542ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:50:45 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dbc0441f-3c55-47ea-8363-4215e5659052 - status: 200 OK - code: 200 - duration: 152.466834ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:51:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 414eb173-be75-45cc-afa6-b1fdbcdf2caf - status: 200 OK - code: 200 - duration: 153.583666ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:51:46 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d05466ec-9200-4317-a7ec-911187cd17e1 - status: 200 OK - code: 200 - duration: 124.961042ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b9fd7374-377a-4bea-b284-9974c35a0524 - status: 200 OK - code: 200 - duration: 146.226125ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4dea349d-ba4b-4462-bc73-092b9f398374 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1097 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:49:45.258891Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4dea349d-ba4b-4462-bc73-092b9f398374","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1097" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:46 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ddbf0f98-7847-4b67-b6c7-5dc4b4f3c4cd - status: 200 OK - code: 200 - duration: 165.593625ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 142.602416ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 111.79125ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -591,7 +297,7 @@ interactions: status: 200 OK code: 200 duration: 144.426208ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -640,7 +346,7 @@ interactions: status: 200 OK code: 200 duration: 139.582708ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -689,7 +395,7 @@ interactions: status: 200 OK code: 200 duration: 120.947084ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -738,7 +444,7 @@ interactions: status: 200 OK code: 200 duration: 133.754375ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -787,7 +493,7 @@ interactions: status: 200 OK code: 200 duration: 372.709708ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -836,7 +542,7 @@ interactions: status: 200 OK code: 200 duration: 239.745416ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -885,7 +591,7 @@ interactions: status: 404 Not Found code: 404 duration: 89.073708ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-endpoints.cassette.yaml b/internal/services/rdb/testdata/instance-endpoints.cassette.yaml index 26dda9a063..63aa8931d9 100644 --- a/internal/services/rdb/testdata/instance-endpoints.cassette.yaml +++ b/internal/services/rdb/testdata/instance-endpoints.cassette.yaml @@ -251,202 +251,6 @@ interactions: code: 200 duration: 511.499259ms - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b663f2d-d92f-4f84-a198-29fbae5d664a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1039 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:09:48.152335Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"75653d17-866f-4934-9b9f-ada5d8549ac9","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"5d7c06c2-03c3-4b29-9954-537e09038f40","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"7b663f2d-d92f-4f84-a198-29fbae5d664a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-endpoints","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","test_endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1039" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:10:19 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9fd0ae8e-3ee6-43b2-93b2-54a9b4dc2e09 - status: 200 OK - code: 200 - duration: 359.080065ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b663f2d-d92f-4f84-a198-29fbae5d664a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1039 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:09:48.152335Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"75653d17-866f-4934-9b9f-ada5d8549ac9","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"5d7c06c2-03c3-4b29-9954-537e09038f40","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"7b663f2d-d92f-4f84-a198-29fbae5d664a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-endpoints","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","test_endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1039" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:10:50 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 24f254ff-6d00-4d8d-9aa9-b6f3a93ae726 - status: 200 OK - code: 200 - duration: 256.646174ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b663f2d-d92f-4f84-a198-29fbae5d664a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1039 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:09:48.152335Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"75653d17-866f-4934-9b9f-ada5d8549ac9","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"5d7c06c2-03c3-4b29-9954-537e09038f40","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"7b663f2d-d92f-4f84-a198-29fbae5d664a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-endpoints","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","test_endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1039" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:11:20 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ccb2eea8-878b-4818-8c9c-cd8e82c2ade3 - status: 200 OK - code: 200 - duration: 116.95587ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b663f2d-d92f-4f84-a198-29fbae5d664a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1039 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:09:48.152335Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"75653d17-866f-4934-9b9f-ada5d8549ac9","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"5d7c06c2-03c3-4b29-9954-537e09038f40","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"7b663f2d-d92f-4f84-a198-29fbae5d664a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-endpoints","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","test_endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1039" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:11:50 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0bedfa97-e6a3-4c38-b1db-647d501c3746 - status: 200 OK - code: 200 - duration: 96.878113ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 208.215171ms - - id: 10 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 84.218732ms - - id: 11 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 70.415583ms - - id: 12 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 220.220308ms - - id: 13 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 31.129423ms - - id: 14 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 26.260089ms - - id: 15 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 325.276185ms - - id: 16 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 95.441823ms - - id: 17 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 51.942072ms - - id: 18 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 37.126306ms - - id: 19 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 107.093974ms - - id: 20 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 95.990566ms - - id: 21 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 53.945485ms - - id: 22 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +936,7 @@ interactions: status: 200 OK code: 200 duration: 142.043213ms - - id: 23 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1181,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 143.049298ms - - id: 24 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 146.892339ms - - id: 25 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 336.117285ms - - id: 26 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 102.677705ms - - id: 27 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 167.6571ms - - id: 28 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1430,7 +1234,7 @@ interactions: status: 200 OK code: 200 duration: 123.151604ms - - id: 29 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1479,7 +1283,7 @@ interactions: status: 200 OK code: 200 duration: 125.670713ms - - id: 30 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1528,7 +1332,7 @@ interactions: status: 200 OK code: 200 duration: 87.619294ms - - id: 31 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 58.392438ms - - id: 32 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 140.535338ms - - id: 33 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 26.422671ms - - id: 34 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 37.943838ms - - id: 35 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 173.787995ms - - id: 36 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 92.05028ms - - id: 37 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1871,7 +1675,7 @@ interactions: status: 200 OK code: 200 duration: 61.326245ms - - id: 38 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1920,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 41.833655ms - - id: 39 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1773,7 @@ interactions: status: 200 OK code: 200 duration: 159.099769ms - - id: 40 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2018,7 +1822,7 @@ interactions: status: 200 OK code: 200 duration: 86.843899ms - - id: 41 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1871,7 @@ interactions: status: 200 OK code: 200 duration: 53.208548ms - - id: 42 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2116,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 151.121633ms - - id: 43 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2165,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 130.149948ms - - id: 44 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2216,7 +2020,7 @@ interactions: status: 200 OK code: 200 duration: 176.308622ms - - id: 45 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2265,7 +2069,7 @@ interactions: status: 200 OK code: 200 duration: 111.782805ms - - id: 46 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2312,7 +2116,7 @@ interactions: status: 204 No Content code: 204 duration: 153.136897ms - - id: 47 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2361,7 +2165,7 @@ interactions: status: 200 OK code: 200 duration: 125.824609ms - - id: 48 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +2214,7 @@ interactions: status: 200 OK code: 200 duration: 135.560243ms - - id: 49 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +2263,7 @@ interactions: status: 200 OK code: 200 duration: 113.736381ms - - id: 50 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2508,7 +2312,7 @@ interactions: status: 200 OK code: 200 duration: 96.601537ms - - id: 51 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2557,7 +2361,7 @@ interactions: status: 200 OK code: 200 duration: 130.019038ms - - id: 52 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2606,7 +2410,7 @@ interactions: status: 200 OK code: 200 duration: 24.796581ms - - id: 53 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2655,7 +2459,7 @@ interactions: status: 200 OK code: 200 duration: 129.332801ms - - id: 54 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2704,7 +2508,7 @@ interactions: status: 200 OK code: 200 duration: 126.578928ms - - id: 55 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2753,7 +2557,7 @@ interactions: status: 200 OK code: 200 duration: 156.717975ms - - id: 56 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2802,7 +2606,7 @@ interactions: status: 200 OK code: 200 duration: 280.654678ms - - id: 57 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2851,7 +2655,7 @@ interactions: status: 200 OK code: 200 duration: 202.252332ms - - id: 58 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2898,7 +2702,7 @@ interactions: status: 204 No Content code: 204 duration: 1.310169269s - - id: 59 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -2947,7 +2751,7 @@ interactions: status: 404 Not Found code: 404 duration: 82.046946ms - - id: 60 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-init-settings.cassette.yaml b/internal/services/rdb/testdata/instance-init-settings.cassette.yaml index a91a10e93c..64a4820cd5 100644 --- a/internal/services/rdb/testdata/instance-init-settings.cassette.yaml +++ b/internal/services/rdb/testdata/instance-init-settings.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 159.431083ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/77f653b0-10c2-48a4-bc42-0f833a5afe96 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 811 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:40.759307Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"MySQL-8","id":"77f653b0-10c2-48a4-bc42-0f833a5afe96","init_settings":[{"name":"lower_case_table_names","value":"1"}],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-init-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "811" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - af43973b-3cbc-416c-b39d-dd6a1cbf3d67 - status: 200 OK - code: 200 - duration: 122.452542ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/77f653b0-10c2-48a4-bc42-0f833a5afe96 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 811 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:40.759307Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"MySQL-8","id":"77f653b0-10c2-48a4-bc42-0f833a5afe96","init_settings":[{"name":"lower_case_table_names","value":"1"}],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-init-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "811" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - aef7f5b2-70c2-4720-a3fe-87da169d5047 - status: 200 OK - code: 200 - duration: 156.174083ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/77f653b0-10c2-48a4-bc42-0f833a5afe96 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 811 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:40.759307Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"MySQL-8","id":"77f653b0-10c2-48a4-bc42-0f833a5afe96","init_settings":[{"name":"lower_case_table_names","value":"1"}],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-init-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "811" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f3d5e751-8a51-479c-a847-97921f81fb8d - status: 200 OK - code: 200 - duration: 512.609334ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/77f653b0-10c2-48a4-bc42-0f833a5afe96 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 811 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:40.759307Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"MySQL-8","id":"77f653b0-10c2-48a4-bc42-0f833a5afe96","init_settings":[{"name":"lower_case_table_names","value":"1"}],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-init-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "811" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:42 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 70983e98-6436-4d08-b303-a8590e38a3a7 - status: 200 OK - code: 200 - duration: 252.496042ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/77f653b0-10c2-48a4-bc42-0f833a5afe96 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 852 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:51:40.759307Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"MySQL-8","id":"77f653b0-10c2-48a4-bc42-0f833a5afe96","init_settings":[{"name":"lower_case_table_names","value":"1"}],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-init-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"max_connections","value":"100"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "852" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4d29b855-9bf5-47cb-8bd1-0c750528cd29 - status: 200 OK - code: 200 - duration: 116.625208ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 138.174333ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 225.091416ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 120.698166ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 204.794292ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 121.363542ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 179.67975ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 135.36125ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 116.826459ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 179.386ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 452.574ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 145.554791ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +740,7 @@ interactions: status: 404 Not Found code: 404 duration: 110.465625ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-logs-policy.cassette.yaml b/internal/services/rdb/testdata/instance-logs-policy.cassette.yaml index 23019d33e8..7be5cbc710 100644 --- a/internal/services/rdb/testdata/instance-logs-policy.cassette.yaml +++ b/internal/services/rdb/testdata/instance-logs-policy.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 169.179916ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 845 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "845" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a60546ed-97aa-489f-abb9-07db1d20b164 - status: 200 OK - code: 200 - duration: 171.98075ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 845 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "845" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ba90f519-6334-4405-8fcc-46538ac7e6f5 - status: 200 OK - code: 200 - duration: 272.225ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 845 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "845" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c7da3420-d2bd-4744-80df-036c9bb67c65 - status: 200 OK - code: 200 - duration: 160.068625ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 845 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "845" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2cb3142d-5782-4153-9006-d13c1e60ad45 - status: 200 OK - code: 200 - duration: 155.2415ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 845 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "845" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b52c59dd-fc88-4cb5-bcca-08b54291d33f - status: 200 OK - code: 200 - duration: 149.769792ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/a0065c37-9647-4255-94ff-271601f0e57c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1120 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.408482Z","retention":7},"created_at":"2025-02-06T13:34:10.408482Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"a0065c37-9647-4255-94ff-271601f0e57c","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-log-policy","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1120" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8aef711a-f225-416a-a5b3-cb3a53b76879 - status: 200 OK - code: 200 - duration: 200.04375ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 1.588872458s - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 9.723775958s - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 386.883584ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 430.724125ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 161.535375ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 137.382792ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 105.459709ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 260.955791ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 124.73175ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 151.856083ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 149.765ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 215.384042ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 134.245458ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 152.534ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 108.815333ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 172.641917ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 142.192ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 112.501625ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 129.38125ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 278.636875ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 150.279458ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1232,7 @@ interactions: status: 404 Not Found code: 404 duration: 490.153458ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-private-network-update.cassette.yaml b/internal/services/rdb/testdata/instance-private-network-update.cassette.yaml index 1f3d4f9b25..5c5a71f72e 100644 --- a/internal/services/rdb/testdata/instance-private-network-update.cassette.yaml +++ b/internal/services/rdb/testdata/instance-private-network-update.cassette.yaml @@ -251,202 +251,6 @@ interactions: code: 200 duration: 325.30987ms - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d8ebe2f3-6bfa-45a0-9deb-734f10cef75c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1091 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:20.477851Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"0b29a79c-2981-42d2-9f34-44ce8a354edc","ip":"172.16.0.2","name":null,"port":5432,"private_network":{"private_network_id":"df93d876-9d46-434b-9193-d7ef4f38f6da","provisioning_mode":"ipam","service_ip":"172.16.0.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"d8ebe2f3-6bfa-45a0-9deb-734f10cef75c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-update","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1091" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:00:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ff82f09b-2b33-48f4-abb1-55dbd12bdea4 - status: 200 OK - code: 200 - duration: 149.82314ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d8ebe2f3-6bfa-45a0-9deb-734f10cef75c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1091 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:20.477851Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"0b29a79c-2981-42d2-9f34-44ce8a354edc","ip":"172.16.0.2","name":null,"port":5432,"private_network":{"private_network_id":"df93d876-9d46-434b-9193-d7ef4f38f6da","provisioning_mode":"ipam","service_ip":"172.16.0.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"d8ebe2f3-6bfa-45a0-9deb-734f10cef75c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-update","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1091" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:01:22 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 582b39e4-0456-400b-b95a-fadc1df0f106 - status: 200 OK - code: 200 - duration: 220.217652ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d8ebe2f3-6bfa-45a0-9deb-734f10cef75c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1091 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:20.477851Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"0b29a79c-2981-42d2-9f34-44ce8a354edc","ip":"172.16.0.2","name":null,"port":5432,"private_network":{"private_network_id":"df93d876-9d46-434b-9193-d7ef4f38f6da","provisioning_mode":"ipam","service_ip":"172.16.0.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"d8ebe2f3-6bfa-45a0-9deb-734f10cef75c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-update","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1091" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:01:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4e54d207-2a61-413d-bad7-e4d62f5746cd - status: 200 OK - code: 200 - duration: 426.916038ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/d8ebe2f3-6bfa-45a0-9deb-734f10cef75c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1091 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:20.477851Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"0b29a79c-2981-42d2-9f34-44ce8a354edc","ip":"172.16.0.2","name":null,"port":5432,"private_network":{"private_network_id":"df93d876-9d46-434b-9193-d7ef4f38f6da","provisioning_mode":"ipam","service_ip":"172.16.0.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-16","id":"d8ebe2f3-6bfa-45a0-9deb-734f10cef75c","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-update","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1091" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:02:23 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cf742756-ec55-4461-886c-9d413842dc51 - status: 200 OK - code: 200 - duration: 422.631513ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -495,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 210.374126ms - - id: 10 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 82.41863ms - - id: 11 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 72.38689ms - - id: 12 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 70.061588ms - - id: 13 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 917.242113ms - - id: 14 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 30.588924ms - - id: 15 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 141.962057ms - - id: 16 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 411.156044ms - - id: 17 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 100.216117ms - - id: 18 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 38.221301ms - - id: 19 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 149.531126ms - - id: 20 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 152.779868ms - - id: 21 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 68.593489ms - - id: 22 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 1.262953583s - - id: 23 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 83.664793ms - - id: 24 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 204.729509ms - - id: 25 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 114.155232ms - - id: 26 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1332,7 +1136,7 @@ interactions: status: 200 OK code: 200 duration: 395.19773ms - - id: 27 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 504.911186ms - - id: 28 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1232,7 @@ interactions: status: 204 No Content code: 204 duration: 513.493882ms - - id: 29 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 135.315124ms - - id: 30 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 575.958522ms - - id: 31 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 1.022729083s - - id: 32 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 118.44467ms - - id: 33 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 599.332071ms - - id: 34 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1528,7 @@ interactions: status: 200 OK code: 200 duration: 159.474757ms - - id: 35 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 91.952395ms - - id: 36 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 66.027904ms - - id: 37 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1871,7 +1675,7 @@ interactions: status: 200 OK code: 200 duration: 23.309555ms - - id: 38 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1920,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 737.386019ms - - id: 39 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1773,7 @@ interactions: status: 200 OK code: 200 duration: 44.211854ms - - id: 40 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2018,7 +1822,7 @@ interactions: status: 200 OK code: 200 duration: 75.083877ms - - id: 41 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1871,7 @@ interactions: status: 200 OK code: 200 duration: 111.661952ms - - id: 42 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2116,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 137.852981ms - - id: 43 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2165,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 93.18926ms - - id: 44 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2214,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 41.597961ms - - id: 45 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2263,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 59.57753ms - - id: 46 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2312,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 164.839039ms - - id: 47 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2361,7 +2165,7 @@ interactions: status: 200 OK code: 200 duration: 106.935944ms - - id: 48 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +2214,7 @@ interactions: status: 200 OK code: 200 duration: 73.61113ms - - id: 49 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +2263,7 @@ interactions: status: 200 OK code: 200 duration: 119.984992ms - - id: 50 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2508,7 +2312,7 @@ interactions: status: 200 OK code: 200 duration: 135.941082ms - - id: 51 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2559,7 +2363,7 @@ interactions: status: 200 OK code: 200 duration: 155.3526ms - - id: 52 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2608,7 +2412,7 @@ interactions: status: 200 OK code: 200 duration: 158.603215ms - - id: 53 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2655,7 +2459,7 @@ interactions: status: 204 No Content code: 204 duration: 146.236886ms - - id: 54 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2704,7 +2508,7 @@ interactions: status: 200 OK code: 200 duration: 412.974108ms - - id: 55 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2753,7 +2557,7 @@ interactions: status: 200 OK code: 200 duration: 117.85316ms - - id: 56 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2804,7 +2608,7 @@ interactions: status: 200 OK code: 200 duration: 508.086735ms - - id: 57 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2853,7 +2657,7 @@ interactions: status: 200 OK code: 200 duration: 598.133701ms - - id: 58 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2902,7 +2706,7 @@ interactions: status: 200 OK code: 200 duration: 250.208246ms - - id: 59 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -2951,7 +2755,7 @@ interactions: status: 200 OK code: 200 duration: 86.891779ms - - id: 60 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3000,7 +2804,7 @@ interactions: status: 200 OK code: 200 duration: 41.235141ms - - id: 61 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3049,7 +2853,7 @@ interactions: status: 200 OK code: 200 duration: 149.913055ms - - id: 62 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3098,7 +2902,7 @@ interactions: status: 200 OK code: 200 duration: 52.217039ms - - id: 63 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3147,7 +2951,7 @@ interactions: status: 200 OK code: 200 duration: 54.320638ms - - id: 64 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3196,7 +3000,7 @@ interactions: status: 200 OK code: 200 duration: 122.046259ms - - id: 65 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3245,7 +3049,7 @@ interactions: status: 200 OK code: 200 duration: 86.308077ms - - id: 66 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3294,7 +3098,7 @@ interactions: status: 200 OK code: 200 duration: 33.184732ms - - id: 67 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3343,7 +3147,7 @@ interactions: status: 200 OK code: 200 duration: 73.923443ms - - id: 68 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3392,7 +3196,7 @@ interactions: status: 200 OK code: 200 duration: 158.015221ms - - id: 69 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3441,7 +3245,7 @@ interactions: status: 200 OK code: 200 duration: 77.76845ms - - id: 70 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3490,7 +3294,7 @@ interactions: status: 200 OK code: 200 duration: 305.724801ms - - id: 71 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3539,7 +3343,7 @@ interactions: status: 200 OK code: 200 duration: 119.565575ms - - id: 72 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3590,7 +3394,7 @@ interactions: status: 200 OK code: 200 duration: 102.267233ms - - id: 73 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3639,7 +3443,7 @@ interactions: status: 200 OK code: 200 duration: 133.658897ms - - id: 74 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -3686,7 +3490,7 @@ interactions: status: 204 No Content code: 204 duration: 203.093036ms - - id: 75 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -3735,7 +3539,7 @@ interactions: status: 200 OK code: 200 duration: 143.548239ms - - id: 76 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -3784,7 +3588,7 @@ interactions: status: 200 OK code: 200 duration: 225.498167ms - - id: 77 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -3835,7 +3639,7 @@ interactions: status: 200 OK code: 200 duration: 606.442154ms - - id: 78 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -3884,7 +3688,7 @@ interactions: status: 200 OK code: 200 duration: 256.283777ms - - id: 79 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 @@ -3933,7 +3737,7 @@ interactions: status: 200 OK code: 200 duration: 136.693725ms - - id: 80 + - id: 76 request: proto: HTTP/1.1 proto_major: 1 @@ -3982,7 +3786,7 @@ interactions: status: 200 OK code: 200 duration: 116.409795ms - - id: 81 + - id: 77 request: proto: HTTP/1.1 proto_major: 1 @@ -4031,7 +3835,7 @@ interactions: status: 200 OK code: 200 duration: 28.39774ms - - id: 82 + - id: 78 request: proto: HTTP/1.1 proto_major: 1 @@ -4080,7 +3884,7 @@ interactions: status: 200 OK code: 200 duration: 92.879547ms - - id: 83 + - id: 79 request: proto: HTTP/1.1 proto_major: 1 @@ -4129,7 +3933,7 @@ interactions: status: 200 OK code: 200 duration: 120.350472ms - - id: 84 + - id: 80 request: proto: HTTP/1.1 proto_major: 1 @@ -4178,7 +3982,7 @@ interactions: status: 200 OK code: 200 duration: 28.764686ms - - id: 85 + - id: 81 request: proto: HTTP/1.1 proto_major: 1 @@ -4227,7 +4031,7 @@ interactions: status: 200 OK code: 200 duration: 69.51542ms - - id: 86 + - id: 82 request: proto: HTTP/1.1 proto_major: 1 @@ -4276,7 +4080,7 @@ interactions: status: 200 OK code: 200 duration: 148.440194ms - - id: 87 + - id: 83 request: proto: HTTP/1.1 proto_major: 1 @@ -4325,7 +4129,7 @@ interactions: status: 200 OK code: 200 duration: 99.989076ms - - id: 88 + - id: 84 request: proto: HTTP/1.1 proto_major: 1 @@ -4374,7 +4178,7 @@ interactions: status: 200 OK code: 200 duration: 37.789721ms - - id: 89 + - id: 85 request: proto: HTTP/1.1 proto_major: 1 @@ -4423,7 +4227,7 @@ interactions: status: 200 OK code: 200 duration: 58.181444ms - - id: 90 + - id: 86 request: proto: HTTP/1.1 proto_major: 1 @@ -4472,7 +4276,7 @@ interactions: status: 200 OK code: 200 duration: 129.010713ms - - id: 91 + - id: 87 request: proto: HTTP/1.1 proto_major: 1 @@ -4521,7 +4325,7 @@ interactions: status: 200 OK code: 200 duration: 85.2261ms - - id: 92 + - id: 88 request: proto: HTTP/1.1 proto_major: 1 @@ -4570,7 +4374,7 @@ interactions: status: 200 OK code: 200 duration: 325.986726ms - - id: 93 + - id: 89 request: proto: HTTP/1.1 proto_major: 1 @@ -4619,7 +4423,7 @@ interactions: status: 200 OK code: 200 duration: 125.201994ms - - id: 94 + - id: 90 request: proto: HTTP/1.1 proto_major: 1 @@ -4670,7 +4474,7 @@ interactions: status: 200 OK code: 200 duration: 195.242537ms - - id: 95 + - id: 91 request: proto: HTTP/1.1 proto_major: 1 @@ -4719,7 +4523,7 @@ interactions: status: 200 OK code: 200 duration: 117.523961ms - - id: 96 + - id: 92 request: proto: HTTP/1.1 proto_major: 1 @@ -4766,7 +4570,7 @@ interactions: status: 204 No Content code: 204 duration: 382.099348ms - - id: 97 + - id: 93 request: proto: HTTP/1.1 proto_major: 1 @@ -4813,7 +4617,7 @@ interactions: status: 204 No Content code: 204 duration: 1.677697894s - - id: 98 + - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -4862,7 +4666,7 @@ interactions: status: 200 OK code: 200 duration: 511.453714ms - - id: 99 + - id: 95 request: proto: HTTP/1.1 proto_major: 1 @@ -4911,7 +4715,7 @@ interactions: status: 200 OK code: 200 duration: 122.983159ms - - id: 100 + - id: 96 request: proto: HTTP/1.1 proto_major: 1 @@ -4962,7 +4766,7 @@ interactions: status: 200 OK code: 200 duration: 2.701512182s - - id: 101 + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5011,7 +4815,7 @@ interactions: status: 200 OK code: 200 duration: 147.892809ms - - id: 102 + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5060,7 +4864,7 @@ interactions: status: 200 OK code: 200 duration: 109.843692ms - - id: 103 + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5109,7 +4913,7 @@ interactions: status: 200 OK code: 200 duration: 170.776756ms - - id: 104 + - id: 100 request: proto: HTTP/1.1 proto_major: 1 @@ -5158,7 +4962,7 @@ interactions: status: 200 OK code: 200 duration: 72.078818ms - - id: 105 + - id: 101 request: proto: HTTP/1.1 proto_major: 1 @@ -5207,7 +5011,7 @@ interactions: status: 200 OK code: 200 duration: 165.985867ms - - id: 106 + - id: 102 request: proto: HTTP/1.1 proto_major: 1 @@ -5256,7 +5060,7 @@ interactions: status: 200 OK code: 200 duration: 135.671199ms - - id: 107 + - id: 103 request: proto: HTTP/1.1 proto_major: 1 @@ -5305,7 +5109,7 @@ interactions: status: 200 OK code: 200 duration: 55.220911ms - - id: 108 + - id: 104 request: proto: HTTP/1.1 proto_major: 1 @@ -5354,7 +5158,7 @@ interactions: status: 200 OK code: 200 duration: 620.586457ms - - id: 109 + - id: 105 request: proto: HTTP/1.1 proto_major: 1 @@ -5403,7 +5207,7 @@ interactions: status: 200 OK code: 200 duration: 93.411402ms - - id: 110 + - id: 106 request: proto: HTTP/1.1 proto_major: 1 @@ -5452,7 +5256,7 @@ interactions: status: 200 OK code: 200 duration: 77.184976ms - - id: 111 + - id: 107 request: proto: HTTP/1.1 proto_major: 1 @@ -5501,7 +5305,7 @@ interactions: status: 200 OK code: 200 duration: 653.821912ms - - id: 112 + - id: 108 request: proto: HTTP/1.1 proto_major: 1 @@ -5550,7 +5354,7 @@ interactions: status: 200 OK code: 200 duration: 510.884079ms - - id: 113 + - id: 109 request: proto: HTTP/1.1 proto_major: 1 @@ -5599,7 +5403,7 @@ interactions: status: 200 OK code: 200 duration: 104.628208ms - - id: 114 + - id: 110 request: proto: HTTP/1.1 proto_major: 1 @@ -5648,7 +5452,7 @@ interactions: status: 404 Not Found code: 404 duration: 165.729355ms - - id: 115 + - id: 111 request: proto: HTTP/1.1 proto_major: 1 @@ -5695,7 +5499,7 @@ interactions: status: 204 No Content code: 204 duration: 1.463786283s - - id: 116 + - id: 112 request: proto: HTTP/1.1 proto_major: 1 @@ -5744,7 +5548,7 @@ interactions: status: 404 Not Found code: 404 duration: 56.252551ms - - id: 117 + - id: 113 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-private-network.cassette.yaml b/internal/services/rdb/testdata/instance-private-network.cassette.yaml index e3fa828090..54074b2d94 100644 --- a/internal/services/rdb/testdata/instance-private-network.cassette.yaml +++ b/internal/services/rdb/testdata/instance-private-network.cassette.yaml @@ -798,104 +798,6 @@ interactions: code: 200 duration: 88.923968ms - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/vpc-gw/v2/zones/nl-ams-1/gateways/fa4ff311-6456-4dc1-9f43-e2af26662dac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1283 - uncompressed: false - body: '{"bandwidth":100,"bastion_allowed_ips":["0.0.0.0/0"],"bastion_enabled":false,"bastion_port":61000,"created_at":"2025-05-16T15:08:03.969575Z","gateway_networks":[{"created_at":"2025-05-16T15:08:09.555794Z","gateway_id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","id":"80b74932-27a3-4e34-aaef-2601be3dadc7","ipam_ip_id":"910e4f3d-3a6f-494d-9d20-419c2a7a6685","masquerade_enabled":true,"private_network_id":"81e18a36-837f-4ce0-8e62-29232a3e926c","push_default_route":true,"status":"created","updated_at":"2025-05-16T15:08:09.555794Z","zone":"nl-ams-1"}],"id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","ipv4":{"address":"51.15.47.221","created_at":"2025-05-16T15:08:03.660419Z","gateway_id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","id":"baef0419-58b1-4a71-9bb4-6e40aefda46e","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","reverse":"221-47-15-51.instances.scw.cloud","tags":[],"updated_at":"2025-05-16T15:08:03.660419Z","zone":"nl-ams-1"},"is_legacy":false,"name":"foobar","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","smtp_enabled":false,"status":"configuring","tags":[],"type":"VPC-GW-S","updated_at":"2025-05-16T15:08:09.696094Z","version":"0.7.4","zone":"nl-ams-1"}' - headers: - Content-Length: - - "1283" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:08:14 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 33794d85-e520-4b15-be6b-9773e36c4409 - status: 200 OK - code: 200 - duration: 60.492359ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/vpc-gw/v2/zones/nl-ams-1/gateways/fa4ff311-6456-4dc1-9f43-e2af26662dac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1321 - uncompressed: false - body: '{"bandwidth":100,"bastion_allowed_ips":["0.0.0.0/0"],"bastion_enabled":false,"bastion_port":61000,"created_at":"2025-05-16T15:08:03.969575Z","gateway_networks":[{"created_at":"2025-05-16T15:08:09.555794Z","gateway_id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","id":"80b74932-27a3-4e34-aaef-2601be3dadc7","ipam_ip_id":"910e4f3d-3a6f-494d-9d20-419c2a7a6685","mac_address":"02:00:00:17:CC:7B","masquerade_enabled":true,"private_network_id":"81e18a36-837f-4ce0-8e62-29232a3e926c","push_default_route":true,"status":"configuring","updated_at":"2025-05-16T15:08:15.520828Z","zone":"nl-ams-1"}],"id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","ipv4":{"address":"51.15.47.221","created_at":"2025-05-16T15:08:03.660419Z","gateway_id":"fa4ff311-6456-4dc1-9f43-e2af26662dac","id":"baef0419-58b1-4a71-9bb4-6e40aefda46e","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","reverse":"221-47-15-51.instances.scw.cloud","tags":[],"updated_at":"2025-05-16T15:08:03.660419Z","zone":"nl-ams-1"},"is_legacy":false,"name":"foobar","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","smtp_enabled":false,"status":"configuring","tags":[],"type":"VPC-GW-S","updated_at":"2025-05-16T15:08:09.696094Z","version":"0.7.4","zone":"nl-ams-1"}' - headers: - Content-Length: - - "1321" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:08:19 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 76ea3931-d70b-4ec5-aadd-ede5c8b7ba1a - status: 200 OK - code: 200 - duration: 44.551851ms - - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -944,7 +846,7 @@ interactions: status: 200 OK code: 200 duration: 46.23181ms - - id: 19 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -993,7 +895,7 @@ interactions: status: 200 OK code: 200 duration: 69.847002ms - - id: 20 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1042,7 +944,7 @@ interactions: status: 200 OK code: 200 duration: 110.875083ms - - id: 21 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1091,7 +993,7 @@ interactions: status: 200 OK code: 200 duration: 44.892455ms - - id: 22 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1140,7 +1042,7 @@ interactions: status: 200 OK code: 200 duration: 99.061859ms - - id: 23 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1189,7 +1091,7 @@ interactions: status: 200 OK code: 200 duration: 72.999126ms - - id: 24 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1238,154 +1140,7 @@ interactions: status: 200 OK code: 200 duration: 201.115508ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/5fe94e6c-b723-49e9-84e4-1cbe88c81347 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1059 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:08:04.197521Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c75c88db-abc0-4a72-9788-885a5c0703d5","ip":"192.168.1.254","name":null,"port":5432,"private_network":{"private_network_id":"81e18a36-837f-4ce0-8e62-29232a3e926c","provisioning_mode":"static","service_ip":"192.168.1.254/24","zone":"nl-ams-1"}}],"engine":"PostgreSQL-16","id":"5fe94e6c-b723-49e9-84e4-1cbe88c81347","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-dhcp","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"nl-ams","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1059" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:09:05 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 946df7e0-360b-41a4-a822-97e492477726 - status: 200 OK - code: 200 - duration: 151.941917ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/5fe94e6c-b723-49e9-84e4-1cbe88c81347 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1059 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:08:04.197521Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c75c88db-abc0-4a72-9788-885a5c0703d5","ip":"192.168.1.254","name":null,"port":5432,"private_network":{"private_network_id":"81e18a36-837f-4ce0-8e62-29232a3e926c","provisioning_mode":"static","service_ip":"192.168.1.254/24","zone":"nl-ams-1"}}],"engine":"PostgreSQL-16","id":"5fe94e6c-b723-49e9-84e4-1cbe88c81347","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-dhcp","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1059" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:09:35 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 624a570c-c326-45dc-b265-15d6ac60be09 - status: 200 OK - code: 200 - duration: 249.53822ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/5fe94e6c-b723-49e9-84e4-1cbe88c81347 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1059 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-16T15:08:04.197521Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c75c88db-abc0-4a72-9788-885a5c0703d5","ip":"192.168.1.254","name":null,"port":5432,"private_network":{"private_network_id":"81e18a36-837f-4ce0-8e62-29232a3e926c","provisioning_mode":"static","service_ip":"192.168.1.254/24","zone":"nl-ams-1"}}],"engine":"PostgreSQL-16","id":"5fe94e6c-b723-49e9-84e4-1cbe88c81347","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-private-network-dhcp","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume","rdb_pn"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1059" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Fri, 16 May 2025 15:10:05 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6cc40673-40ce-4acf-bdde-2cd41df0062c - status: 200 OK - code: 200 - duration: 157.693979ms - - id: 28 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1434,7 +1189,7 @@ interactions: status: 200 OK code: 200 duration: 177.628977ms - - id: 29 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1483,7 +1238,7 @@ interactions: status: 200 OK code: 200 duration: 276.99562ms - - id: 30 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1532,7 +1287,7 @@ interactions: status: 200 OK code: 200 duration: 53.133821ms - - id: 31 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1581,7 +1336,7 @@ interactions: status: 200 OK code: 200 duration: 46.246737ms - - id: 32 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1632,7 +1387,7 @@ interactions: status: 200 OK code: 200 duration: 134.214247ms - - id: 33 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1681,7 +1436,7 @@ interactions: status: 200 OK code: 200 duration: 43.858988ms - - id: 34 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1730,7 +1485,7 @@ interactions: status: 200 OK code: 200 duration: 85.83129ms - - id: 35 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1779,7 +1534,7 @@ interactions: status: 200 OK code: 200 duration: 144.504542ms - - id: 36 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1828,7 +1583,7 @@ interactions: status: 200 OK code: 200 duration: 124.465801ms - - id: 37 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1877,7 +1632,7 @@ interactions: status: 200 OK code: 200 duration: 76.411537ms - - id: 38 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1926,7 +1681,7 @@ interactions: status: 200 OK code: 200 duration: 95.486231ms - - id: 39 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1975,7 +1730,7 @@ interactions: status: 200 OK code: 200 duration: 48.039298ms - - id: 40 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2024,7 +1779,7 @@ interactions: status: 200 OK code: 200 duration: 39.226055ms - - id: 41 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2073,7 +1828,7 @@ interactions: status: 200 OK code: 200 duration: 80.338534ms - - id: 42 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2122,7 +1877,7 @@ interactions: status: 200 OK code: 200 duration: 41.991858ms - - id: 43 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2171,7 +1926,7 @@ interactions: status: 200 OK code: 200 duration: 199.950351ms - - id: 44 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2220,7 +1975,7 @@ interactions: status: 200 OK code: 200 duration: 150.97023ms - - id: 45 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2269,7 +2024,7 @@ interactions: status: 200 OK code: 200 duration: 151.76381ms - - id: 46 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2318,7 +2073,7 @@ interactions: status: 200 OK code: 200 duration: 70.993711ms - - id: 47 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2367,7 +2122,7 @@ interactions: status: 200 OK code: 200 duration: 44.081532ms - - id: 48 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2416,7 +2171,7 @@ interactions: status: 200 OK code: 200 duration: 81.481684ms - - id: 49 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2465,7 +2220,7 @@ interactions: status: 200 OK code: 200 duration: 44.499241ms - - id: 50 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2514,7 +2269,7 @@ interactions: status: 200 OK code: 200 duration: 47.540338ms - - id: 51 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2563,7 +2318,7 @@ interactions: status: 200 OK code: 200 duration: 79.444599ms - - id: 52 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2612,7 +2367,7 @@ interactions: status: 200 OK code: 200 duration: 79.321759ms - - id: 53 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2661,7 +2416,7 @@ interactions: status: 200 OK code: 200 duration: 91.751281ms - - id: 54 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2710,7 +2465,7 @@ interactions: status: 200 OK code: 200 duration: 40.743662ms - - id: 55 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2759,7 +2514,7 @@ interactions: status: 200 OK code: 200 duration: 88.780515ms - - id: 56 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2808,7 +2563,7 @@ interactions: status: 200 OK code: 200 duration: 178.048328ms - - id: 57 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2857,7 +2612,7 @@ interactions: status: 200 OK code: 200 duration: 115.117613ms - - id: 58 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2906,7 +2661,7 @@ interactions: status: 200 OK code: 200 duration: 157.752568ms - - id: 59 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2955,7 +2710,7 @@ interactions: status: 200 OK code: 200 duration: 52.534403ms - - id: 60 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3004,7 +2759,7 @@ interactions: status: 200 OK code: 200 duration: 111.64991ms - - id: 61 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3051,7 +2806,7 @@ interactions: status: 204 No Content code: 204 duration: 81.262897ms - - id: 62 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3100,7 +2855,7 @@ interactions: status: 200 OK code: 200 duration: 43.916395ms - - id: 63 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3149,7 +2904,7 @@ interactions: status: 200 OK code: 200 duration: 79.098864ms - - id: 64 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3198,7 +2953,7 @@ interactions: status: 200 OK code: 200 duration: 90.397459ms - - id: 65 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3247,7 +3002,7 @@ interactions: status: 200 OK code: 200 duration: 181.928667ms - - id: 66 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3296,7 +3051,7 @@ interactions: status: 200 OK code: 200 duration: 82.662593ms - - id: 67 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3345,7 +3100,7 @@ interactions: status: 200 OK code: 200 duration: 199.587874ms - - id: 68 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3396,7 +3151,7 @@ interactions: status: 200 OK code: 200 duration: 148.439083ms - - id: 69 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3445,7 +3200,7 @@ interactions: status: 200 OK code: 200 duration: 279.418352ms - - id: 70 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3492,7 +3247,7 @@ interactions: status: 204 No Content code: 204 duration: 330.073213ms - - id: 71 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3541,7 +3296,7 @@ interactions: status: 200 OK code: 200 duration: 154.230244ms - - id: 72 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3590,7 +3345,7 @@ interactions: status: 404 Not Found code: 404 duration: 41.950421ms - - id: 73 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3639,7 +3394,7 @@ interactions: status: 200 OK code: 200 duration: 51.504644ms - - id: 74 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3688,7 +3443,7 @@ interactions: status: 200 OK code: 200 duration: 137.820045ms - - id: 75 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -3737,7 +3492,7 @@ interactions: status: 404 Not Found code: 404 duration: 39.289513ms - - id: 76 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -3784,7 +3539,7 @@ interactions: status: 204 No Content code: 204 duration: 816.814485ms - - id: 77 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -3833,7 +3588,7 @@ interactions: status: 200 OK code: 200 duration: 147.906854ms - - id: 78 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -3882,7 +3637,7 @@ interactions: status: 200 OK code: 200 duration: 149.963117ms - - id: 79 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -3931,7 +3686,7 @@ interactions: status: 200 OK code: 200 duration: 120.231345ms - - id: 80 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 @@ -3980,7 +3735,7 @@ interactions: status: 200 OK code: 200 duration: 42.07409ms - - id: 81 + - id: 76 request: proto: HTTP/1.1 proto_major: 1 @@ -4029,7 +3784,7 @@ interactions: status: 200 OK code: 200 duration: 72.692633ms - - id: 82 + - id: 77 request: proto: HTTP/1.1 proto_major: 1 @@ -4078,7 +3833,7 @@ interactions: status: 200 OK code: 200 duration: 153.085394ms - - id: 83 + - id: 78 request: proto: HTTP/1.1 proto_major: 1 @@ -4127,7 +3882,7 @@ interactions: status: 200 OK code: 200 duration: 110.690017ms - - id: 84 + - id: 79 request: proto: HTTP/1.1 proto_major: 1 @@ -4176,7 +3931,7 @@ interactions: status: 200 OK code: 200 duration: 119.406939ms - - id: 85 + - id: 80 request: proto: HTTP/1.1 proto_major: 1 @@ -4225,7 +3980,7 @@ interactions: status: 200 OK code: 200 duration: 271.733508ms - - id: 86 + - id: 81 request: proto: HTTP/1.1 proto_major: 1 @@ -4274,7 +4029,7 @@ interactions: status: 200 OK code: 200 duration: 158.481579ms - - id: 87 + - id: 82 request: proto: HTTP/1.1 proto_major: 1 @@ -4321,7 +4076,7 @@ interactions: status: 204 No Content code: 204 duration: 1.669833744s - - id: 88 + - id: 83 request: proto: HTTP/1.1 proto_major: 1 @@ -4368,7 +4123,7 @@ interactions: status: 204 No Content code: 204 duration: 230.534249ms - - id: 89 + - id: 84 request: proto: HTTP/1.1 proto_major: 1 @@ -4417,7 +4172,7 @@ interactions: status: 404 Not Found code: 404 duration: 105.485574ms - - id: 90 + - id: 85 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-sbs-volume.cassette.yaml b/internal/services/rdb/testdata/instance-sbs-volume.cassette.yaml index 94d7ad7745..fbf2474ddd 100644 --- a/internal/services/rdb/testdata/instance-sbs-volume.cassette.yaml +++ b/internal/services/rdb/testdata/instance-sbs-volume.cassette.yaml @@ -174,853 +174,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - db966dfd-e516-49d6-ba50-fbe2e68e6208 - status: 200 OK - code: 200 - duration: 172.393333ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0d0860a3-dd49-4d62-be22-177281deda36 - status: 200 OK - code: 200 - duration: 303.827ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:42 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 94dcef47-e115-4104-a7a4-9112973d244b - status: 200 OK - code: 200 - duration: 165.850416ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 40dc602b-9075-4baf-93b0-a95e102ca241 - status: 200 OK - code: 200 - duration: 212.495083ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:42 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 79bff689-0670-4ec6-bf58-90938ff980eb - status: 200 OK - code: 200 - duration: 193.840875ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 236473c1-9c33-45d0-a7fc-130226982735 - status: 200 OK - code: 200 - duration: 157.428917ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 835 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "835" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:43 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - de3d8ec8-dc0a-4094-b959-6f088acb5f4a - status: 200 OK - code: 200 - duration: 916.134041ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:13 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e2017972-b026-4ffc-9c20-7fc44eb8adb6 - status: 200 OK - code: 200 - duration: 232.981958ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2009 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2009" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 181fe1e1-6859-46bc-ad64-945179eac1ec - status: 200 OK - code: 200 - duration: 235.920958ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0f896f1f-5feb-47b3-ae0e-2bafa7fb8b98 - status: 200 OK - code: 200 - duration: 228.961209ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4f064227-0b43-4cba-b707-05297f161309 - status: 200 OK - code: 200 - duration: 234.169792ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2009 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2009" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7da6d033-0658-4594-8f15-7684c657466e - status: 200 OK - code: 200 - duration: 143.731833ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 262e5155-3e5a-4c60-8f3c-3d4d53a19cf6 - status: 200 OK - code: 200 - duration: 169.156834ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2009 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2009" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 294a0a30-6378-48eb-b7fa-444d42f4054b - status: 200 OK - code: 200 - duration: 129.666834ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c439f5d0-9b41-4f11-b927-23c77e2eb500 - status: 200 OK - code: 200 - duration: 207.775084ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 21a28009-6cc2-4834-918a-bc11ec4e1f64 - status: 200 OK - code: 200 - duration: 254.893042ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 27 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"volume_size":20000000000}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/upgrade - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1332 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1332" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bc0206ee-ea4f-4b1e-af2b-7f85f3af37c3 - status: 200 OK - code: 200 - duration: 381.59775ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1332 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1332" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:18 GMT + - Thu, 06 Feb 2025 13:38:13 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1030,11 +195,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8ba903ac-3507-4a38-aa7f-ec906441a6b0 + - e2017972-b026-4ffc-9c20-7fc44eb8adb6 status: 200 OK code: 200 - duration: 179.0095ms - - id: 21 + duration: 232.981958ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -1050,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate method: GET response: proto: HTTP/2.0 @@ -1058,18 +223,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1325 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1325" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:49 GMT + - Thu, 06 Feb 2025 13:38:14 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1079,11 +244,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4ae9f26d-c248-48ab-a41d-4a1de3b801cd + - 181fe1e1-6859-46bc-ad64-945179eac1ec status: 200 OK code: 200 - duration: 190.430084ms - - id: 22 + duration: 235.920958ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -1109,7 +274,7 @@ interactions: trailer: {} content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - "1325" @@ -1118,58 +283,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:49 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f68e5537-568d-4c6b-ae9f-6a4670b14072 - status: 200 OK - code: 200 - duration: 181.815791ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 60 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"tags":["terraform-test","scaleway_rdb_instance","volume"]}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1321 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1321" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:49 GMT + - Thu, 06 Feb 2025 13:38:14 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1179,11 +293,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c0c83f7-b112-4c54-8ecf-526b82a265ec + - 0f896f1f-5feb-47b3-ae0e-2bafa7fb8b98 status: 200 OK code: 200 - duration: 183.319125ms - - id: 24 + duration: 228.961209ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -1207,18 +321,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1321 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1321" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:49 GMT + - Thu, 06 Feb 2025 13:38:15 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1228,11 +342,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 17126e2a-6f2b-48fd-873a-7047854ce744 + - 4f064227-0b43-4cba-b707-05297f161309 status: 200 OK code: 200 - duration: 183.570417ms - - id: 25 + duration: 234.169792ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -1267,56 +381,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:49 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9a0c58d7-1e8a-4811-a555-3c26a3a56e6b - status: 200 OK - code: 200 - duration: 245.141167ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1321 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1321" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:50 GMT + - Thu, 06 Feb 2025 13:38:15 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1326,11 +391,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff2bb291-3199-4d6f-95a4-c76145a6f54b + - 7da6d033-0658-4594-8f15-7684c657466e status: 200 OK code: 200 - duration: 141.792208ms - - id: 27 + duration: 143.731833ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -1354,18 +419,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1321 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1321" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:51 GMT + - Thu, 06 Feb 2025 13:38:16 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1375,11 +440,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dda79f8f-29b7-4385-ad62-bb40a9e13a55 + - 262e5155-3e5a-4c60-8f3c-3d4d53a19cf6 status: 200 OK code: 200 - duration: 141.311042ms - - id: 28 + duration: 169.156834ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -1414,56 +479,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 33efccbd-dd71-4651-8fb1-4e31d2aa17fb - status: 200 OK - code: 200 - duration: 245.097542ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1321 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1321" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:52 GMT + - Thu, 06 Feb 2025 13:38:16 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1473,11 +489,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9702c2af-cc10-4eba-96d3-5dab4e43d2d0 + - 294a0a30-6378-48eb-b7fa-444d42f4054b status: 200 OK code: 200 - duration: 170.626459ms - - id: 30 + duration: 129.666834ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1493,7 +509,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 method: GET response: proto: HTTP/2.0 @@ -1501,18 +517,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2009 + content_length: 1325 uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "2009" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:52 GMT + - Thu, 06 Feb 2025 13:38:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1522,11 +538,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9b2e9824-0321-4037-99bf-2c6e0102d992 + - c439f5d0-9b41-4f11-b927-23c77e2eb500 status: 200 OK code: 200 - duration: 134.326625ms - - id: 31 + duration: 207.775084ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1550,18 +566,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1321 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1321" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:53 GMT + - Thu, 06 Feb 2025 13:38:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1571,46 +587,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4657c98d-d9b9-47f3-8d9c-218143576946 + - 21a28009-6cc2-4834-918a-bc11ec4e1f64 status: 200 OK code: 200 - duration: 174.412583ms - - id: 32 + duration: 254.893042ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 27 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"volume_size":20000000000}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1321 + content_length: 1332 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1321" + - "1332" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:53 GMT + - Thu, 06 Feb 2025 13:38:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1620,48 +638,46 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 124610d7-f3c0-4a52-9ac9-c4e5d62fffc0 + - bc0206ee-ea4f-4b1e-af2b-7f85f3af37c3 status: 200 OK code: 200 - duration: 211.712792ms - - id: 33 + duration: 381.59775ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 25 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"volume_type":"sbs_15k"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/upgrade - method: POST + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1332 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1332" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:54 GMT + - Thu, 06 Feb 2025 13:38:18 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1671,11 +687,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce994f7c-e74a-417d-a9ac-b8dc3fc5fa02 + - 8ba903ac-3507-4a38-aa7f-ec906441a6b0 status: 200 OK code: 200 - duration: 616.724125ms - - id: 34 + duration: 179.0095ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1699,18 +715,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:54 GMT + - Thu, 06 Feb 2025 13:38:49 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1720,11 +736,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d4ebd8fc-c011-489b-9088-55a333a1c09e + - 4ae9f26d-c248-48ab-a41d-4a1de3b801cd status: 200 OK code: 200 - duration: 159.470417ms - - id: 35 + duration: 190.430084ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1748,18 +764,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","sdb-volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:24 GMT + - Thu, 06 Feb 2025 13:38:49 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1769,46 +785,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ed2e3118-4519-480f-bdbb-ab6575db4052 + - f68e5537-568d-4c6b-ae9f-6a4670b14072 status: 200 OK code: 200 - duration: 165.278708ms - - id: 36 + duration: 181.815791ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 60 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"tags":["terraform-test","scaleway_rdb_instance","volume"]}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET + method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:55 GMT + - Thu, 06 Feb 2025 13:38:49 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1818,11 +836,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec7695c7-57f2-4982-9e05-76713bea8a36 + - 6c0c83f7-b112-4c54-8ecf-526b82a265ec status: 200 OK code: 200 - duration: 183.734542ms - - id: 37 + duration: 183.319125ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1846,18 +864,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:40:25 GMT + - Thu, 06 Feb 2025 13:38:49 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1867,11 +885,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 814c8a35-29b5-4daa-b0b2-8b0e87f329ee + - 17126e2a-6f2b-48fd-873a-7047854ce744 status: 200 OK code: 200 - duration: 170.043167ms - - id: 38 + duration: 183.570417ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1887,7 +905,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate method: GET response: proto: HTTP/2.0 @@ -1895,18 +913,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1329" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:40:55 GMT + - Thu, 06 Feb 2025 13:38:49 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1916,11 +934,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 017c7a65-7cb5-4c40-a451-739645ffc99a + - 9a0c58d7-1e8a-4811-a555-3c26a3a56e6b status: 200 OK code: 200 - duration: 178.994125ms - - id: 39 + duration: 245.141167ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1944,18 +962,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:41:25 GMT + - Thu, 06 Feb 2025 13:38:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1965,11 +983,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 55c005dd-8a6d-4a9b-85f4-8fead2863d87 + - ff2bb291-3199-4d6f-95a4-c76145a6f54b status: 200 OK code: 200 - duration: 183.53075ms - - id: 40 + duration: 141.792208ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1993,18 +1011,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:41:55 GMT + - Thu, 06 Feb 2025 13:38:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2014,11 +1032,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a14c0f1d-6af7-48ea-bd0f-5d7cc8f6d8bd + - dda79f8f-29b7-4385-ad62-bb40a9e13a55 status: 200 OK code: 200 - duration: 180.447416ms - - id: 41 + duration: 141.311042ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -2034,7 +1052,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate method: GET response: proto: HTTP/2.0 @@ -2042,18 +1060,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1329" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:42:25 GMT + - Thu, 06 Feb 2025 13:38:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2063,11 +1081,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a8b11b8-72b7-4942-8210-3c7323dabd0e + - 33efccbd-dd71-4651-8fb1-4e31d2aa17fb status: 200 OK code: 200 - duration: 157.354ms - - id: 42 + duration: 245.097542ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -2091,18 +1109,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:42:56 GMT + - Thu, 06 Feb 2025 13:38:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2112,11 +1130,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d8ce8f6b-ea2a-4873-96b2-ecbac69ed4b8 + - 9702c2af-cc10-4eba-96d3-5dab4e43d2d0 status: 200 OK code: 200 - duration: 163.10175ms - - id: 43 + duration: 170.626459ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -2132,7 +1150,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/certificate method: GET response: proto: HTTP/2.0 @@ -2140,18 +1158,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 2009 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQvRENDQXVTZ0F3SUJBZ0lVTWM4MEkzdlpib0gxOVh3QlFtWWcvbDRMU3h3d0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dERUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RmpBVUJnTlZCQU1NRFRVeExqRTFPQzR4TXpBdU9USXdIaGNOCk1qVXdNakEyTVRNek56VXdXaGNOTXpVd01qQTBNVE16TnpVd1dqQllNUXN3Q1FZRFZRUUdFd0pHVWpFT01Bd0cKQTFVRUNBd0ZVR0Z5YVhNeERqQU1CZ05WQkFjTUJWQmhjbWx6TVJFd0R3WURWUVFLREFoVFkyRnNaWGRoZVRFVwpNQlFHQTFVRUF3d05OVEV1TVRVNExqRXpNQzQ1TWpDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDCkFRb0NnZ0VCQU5GQ24xNnZwYWNRaGRTRldWQUZkMVlrdkY5aEUvclZmcDcxQ3VUZVV5cVpIcG1hSWdhcVAwWjIKUnZUZFhhSThZMWM1SE1Ca3V4WldnNUVHU0JPVjArZ2FBckJUVEFiL1l5L05xcU9IelZqKzZjZy94U25uclFUUQpERFZocWNhMllMa21OVUc2WndmMEl6ck8yb3QvOHFZejI0SnpuRjYwM3pKcTFneUE1WUhnRkxFUEVqbk5oY2pyClF5Sk9ybTFBN1J5ZStiUUxldFE4UVRlbXBGRi9HeTlqRVh5RnJEUVJyYjh5TFZGMyt0c2luNUhFZHhCb3gvRzQKN09JL21XSTFEdUFyTzd5elpYcS8zSFJyUFJKbldEL1haU3pGS2pUSE5BckRDeGZEckNjQzVLRUVhbkw2a1RlNApXbVkxUDl3S215UnllTS8xL0J5TXk4eFR5NlB6ck1jQ0F3RUFBYU9CdlRDQnVqQ0J0d1lEVlIwUkJJR3ZNSUdzCmdnMDFNUzR4TlRndU1UTXdMamt5Z2p4eWR5MHdOVFV6TWpReVlpMHhZVE5rTFRRNE5EZ3RPVGszWWkxa01HRXoKTjJRek1UY3daamN1Y21SaUxtNXNMV0Z0Y3k1elkzY3VZMnh2ZFdTQ0RUVXhMakUxT0M0eE16QXVPVEtDUEhKMwpMVEExTlRNeU5ESmlMVEZoTTJRdE5EZzBPQzA1T1RkaUxXUXdZVE0zWkRNeE56Qm1OeTV5WkdJdWJtd3RZVzF6CkxuTmpkeTVqYkc5MVpJY0VNNTY3KzRjRU01NkNYSWNFTTU2Q1hEQU5CZ2txaGtpRzl3MEJBUXNGQUFPQ0FRRUEKVnZvYnVRSmc1a1I5bStQWXpVdTN1b0s2SjdMajZGUGp1TWNQMjRvSG9CZTBPenF2bkl0YXY1MG12MU1YYlN1RAovSXEyMkNUcUJpbzMzS0xUTmZRcnJrY1hKbVVDS2N6UUJOYTZMT2diWHVUQWh1YWJrbGVPYURpVWxNY2hPSlkrCnVsbDZhd0tuVUxnT3diZm5yempDZkV5TWVTbDFFdEZjbUhUV0gvTTgxdU0rTzJJanZGdVhIbWlCU0d1ODI3aGMKbytQdU1BNzdGSkV0ajQrcDFXZU0xdmZvNFhDdERkNXA0TXhlSW0vSkl2MmJ4YVpIVnB6OVlvVytLQ3Q5aEdWYgpHbFdLc2cvUHY5SlU5YTZHN3h6Y3o5V2pMUWRFaGYzNGdvWXZhM1JqNmlHdzZheHU2VUdXYzc4dzRMZHNhc2xyCktzNnAwSHZMV3l6RWlxQXBwK0RrYmc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1329" + - "2009" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:43:26 GMT + - Thu, 06 Feb 2025 13:38:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2161,11 +1179,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bd3a33cc-bcbc-4da6-9c85-49ab0af32450 + - 9b2e9824-0321-4037-99bf-2c6e0102d992 status: 200 OK code: 200 - duration: 173.368666ms - - id: 44 + duration: 134.326625ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -2189,18 +1207,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:43:56 GMT + - Thu, 06 Feb 2025 13:38:53 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2210,11 +1228,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d41dea19-fe2d-4d7b-94fe-eb5499c2541b + - 4657c98d-d9b9-47f3-8d9c-218143576946 status: 200 OK code: 200 - duration: 167.04925ms - - id: 45 + duration: 174.412583ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -2238,18 +1256,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1329 + content_length: 1321 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_15k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.946492Z","encryption":{"enabled":false},"endpoint":{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511},"endpoints":[{"id":"533d00b2-f69c-4704-a079-a767e594a917","ip":"51.158.130.92","load_balancer":{},"name":null,"port":1511}],"engine":"PostgreSQL-15","id":"0553242b-1a3d-4848-997b-d0a37d3170f7","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-play2-pico","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":20000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1329" + - "1321" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:26 GMT + - Thu, 06 Feb 2025 13:38:53 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2259,28 +1277,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7ea64599-1f3c-4aea-bd2c-b06e8d1d56c3 + - 124610d7-f3c0-4a52-9ac9-c4e5d62fffc0 status: 200 OK code: 200 - duration: 239.330667ms - - id: 46 + duration: 211.712792ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 25 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"volume_type":"sbs_15k"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0553242b-1a3d-4848-997b-d0a37d3170f7/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -2298,7 +1318,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:56 GMT + - Thu, 06 Feb 2025 13:38:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2308,11 +1328,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f4781c1d-f2f4-4907-9cca-05e5576f82bd + - ce994f7c-e74a-417d-a9ac-b8dc3fc5fa02 status: 200 OK code: 200 - duration: 146.181625ms - - id: 47 + duration: 616.724125ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -2347,7 +1367,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:45:26 GMT + - Thu, 06 Feb 2025 13:38:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -2357,11 +1377,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4569cb0c-de6c-449d-a2d9-3ad163c8e4b8 + - d4ebd8fc-c011-489b-9088-55a333a1c09e status: 200 OK code: 200 - duration: 189.310375ms - - id: 48 + duration: 159.470417ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +1430,7 @@ interactions: status: 200 OK code: 200 duration: 181.552833ms - - id: 49 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +1479,7 @@ interactions: status: 200 OK code: 200 duration: 191.050791ms - - id: 50 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -2510,7 +1530,7 @@ interactions: status: 200 OK code: 200 duration: 184.3325ms - - id: 51 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -2559,7 +1579,7 @@ interactions: status: 200 OK code: 200 duration: 160.533958ms - - id: 52 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2608,7 +1628,7 @@ interactions: status: 200 OK code: 200 duration: 126.009084ms - - id: 53 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2657,7 +1677,7 @@ interactions: status: 200 OK code: 200 duration: 157.99375ms - - id: 54 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2706,7 +1726,7 @@ interactions: status: 200 OK code: 200 duration: 314.0765ms - - id: 55 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2755,7 +1775,7 @@ interactions: status: 200 OK code: 200 duration: 157.103542ms - - id: 56 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2804,7 +1824,7 @@ interactions: status: 200 OK code: 200 duration: 179.225083ms - - id: 57 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2853,7 +1873,7 @@ interactions: status: 200 OK code: 200 duration: 351.65775ms - - id: 58 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2902,7 +1922,7 @@ interactions: status: 200 OK code: 200 duration: 130.878584ms - - id: 59 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2951,7 +1971,7 @@ interactions: status: 404 Not Found code: 404 duration: 139.26425ms - - id: 60 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-settings.cassette.yaml b/internal/services/rdb/testdata/instance-settings.cassette.yaml index d4be66d987..dfb4fb3ace 100644 --- a/internal/services/rdb/testdata/instance-settings.cassette.yaml +++ b/internal/services/rdb/testdata/instance-settings.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 149.322042ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 775 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "775" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:52:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c1009442-7f60-4e2a-ba58-78369e5fde14 - status: 200 OK - code: 200 - duration: 161.083083ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 775 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "775" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ecb7c056-1441-4944-9a5d-7bea54fa3ab7 - status: 200 OK - code: 200 - duration: 125.758958ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 775 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "775" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:53:45 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b795a838-3093-489f-9664-f04e84e75a10 - status: 200 OK - code: 200 - duration: 131.940416ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 775 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "775" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ef5f7cbd-f75f-48be-86ad-48bb8d3e2181 - status: 200 OK - code: 200 - duration: 205.0745ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 775 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "775" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:54:45 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fb2816c8-3321-4bf3-88ef-17009e6cceb6 - status: 200 OK - code: 200 - duration: 164.598708ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1050 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1050" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:55:15 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 059f2eca-0aca-4847-9de6-9f2d92894fa2 - status: 200 OK - code: 200 - duration: 123.189042ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 260.521875ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 326.8355ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,56 +299,7 @@ interactions: status: 200 OK code: 200 duration: 215.013291ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/f77a4399-dcb4-489c-bd9d-fdd9efed04c8 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1275 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:52:14.349813Z","encryption":{"enabled":false},"endpoint":{"id":"2a2fa1f7-a8d1-4fd5-a1e3-62f14d6e3cb7","ip":"51.159.206.168","load_balancer":{},"name":null,"port":21733},"endpoints":[{"id":"2a2fa1f7-a8d1-4fd5-a1e3-62f14d6e3cb7","ip":"51.159.206.168","load_balancer":{},"name":null,"port":21733}],"engine":"PostgreSQL-15","id":"f77a4399-dcb4-489c-bd9d-fdd9efed04c8","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-settings","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"200"},{"name":"max_parallel_workers","value":"2"},{"name":"max_parallel_workers_per_gather","value":"2"},{"name":"work_mem","value":"4"}],"status":"configuring","tags":[],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1275" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:56:16 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cca2d85c-cd74-4cf6-acf4-5e073bc9abfb - status: 200 OK - code: 200 - duration: 153.95375ms - - id: 13 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 144.75625ms - - id: 14 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 106.96275ms - - id: 15 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 166.329791ms - - id: 16 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 191.870666ms - - id: 17 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 111.070667ms - - id: 18 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 190.033042ms - - id: 19 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 318.018208ms - - id: 20 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 135.611333ms - - id: 21 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +740,7 @@ interactions: status: 404 Not Found code: 404 duration: 108.953917ms - - id: 22 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-update-encryption-at-rest.cassette.yaml b/internal/services/rdb/testdata/instance-update-encryption-at-rest.cassette.yaml index fa9d0ad4be..b748f3d873 100644 --- a/internal/services/rdb/testdata/instance-update-encryption-at-rest.cassette.yaml +++ b/internal/services/rdb/testdata/instance-update-encryption-at-rest.cassette.yaml @@ -151,545 +151,6 @@ interactions: code: 200 duration: 159.459375ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 808 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "808" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:20 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 414543f4-32ee-4f3d-ac82-30f2ccd9970d - status: 200 OK - code: 200 - duration: 117.43575ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 808 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "808" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c296ab6d-1c34-4e10-a6e8-7402397ce835 - status: 200 OK - code: 200 - duration: 128.998834ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 808 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "808" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 728e7ec4-f172-48f4-a353-b385d3502441 - status: 200 OK - code: 200 - duration: 182.731ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 808 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "808" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7426d414-7eac-416e-924e-6b2da6fb3a88 - status: 200 OK - code: 200 - duration: 172.089458ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 808 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "808" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:43:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bb94c3ec-b0f3-49ad-b4df-df83e7d52a38 - status: 200 OK - code: 200 - duration: 143.329875ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1083 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1083" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:43:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4d77a4f9-7ca8-4b56-a80f-207cb2062727 - status: 200 OK - code: 200 - duration: 145.906209ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1300 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1300" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - aa620257-47b6-47a5-8c59-a6d485da78ed - status: 200 OK - code: 200 - duration: 152.8355ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVSHJSVU0rNVhxUmtWRHdwTW14c1FjZnhUcldFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRVdU1UY3hNQjRYCkRUSTFNREl3TmpFek5ETTFOMW9YRFRNMU1ESXdOREV6TkRNMU4xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFV1TVRjeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXplMUNNd0VpVmxKcWZ0RW1BYmFHaVQraGtVbUE4b1RoZmdKNlhKdTFyZWFwTnJ3MWZJNlMKY3dLSTVYaDJjT1VVdERJVC8vY0U0Zm8zWFM4SXdXZ2RZRk5MQ3dtbXZVMklkQnp4Y1NuOENLRFErQWdETVNYNgo4S0NmdWYrZjNOSi9pTDgvVTN4R3RHTFRvbnVSZW8wcHdnMW02LzNlVjRmVE5nWW01RnZXOVhTVHltSWR1WG9uCnZwYW5GcEhzVzFJTjRyTEJ4cTJzZUw2R2VhdkRmSGNob2I5NEtLM0J3WHEvTkt5ekhNaHU3SkFSWmJWZFdPUDYKTmkzcklhSHk3MnlDejBjVDJOWEtVaUFxcmhXNzE0Y09rWkgyaU15OFZiN3kreVFKQnJLaWFwenFsd2ZqbFZ1SQpvV3NKYXJJS3VrTU5mN3NvV0U4YXVuc2kxYlZMMXk0a2hRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHhNVFV1TVRjeGdqeHlkeTFrWVdFeE9XUTVZUzFrWlRZMUxUUmtOekF0T0dNeU5pMDEKTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHhNVFV1TVRjeApnanh5ZHkxa1lXRXhPV1E1WVMxa1pUWTFMVFJrTnpBdE9HTXlOaTAxTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQkRNUDljK0hCRE9mYzZ1SEJET2ZjNnN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFKTnFMdUVhUnkzd0M3T3pDc1EwUlNNbklabUNoSjgxSittS0QvUDJHV1U1SzZnUVB5emZueHBET29xbAp2d3lsTmZxcmJoWkJqelVkUStuMVo1c1BTVjFCMmczYUhHOHdMc3BrQUtJUWNtWE84aHBLSkc2Kzk4RmZzZWJYCkdvNzRHeFlTWWtBaHBUUWU1UDRGS3lrQkt2dEtkMVRjVjVKR2xlc0lkdGpvUUpFNUFFMTd4OFo1NnFBZWZuUWgKNmxKYXdHRFMzcGxmQ1RxaVE2dHB5ajFKTlpRUnNRNStxMDUzMFpFMWptVmpkRzVyS2hsaUNieGJxYllsS3pvOQpjQVo5cmVGSU9NTUdEL3o2aTVQWFJMVytySWJ3emNzWTQ0THNYRXI4c1hFeGFUSEtxb1J0eVhqN0pHQys0SXZHCmpsRlRBUlBNNWMzblNUemVBSTM5SkxwNTdlcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e376fc0f-f365-45a8-bb9b-0c2d3ca9ac09 - status: 200 OK - code: 200 - duration: 138.503ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1300 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1300" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:22 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f4541c60-5d9b-4176-a615-ef5db5175888 - status: 200 OK - code: 200 - duration: 147.593708ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1300 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1300" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:23 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9f4eb5a4-4bc1-4f49-b72f-e885e2580a8a - status: 200 OK - code: 200 - duration: 240.106708ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVSHJSVU0rNVhxUmtWRHdwTW14c1FjZnhUcldFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRVdU1UY3hNQjRYCkRUSTFNREl3TmpFek5ETTFOMW9YRFRNMU1ESXdOREV6TkRNMU4xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFV1TVRjeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXplMUNNd0VpVmxKcWZ0RW1BYmFHaVQraGtVbUE4b1RoZmdKNlhKdTFyZWFwTnJ3MWZJNlMKY3dLSTVYaDJjT1VVdERJVC8vY0U0Zm8zWFM4SXdXZ2RZRk5MQ3dtbXZVMklkQnp4Y1NuOENLRFErQWdETVNYNgo4S0NmdWYrZjNOSi9pTDgvVTN4R3RHTFRvbnVSZW8wcHdnMW02LzNlVjRmVE5nWW01RnZXOVhTVHltSWR1WG9uCnZwYW5GcEhzVzFJTjRyTEJ4cTJzZUw2R2VhdkRmSGNob2I5NEtLM0J3WHEvTkt5ekhNaHU3SkFSWmJWZFdPUDYKTmkzcklhSHk3MnlDejBjVDJOWEtVaUFxcmhXNzE0Y09rWkgyaU15OFZiN3kreVFKQnJLaWFwenFsd2ZqbFZ1SQpvV3NKYXJJS3VrTU5mN3NvV0U4YXVuc2kxYlZMMXk0a2hRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHhNVFV1TVRjeGdqeHlkeTFrWVdFeE9XUTVZUzFrWlRZMUxUUmtOekF0T0dNeU5pMDEKTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHhNVFV1TVRjeApnanh5ZHkxa1lXRXhPV1E1WVMxa1pUWTFMVFJrTnpBdE9HTXlOaTAxTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQkRNUDljK0hCRE9mYzZ1SEJET2ZjNnN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFKTnFMdUVhUnkzd0M3T3pDc1EwUlNNbklabUNoSjgxSittS0QvUDJHV1U1SzZnUVB5emZueHBET29xbAp2d3lsTmZxcmJoWkJqelVkUStuMVo1c1BTVjFCMmczYUhHOHdMc3BrQUtJUWNtWE84aHBLSkc2Kzk4RmZzZWJYCkdvNzRHeFlTWWtBaHBUUWU1UDRGS3lrQkt2dEtkMVRjVjVKR2xlc0lkdGpvUUpFNUFFMTd4OFo1NnFBZWZuUWgKNmxKYXdHRFMzcGxmQ1RxaVE2dHB5ajFKTlpRUnNRNStxMDUzMFpFMWptVmpkRzVyS2hsaUNieGJxYllsS3pvOQpjQVo5cmVGSU9NTUdEL3o2aTVQWFJMVytySWJ3emNzWTQ0THNYRXI4c1hFeGFUSEtxb1J0eVhqN0pHQys0SXZHCmpsRlRBUlBNNWMzblNUemVBSTM5SkxwNTdlcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:23 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e41284bf-a4c9-4b50-bc0f-3133df8e2b9f - status: 200 OK - code: 200 - duration: 114.254416ms - - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -724,7 +185,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:24 GMT + - Thu, 06 Feb 2025 13:44:21 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -734,11 +195,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6429325d-b153-4dff-ac7b-70cd0b2ab702 + - aa620257-47b6-47a5-8c59-a6d485da78ed status: 200 OK code: 200 - duration: 150.879333ms - - id: 15 + duration: 152.8355ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -773,7 +234,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:24 GMT + - Thu, 06 Feb 2025 13:44:21 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -783,11 +244,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 18c56294-c71b-4f65-b38f-fa5fcc788177 + - e376fc0f-f365-45a8-bb9b-0c2d3ca9ac09 status: 200 OK code: 200 - duration: 249.502209ms - - id: 16 + duration: 138.503ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -822,7 +283,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:25 GMT + - Thu, 06 Feb 2025 13:44:22 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -832,11 +293,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9853a40c-8a8d-4f96-9f23-b56457c7991f + - f4541c60-5d9b-4176-a615-ef5db5175888 status: 200 OK code: 200 - duration: 133.056709ms - - id: 17 + duration: 147.593708ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -853,25 +314,25 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf - method: DELETE + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1303 + content_length: 1300 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "1303" + - "1300" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:26 GMT + - Thu, 06 Feb 2025 13:44:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -881,11 +342,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4dbec3cf-8a0f-43b1-8910-0452c658a80d + - 9f4eb5a4-4bc1-4f49-b72f-e885e2580a8a status: 200 OK code: 200 - duration: 256.1885ms - - id: 18 + duration: 240.106708ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -901,7 +362,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf/certificate method: GET response: proto: HTTP/2.0 @@ -909,18 +370,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1303 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVSHJSVU0rNVhxUmtWRHdwTW14c1FjZnhUcldFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRVdU1UY3hNQjRYCkRUSTFNREl3TmpFek5ETTFOMW9YRFRNMU1ESXdOREV6TkRNMU4xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFV1TVRjeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXplMUNNd0VpVmxKcWZ0RW1BYmFHaVQraGtVbUE4b1RoZmdKNlhKdTFyZWFwTnJ3MWZJNlMKY3dLSTVYaDJjT1VVdERJVC8vY0U0Zm8zWFM4SXdXZ2RZRk5MQ3dtbXZVMklkQnp4Y1NuOENLRFErQWdETVNYNgo4S0NmdWYrZjNOSi9pTDgvVTN4R3RHTFRvbnVSZW8wcHdnMW02LzNlVjRmVE5nWW01RnZXOVhTVHltSWR1WG9uCnZwYW5GcEhzVzFJTjRyTEJ4cTJzZUw2R2VhdkRmSGNob2I5NEtLM0J3WHEvTkt5ekhNaHU3SkFSWmJWZFdPUDYKTmkzcklhSHk3MnlDejBjVDJOWEtVaUFxcmhXNzE0Y09rWkgyaU15OFZiN3kreVFKQnJLaWFwenFsd2ZqbFZ1SQpvV3NKYXJJS3VrTU5mN3NvV0U4YXVuc2kxYlZMMXk0a2hRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHhNVFV1TVRjeGdqeHlkeTFrWVdFeE9XUTVZUzFrWlRZMUxUUmtOekF0T0dNeU5pMDEKTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHhNVFV1TVRjeApnanh5ZHkxa1lXRXhPV1E1WVMxa1pUWTFMVFJrTnpBdE9HTXlOaTAxTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQkRNUDljK0hCRE9mYzZ1SEJET2ZjNnN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFKTnFMdUVhUnkzd0M3T3pDc1EwUlNNbklabUNoSjgxSittS0QvUDJHV1U1SzZnUVB5emZueHBET29xbAp2d3lsTmZxcmJoWkJqelVkUStuMVo1c1BTVjFCMmczYUhHOHdMc3BrQUtJUWNtWE84aHBLSkc2Kzk4RmZzZWJYCkdvNzRHeFlTWWtBaHBUUWU1UDRGS3lrQkt2dEtkMVRjVjVKR2xlc0lkdGpvUUpFNUFFMTd4OFo1NnFBZWZuUWgKNmxKYXdHRFMzcGxmQ1RxaVE2dHB5ajFKTlpRUnNRNStxMDUzMFpFMWptVmpkRzVyS2hsaUNieGJxYllsS3pvOQpjQVo5cmVGSU9NTUdEL3o2aTVQWFJMVytySWJ3emNzWTQ0THNYRXI4c1hFeGFUSEtxb1J0eVhqN0pHQys0SXZHCmpsRlRBUlBNNWMzblNUemVBSTM5SkxwNTdlcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1303" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:26 GMT + - Thu, 06 Feb 2025 13:44:23 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -930,11 +391,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ed0add86-7371-45b7-bd7e-5d517bd0edb3 + - e41284bf-a4c9-4b50-bc0f-3133df8e2b9f status: 200 OK code: 200 - duration: 155.791375ms - - id: 19 + duration: 114.254416ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -958,69 +419,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 129 - uncompressed: false - body: '{"message":"resource is not found","resource":"instance","resource_id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","type":"not_found"}' - headers: - Content-Length: - - "129" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:56 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b6b12687-ccde-4c3a-87b5-0e7460953597 - status: 404 Not Found - code: 404 - duration: 98.663583ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 423 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"test-rdb-update-encryption","engine":"PostgreSQL-15","user_name":"user_enc","password":"thiZ_is_v\u0026ry_s3cret","node_type":"db-dev-s","is_ha_cluster":false,"disable_backup":true,"tags":["terraform-test","with-encryption"],"init_settings":null,"volume_type":"lssd","volume_size":0,"init_endpoints":null,"backup_same_region":false,"encryption":{"enabled":true}}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 809 + content_length: 1300 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "809" + - "1300" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:56 GMT + - Thu, 06 Feb 2025 13:44:24 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1030,11 +440,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63550b87-bdf3-4ad4-a642-2ba1ca6ef877 + - 6429325d-b153-4dff-ac7b-70cd0b2ab702 status: 200 OK code: 200 - duration: 659.559917ms - - id: 21 + duration: 150.879333ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -1050,7 +460,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf/certificate method: GET response: proto: HTTP/2.0 @@ -1058,18 +468,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVSHJSVU0rNVhxUmtWRHdwTW14c1FjZnhUcldFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR4TVRVdU1UY3hNQjRYCkRUSTFNREl3TmpFek5ETTFOMW9YRFRNMU1ESXdOREV6TkRNMU4xb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHhNVFV1TVRjeE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXplMUNNd0VpVmxKcWZ0RW1BYmFHaVQraGtVbUE4b1RoZmdKNlhKdTFyZWFwTnJ3MWZJNlMKY3dLSTVYaDJjT1VVdERJVC8vY0U0Zm8zWFM4SXdXZ2RZRk5MQ3dtbXZVMklkQnp4Y1NuOENLRFErQWdETVNYNgo4S0NmdWYrZjNOSi9pTDgvVTN4R3RHTFRvbnVSZW8wcHdnMW02LzNlVjRmVE5nWW01RnZXOVhTVHltSWR1WG9uCnZwYW5GcEhzVzFJTjRyTEJ4cTJzZUw2R2VhdkRmSGNob2I5NEtLM0J3WHEvTkt5ekhNaHU3SkFSWmJWZFdPUDYKTmkzcklhSHk3MnlDejBjVDJOWEtVaUFxcmhXNzE0Y09rWkgyaU15OFZiN3kreVFKQnJLaWFwenFsd2ZqbFZ1SQpvV3NKYXJJS3VrTU5mN3NvV0U4YXVuc2kxYlZMMXk0a2hRSURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHhNVFV1TVRjeGdqeHlkeTFrWVdFeE9XUTVZUzFrWlRZMUxUUmtOekF0T0dNeU5pMDEKTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHhNVFV1TVRjeApnanh5ZHkxa1lXRXhPV1E1WVMxa1pUWTFMVFJrTnpBdE9HTXlOaTAxTWpkbU1XUXhaamMwWW1ZdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQkRNUDljK0hCRE9mYzZ1SEJET2ZjNnN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFKTnFMdUVhUnkzd0M3T3pDc1EwUlNNbklabUNoSjgxSittS0QvUDJHV1U1SzZnUVB5emZueHBET29xbAp2d3lsTmZxcmJoWkJqelVkUStuMVo1c1BTVjFCMmczYUhHOHdMc3BrQUtJUWNtWE84aHBLSkc2Kzk4RmZzZWJYCkdvNzRHeFlTWWtBaHBUUWU1UDRGS3lrQkt2dEtkMVRjVjVKR2xlc0lkdGpvUUpFNUFFMTd4OFo1NnFBZWZuUWgKNmxKYXdHRFMzcGxmQ1RxaVE2dHB5ajFKTlpRUnNRNStxMDUzMFpFMWptVmpkRzVyS2hsaUNieGJxYllsS3pvOQpjQVo5cmVGSU9NTUdEL3o2aTVQWFJMVytySWJ3emNzWTQ0THNYRXI4c1hFeGFUSEtxb1J0eVhqN0pHQys0SXZHCmpsRlRBUlBNNWMzblNUemVBSTM5SkxwNTdlcz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "809" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:44:57 GMT + - Thu, 06 Feb 2025 13:44:24 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1079,11 +489,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a53bd5c-d3a6-423b-9b95-3de66ee483b6 + - 18c56294-c71b-4f65-b38f-fa5fcc788177 status: 200 OK code: 200 - duration: 158.220167ms - - id: 22 + duration: 249.502209ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1099,7 +509,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf method: GET response: proto: HTTP/2.0 @@ -1107,18 +517,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 1300 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "809" + - "1300" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:45:27 GMT + - Thu, 06 Feb 2025 13:44:25 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1128,11 +538,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a64e496-8e3e-44e5-aecd-e6cde0f29875 + - 9853a40c-8a8d-4f96-9f23-b56457c7991f status: 200 OK code: 200 - duration: 244.389875ms - - id: 23 + duration: 133.056709ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1148,26 +558,26 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 1303 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "809" + - "1303" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:45:57 GMT + - Thu, 06 Feb 2025 13:44:26 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1177,11 +587,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0733339f-579d-4404-a5dd-9412fabfc612 + - 4dbec3cf-8a0f-43b1-8910-0452c658a80d status: 200 OK code: 200 - duration: 142.1355ms - - id: 24 + duration: 256.1885ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1197,7 +607,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf method: GET response: proto: HTTP/2.0 @@ -1205,18 +615,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 1303 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:40:50.479092Z","encryption":{"enabled":false},"endpoint":{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461},"endpoints":[{"id":"4e65b57e-9d0e-4052-ad5d-82bc6223b9c0","ip":"51.159.115.171","load_balancer":{},"name":null,"port":2461}],"engine":"PostgreSQL-15","id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"deleting","tags":["terraform-test","no-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "809" + - "1303" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:46:27 GMT + - Thu, 06 Feb 2025 13:44:26 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1226,11 +636,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9eaa1ce9-d3c6-48a1-a595-5a9cd085ae92 + - ed0add86-7371-45b7-bd7e-5d517bd0edb3 status: 200 OK code: 200 - duration: 443.821625ms - - id: 25 + duration: 155.791375ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1246,7 +656,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/daa19d9a-de65-4d70-8c26-527f1d1f74bf method: GET response: proto: HTTP/2.0 @@ -1254,18 +664,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 809 + content_length: 129 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"message":"resource is not found","resource":"instance","resource_id":"daa19d9a-de65-4d70-8c26-527f1d1f74bf","type":"not_found"}' headers: Content-Length: - - "809" + - "129" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:46:58 GMT + - Thu, 06 Feb 2025 13:44:56 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1275,28 +685,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d5fd242b-6c45-4fff-84ca-8fb6359a6c37 - status: 200 OK - code: 200 - duration: 158.432208ms - - id: 26 + - b6b12687-ccde-4c3a-87b5-0e7460953597 + status: 404 Not Found + code: 404 + duration: 98.663583ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 423 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"test-rdb-update-encryption","engine":"PostgreSQL-15","user_name":"user_enc","password":"thiZ_is_v\u0026ry_s3cret","node_type":"db-dev-s","is_ha_cluster":false,"disable_backup":true,"tags":["terraform-test","with-encryption"],"init_settings":null,"volume_type":"lssd","volume_size":0,"init_endpoints":null,"backup_same_region":false,"encryption":{"enabled":true}}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7b72d608-fa9b-420a-8961-3b18ecf2d82a - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -1305,7 +717,7 @@ interactions: trailer: {} content_length: 809 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - "809" @@ -1314,7 +726,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:47:28 GMT + - Thu, 06 Feb 2025 13:44:56 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1324,11 +736,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 72b6f064-6cbf-41ef-8a35-7874d2d79bf1 + - 63550b87-bdf3-4ad4-a642-2ba1ca6ef877 status: 200 OK code: 200 - duration: 152.131583ms - - id: 27 + duration: 659.559917ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1352,18 +764,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1084 + content_length: 809 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:44:56.699631Z","encryption":{"enabled":true},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7b72d608-fa9b-420a-8961-3b18ecf2d82a","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update-encryption","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","with-encryption"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "1084" + - "809" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:47:58 GMT + - Thu, 06 Feb 2025 13:44:57 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1373,11 +785,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8f03fa1b-cfe0-4a4e-afbf-4dccde0e53bc + - 4a53bd5c-d3a6-423b-9b95-3de66ee483b6 status: 200 OK code: 200 - duration: 149.424208ms - - id: 28 + duration: 158.220167ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1426,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 187.642125ms - - id: 29 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1475,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 129.934083ms - - id: 30 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1524,7 +936,7 @@ interactions: status: 200 OK code: 200 duration: 148.887083ms - - id: 31 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 177.524958ms - - id: 32 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1622,7 +1034,7 @@ interactions: status: 200 OK code: 200 duration: 170.039583ms - - id: 33 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1671,7 +1083,7 @@ interactions: status: 200 OK code: 200 duration: 152.626375ms - - id: 34 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1720,7 +1132,7 @@ interactions: status: 200 OK code: 200 duration: 437.89225ms - - id: 35 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1769,7 +1181,7 @@ interactions: status: 200 OK code: 200 duration: 246.00475ms - - id: 36 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1818,7 +1230,7 @@ interactions: status: 404 Not Found code: 404 duration: 122.041917ms - - id: 37 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-volume.cassette.yaml b/internal/services/rdb/testdata/instance-volume.cassette.yaml index 6d412b0946..0c7fd44fa9 100644 --- a/internal/services/rdb/testdata/instance-volume.cassette.yaml +++ b/internal/services/rdb/testdata/instance-volume.cassette.yaml @@ -174,20 +174,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 824 + content_length: 1316 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "824" + - "1316" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:18:32 GMT + - Thu, 24 Apr 2025 14:21:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ad09b17-80cd-4e10-96b8-2119095558ba + - 7317f340-2f01-4643-8065-5ca639bf2b50 status: 200 OK code: 200 - duration: 344.258375ms + duration: 215.831125ms - id: 4 request: proto: HTTP/1.1 @@ -215,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate method: GET response: proto: HTTP/2.0 @@ -223,20 +223,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 824 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "824" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:19:03 GMT + - Thu, 24 Apr 2025 14:21:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6241d2be-3a0f-41a7-97a0-293c1eec0d76 + - 8726fee0-7057-4038-95af-e285e80466b9 status: 200 OK code: 200 - duration: 202.765417ms + duration: 154.671791ms - id: 5 request: proto: HTTP/1.1 @@ -272,18 +272,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 824 + content_length: 1316 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "824" + - "1316" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:19:34 GMT + - Thu, 24 Apr 2025 14:21:36 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ffb4dadf-3c10-44ad-9edb-3d63e7a0359c + - 1aebf87c-dc9b-4be5-9a13-fad620433fc1 status: 200 OK code: 200 - duration: 1.4156995s + duration: 196.123291ms - id: 6 request: proto: HTTP/1.1 @@ -321,20 +321,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 824 + content_length: 1316 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "824" + - "1316" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:20:04 GMT + - Thu, 24 Apr 2025 14:21:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -342,10 +342,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2d223a3b-6052-40f4-a696-835915147a4f + - a86352d2-11d0-4cec-b463-6febe109ae83 status: 200 OK code: 200 - duration: 198.574875ms + duration: 166.848625ms - id: 7 request: proto: HTTP/1.1 @@ -362,7 +362,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate method: GET response: proto: HTTP/2.0 @@ -370,20 +370,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 824 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "824" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:20:34 GMT + - Thu, 24 Apr 2025 14:21:37 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,60 +391,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21663b28-2a84-4bb9-b9ad-eeec9aa4827a + - 1f12a7de-ccf0-4427-bf08-a8fe5cf04a64 status: 200 OK code: 200 - duration: 202.473041ms + duration: 202.278667ms - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1099 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1099" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:21:05 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e0ed6711-2a4c-4fe3-a819-7904281cc3de - status: 200 OK - code: 200 - duration: 300.008625ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -479,7 +430,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:35 GMT + - Thu, 24 Apr 2025 14:21:38 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -489,11 +440,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7317f340-2f01-4643-8065-5ca639bf2b50 + - 3377b21a-4b94-4fd5-8d06-8e6424d651ff status: 200 OK code: 200 - duration: 215.831125ms - - id: 10 + duration: 193.895125ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -528,7 +479,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:35 GMT + - Thu, 24 Apr 2025 14:21:38 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -538,11 +489,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8726fee0-7057-4038-95af-e285e80466b9 + - e67a3ef9-a510-4a56-a820-728ce4ec8ecf status: 200 OK code: 200 - duration: 154.671791ms - - id: 11 + duration: 124.161083ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -577,7 +528,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:36 GMT + - Thu, 24 Apr 2025 14:21:39 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -587,11 +538,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1aebf87c-dc9b-4be5-9a13-fad620433fc1 + - 59ca2ea9-43c6-483a-be30-8d655ebebb44 status: 200 OK code: 200 - duration: 196.123291ms - - id: 12 + duration: 174.670833ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -626,7 +577,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:36 GMT + - Thu, 24 Apr 2025 14:21:39 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -636,46 +587,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a86352d2-11d0-4cec-b463-6febe109ae83 + - 11f33594-21d4-4fd9-bd7b-7f14426e2ff9 status: 200 OK code: 200 - duration: 166.848625ms - - id: 13 + duration: 179.84725ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 24 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"volume_type":"sbs_5k"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2013 + content_length: 1324 uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "2013" + - "1324" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:37 GMT + - Thu, 24 Apr 2025 14:21:40 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -685,11 +638,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1f12a7de-ccf0-4427-bf08-a8fe5cf04a64 + - cf2eb6a5-2901-47ba-8e02-0b125dbc1de2 status: 200 OK code: 200 - duration: 202.278667ms - - id: 14 + duration: 625.149625ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -713,18 +666,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1316 + content_length: 1324 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1316" + - "1324" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:38 GMT + - Thu, 24 Apr 2025 14:21:40 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -734,11 +687,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3377b21a-4b94-4fd5-8d06-8e6424d651ff + - 3071227a-0f9b-4bb9-99f9-5d416976fd69 status: 200 OK code: 200 - duration: 193.895125ms - - id: 15 + duration: 151.607375ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -754,7 +707,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 method: GET response: proto: HTTP/2.0 @@ -762,20 +715,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 2013 + content_length: 1317 uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "2013" + - "1317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:38 GMT + - Thu, 24 Apr 2025 14:28:13 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -783,11 +736,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e67a3ef9-a510-4a56-a820-728ce4ec8ecf + - ad1b2587-f9e4-4a6a-8700-5496ad4f2215 status: 200 OK code: 200 - duration: 124.161083ms - - id: 16 + duration: 195.047917ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -811,20 +764,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1316 + content_length: 1317 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1316" + - "1317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:39 GMT + - Thu, 24 Apr 2025 14:28:14 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -832,48 +785,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 59ca2ea9-43c6-483a-be30-8d655ebebb44 + - 3e44ddb4-af0e-4af2-a54c-a6bc3128a6a5 status: 200 OK code: 200 - duration: 174.670833ms - - id: 17 + duration: 1.22568s + - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 27 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"volume_size":10000000000}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1316 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1316" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:39 GMT + - Thu, 24 Apr 2025 14:28:14 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -881,2065 +836,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11f33594-21d4-4fd9-bd7b-7f14426e2ff9 + - 9cce117b-1c69-4e80-9f05-817854ff8c97 status: 200 OK code: 200 - duration: 179.84725ms - - id: 18 + duration: 417.846584ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 24 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"volume_type":"sbs_5k"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade - method: POST + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:21:40 GMT + - Thu, 24 Apr 2025 14:28:15 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cf2eb6a5-2901-47ba-8e02-0b125dbc1de2 - status: 200 OK - code: 200 - duration: 625.149625ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:21:40 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3071227a-0f9b-4bb9-99f9-5d416976fd69 - status: 200 OK - code: 200 - duration: 151.607375ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:22:10 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e4a30bb8-a1fc-4dd5-aaf0-a7fa12efe3da - status: 200 OK - code: 200 - duration: 188.53125ms - - id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:22:40 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8ea12fda-19e6-4562-88d6-8df448106230 - status: 200 OK - code: 200 - duration: 256.551042ms - - id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:23:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c106e375-18a5-4f7b-af23-826328462dce - status: 200 OK - code: 200 - duration: 256.760792ms - - id: 23 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:23:41 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e5f88141-c020-449f-8f76-28343789d779 - status: 200 OK - code: 200 - duration: 221.742708ms - - id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:24:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - acecd5bd-8179-4b9b-b12a-ba2b8aa7fe43 - status: 200 OK - code: 200 - duration: 234.211458ms - - id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:24:41 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - da2dd32c-1002-43c8-888a-8dde1c716f1f - status: 200 OK - code: 200 - duration: 163.343292ms - - id: 26 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:25:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 958db5e6-5ae4-42d6-a788-8adeb365143f - status: 200 OK - code: 200 - duration: 208.661458ms - - id: 27 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:25:42 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 92e186cb-fcc1-45bb-b6e7-4ad7537d64a8 - status: 200 OK - code: 200 - duration: 192.456667ms - - id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:26:12 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5f637bff-b444-4554-acb4-df16f1794065 - status: 200 OK - code: 200 - duration: 199.459208ms - - id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:26:42 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 253f2e64-b868-4722-8bcf-4c7690d28041 - status: 200 OK - code: 200 - duration: 298.080916ms - - id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:27:12 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c8f42089-c87a-4891-9d78-35eabd21a476 - status: 200 OK - code: 200 - duration: 213.166208ms - - id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1324 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1324" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:27:43 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d57dc819-5d98-4b72-8dfa-6a6018609502 - status: 200 OK - code: 200 - duration: 225.379875ms - - id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1317 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1317" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:13 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ad1b2587-f9e4-4a6a-8700-5496ad4f2215 - status: 200 OK - code: 200 - duration: 195.047917ms - - id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1317 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":5000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1317" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:14 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3e44ddb4-af0e-4af2-a54c-a6bc3128a6a5 - status: 200 OK - code: 200 - duration: 1.22568s - - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 27 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"volume_size":10000000000}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:14 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9cce117b-1c69-4e80-9f05-817854ff8c97 - status: 200 OK - code: 200 - duration: 417.846584ms - - id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:15 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 135e38ec-9ed1-43f6-bc9b-5d1360a457e4 - status: 200 OK - code: 200 - duration: 170.234583ms - - id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3682fbfd-f20d-42ee-8e1f-db2461058fc6 - status: 200 OK - code: 200 - duration: 215.751541ms - - id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a608ba00-d353-4329-bfdb-1288c5ee5b2f - status: 200 OK - code: 200 - duration: 193.070625ms - - id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 2 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b91117c7-fd05-41d5-a151-eb583b719cda - status: 200 OK - code: 200 - duration: 195.199708ms - - id: 39 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3ba40bf8-bada-445c-a781-0da381ccf228 - status: 200 OK - code: 200 - duration: 161.965667ms - - id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:46 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c2d08342-cda7-4422-8361-0fd5ab5fceb7 - status: 200 OK - code: 200 - duration: 144.52525ms - - id: 41 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:46 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cb76ce16-f9d9-4f98-817c-d41f372af520 - status: 200 OK - code: 200 - duration: 310.521208ms - - id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:47 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 72f04545-86f5-49b8-bbd6-a88686f877b3 - status: 200 OK - code: 200 - duration: 202.561333ms - - id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:47 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a835534f-37fb-4d09-9b04-255c9b2561db - status: 200 OK - code: 200 - duration: 193.481875ms - - id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:48 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - af29d43b-4379-43e9-850b-4fafa1225e31 - status: 200 OK - code: 200 - duration: 156.565917ms - - id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:48 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9a915dec-04de-4ca3-8595-c9ae66aa5434 - status: 200 OK - code: 200 - duration: 210.690166ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:50 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - af78d5c1-ec7f-4913-bad4-48bcde9e9788 - status: 200 OK - code: 200 - duration: 205.570417ms - - id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1318 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1318" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:50 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9e7c70f0-0be4-4f04-bd5a-179c4adcb59f - status: 200 OK - code: 200 - duration: 184.492209ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 24 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"node_type":"db-dev-m"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:50 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1abc74b0-01e5-4d8d-8aba-b690e4890dec - status: 200 OK - code: 200 - duration: 455.009292ms - - id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:28:50 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e93e3996-857a-4650-bc50-8e257179483e - status: 200 OK - code: 200 - duration: 158.449458ms - - id: 50 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:29:21 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9082b9b9-b39d-465b-b3db-1904c7406a3d - status: 200 OK - code: 200 - duration: 189.992417ms - - id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:29:51 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fb2f4d4f-f96f-492f-8d95-c323432fa76a - status: 200 OK - code: 200 - duration: 197.664708ms - - id: 52 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:30:21 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f131d315-abff-4ea5-b942-5c506342f21f - status: 200 OK - code: 200 - duration: 183.3185ms - - id: 53 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:30:51 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 23f89ccb-3cd3-4cef-8168-fb23f2657d48 - status: 200 OK - code: 200 - duration: 247.170042ms - - id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:31:21 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3b80a6bb-ecc7-468b-8445-42e067beceb3 - status: 200 OK - code: 200 - duration: 213.254625ms - - id: 55 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:31:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9b7c35fe-0024-491d-8752-9442ac4b1bca - status: 200 OK - code: 200 - duration: 215.657917ms - - id: 56 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:32:22 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fc49b274-878a-4d3e-b639-d1aa38e769f1 - status: 200 OK - code: 200 - duration: 220.706625ms - - id: 57 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:32:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9fd7af2f-b1e3-49fe-8e9d-51a0d1d8c24f - status: 200 OK - code: 200 - duration: 168.029416ms - - id: 58 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:33:22 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 32b0917d-f909-4386-aac1-6908e10d37bf - status: 200 OK - code: 200 - duration: 259.838916ms - - id: 59 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1325 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1325" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:33:52 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2947,11 +885,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a402a025-357e-4cec-bb50-dc323c873a75 + - 135e38ec-9ed1-43f6-bc9b-5d1360a457e4 status: 200 OK code: 200 - duration: 214.554458ms - - id: 60 + duration: 170.234583ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -2975,20 +913,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1325 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1325" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:34:23 GMT + - Thu, 24 Apr 2025 14:28:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2996,11 +934,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fae8337a-d2c4-413b-9a55-535d1d82231b + - 3682fbfd-f20d-42ee-8e1f-db2461058fc6 status: 200 OK code: 200 - duration: 385.146167ms - - id: 61 + duration: 215.751541ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -3024,18 +962,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1325 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1325" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:34:54 GMT + - Thu, 24 Apr 2025 14:28:45 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -3045,28 +983,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 26c2b257-0b04-48ec-950a-aaf1eaf163a3 + - a608ba00-d353-4329-bfdb-1288c5ee5b2f status: 200 OK code: 200 - duration: 1.192031709s - - id: 62 + duration: 193.070625ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 2 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -3075,7 +1015,7 @@ interactions: trailer: {} content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - "1318" @@ -3084,7 +1024,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:35:24 GMT + - Thu, 24 Apr 2025 14:28:45 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -3094,11 +1034,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7d6c246b-fe8c-4d6c-b8ed-3eb1c864fe60 + - b91117c7-fd05-41d5-a151-eb583b719cda status: 200 OK code: 200 - duration: 173.063042ms - - id: 63 + duration: 195.199708ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -3124,7 +1064,7 @@ interactions: trailer: {} content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - "1318" @@ -3133,9 +1073,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:35:24 GMT + - Thu, 24 Apr 2025 14:28:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3143,50 +1083,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 98379f09-eb84-416d-9567-ab79e763acc6 + - 3ba40bf8-bada-445c-a781-0da381ccf228 status: 200 OK code: 200 - duration: 196.390917ms - - id: 64 + duration: 161.965667ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 22 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"volume_type":"lssd"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade - method: POST + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1324" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:35:25 GMT + - Thu, 24 Apr 2025 14:28:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3194,11 +1132,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - be65191c-9df4-4a9c-a1d8-52987313efd7 + - c2d08342-cda7-4422-8361-0fd5ab5fceb7 status: 200 OK code: 200 - duration: 486.955833ms - - id: 65 + duration: 144.52525ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -3222,20 +1160,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:35:25 GMT + - Thu, 24 Apr 2025 14:28:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3243,11 +1181,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a071c0f-f954-4ff6-b4af-677f9c202b7c + - cb76ce16-f9d9-4f98-817c-d41f372af520 status: 200 OK code: 200 - duration: 173.199625ms - - id: 66 + duration: 310.521208ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -3271,20 +1209,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:35:55 GMT + - Thu, 24 Apr 2025 14:28:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3292,11 +1230,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c85d1e74-d8c0-438f-9b4f-cffe04388f1d + - 72f04545-86f5-49b8-bbd6-a88686f877b3 status: 200 OK code: 200 - duration: 182.723125ms - - id: 67 + duration: 202.561333ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -3312,7 +1250,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate method: GET response: proto: HTTP/2.0 @@ -3320,18 +1258,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1324" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:36:26 GMT + - Thu, 24 Apr 2025 14:28:47 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -3341,11 +1279,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f2bd8b64-928b-45c7-a4dc-06a1fe1cd1a9 + - a835534f-37fb-4d09-9b04-255c9b2561db status: 200 OK code: 200 - duration: 262.48875ms - - id: 68 + duration: 193.481875ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -3369,18 +1307,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:36:56 GMT + - Thu, 24 Apr 2025 14:28:48 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -3390,11 +1328,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 23511688-2509-404d-9490-078df106411d + - af29d43b-4379-43e9-850b-4fafa1225e31 status: 200 OK code: 200 - duration: 189.161042ms - - id: 69 + duration: 156.565917ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -3410,7 +1348,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/certificate method: GET response: proto: HTTP/2.0 @@ -3418,20 +1356,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 2013 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVR1FWZ0RWNHdOOE1OQzNYRlhkdGRyWTZTWlJZd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPQzR4TXpBdU1UQXpNQjRYCkRUSTFNRFF5TkRFME1qRXdObG9YRFRNMU1EUXlNakUwTWpFd05sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9DNHhNekF1TVRBek1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQTJDLzhwTHZEdHFsSUhPMFl4ejE3bkZZVC9ibkYrV1psUnNzUTV4VzMxRUFnNGU2NmdYMlcKYlhTQW1nQmtwMmRFNHdRMlNaS28zcHdpS3krVlkyUDZzazE1elBnTUtYbm9XbWNySU54VWJVVHM5M1NvK2svNwpRamZnK3B1amdkVEtiOTFrTDRNb3BxYThWWDdybmh6ZUNQSTNYNnlpQW5aQkM0WWZ6RlBHNzZaTnJ2eWw5ai9lCmpXR044UVVHSWkvME9HazZDcEJ0TCtzc0FVSDFEdGU0RTFJVWpQL2owRnZKRkM0NmJ2aVQrSHN0SDV0bFpRSlIKK1VYcXIwYUNkd1dmZ3BBTTY1cHB4N1hyTVd0b3duazZ6S0xpUEsxblNRREtINDNJOGZRQmVwcmNjT0ZsVlNucApUbFU0Um1sWHovbzhwbVRTeEpLUUxwUlN3OVYyblllTzl3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9DNHhNekF1TVRBemdqeHlkeTB3WVRWaU5EWTFZaTAxTW1Wa0xUUTFOek10T1dZMFppMHkKTWpBd056QXhabVV6WlRrdWNtUmlMbTVzTFdGdGN5NXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9DNHhNekF1TVRBegpnanh5ZHkwd1lUVmlORFkxWWkwMU1tVmtMVFExTnpNdE9XWTBaaTB5TWpBd056QXhabVV6WlRrdWNtUmlMbTVzCkxXRnRjeTV6WTNjdVkyeHZkV1NIQkRNUFR5eUhCRE9lZ21lSEJET2VnbWN3RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFNb2tjRVNIOVlHK21taTd0RzE1Ty8ydklsbTBkdG02dTRPRDJZV0RMbXlVUEhpOFkwOWM4SS9zdEY0WApWazY4N1hBWHB6cG85UjZ4RkZkU3pmSzlWcGdjRnlYbktzR0tTUUFvN2s2RHBhUTJseUxrNjlvcFR5NkRacXdPCjNsTDAwdFQ0UG84dXI5TVphL2ZpSHpXejYzNTZUTFAzUGEvM1JYUEtPTEUvOFoxN3M4K3JTM2NDSkNoU1BSd0sKVlpFWC9Ja2JhQ09JMkt2WEUrOXFiclEzQ20xR1N6K2FWcDJaT1JGems3NkNZZEozS3R6bU54MFp2dlRqMWFTegpLdFg0UXVlZjhxb3pKdzZGTU52dVI3cm5hUU02OUNOemJQMHNwUDdQMlM1alpnaUpXQlhRSHFvdUtJRUV0aThFCjNzSEFpdXlKbVFPM0hYZlVYNjdCTXJqdHo2UT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "1324" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:37:26 GMT + - Thu, 24 Apr 2025 14:28:48 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3439,11 +1377,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 827afd10-4a9c-44ea-ba72-45d034275a4c + - 9a915dec-04de-4ca3-8595-c9ae66aa5434 status: 200 OK code: 200 - duration: 227.513667ms - - id: 70 + duration: 210.690166ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -3467,20 +1405,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:37:56 GMT + - Thu, 24 Apr 2025 14:28:50 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3488,11 +1426,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 497df14b-aab6-4284-afd9-7083ad24ead8 + - af78d5c1-ec7f-4913-bad4-48bcde9e9788 status: 200 OK code: 200 - duration: 201.729041ms - - id: 71 + duration: 205.570417ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -3516,20 +1454,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:38:26 GMT + - Thu, 24 Apr 2025 14:28:50 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3537,48 +1475,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a899daab-0ecd-4b89-9f17-a13e9a315f40 + - 9e7c70f0-0be4-4f04-bd5a-179c4adcb59f status: 200 OK code: 200 - duration: 230.057375ms - - id: 72 + duration: 184.492209ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 24 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"node_type":"db-dev-m"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:38:57 GMT + - Thu, 24 Apr 2025 14:28:50 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3586,11 +1526,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 57e11bfc-2ced-4fca-999f-96104fbd9b85 + - 1abc74b0-01e5-4d8d-8aba-b690e4890dec status: 200 OK code: 200 - duration: 202.962791ms - - id: 73 + duration: 455.009292ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -3614,20 +1554,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1325 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1325" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:39:27 GMT + - Thu, 24 Apr 2025 14:28:50 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3635,11 +1575,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ced0be20-191f-495e-8274-3b80eb30edf2 + - e93e3996-857a-4650-bc50-8e257179483e status: 200 OK code: 200 - duration: 197.391ms - - id: 74 + duration: 158.449458ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -3663,20 +1603,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:39:57 GMT + - Thu, 24 Apr 2025 14:35:24 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3684,11 +1624,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce5b4f55-8bfe-45bc-9024-db2f5f19a289 + - 7d6c246b-fe8c-4d6c-b8ed-3eb1c864fe60 status: 200 OK code: 200 - duration: 218.17225ms - - id: 75 + duration: 173.063042ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -3712,18 +1652,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1324 + content_length: 1318 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:18:02.118646Z","encryption":{"enabled":false},"endpoint":{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276},"endpoints":[{"id":"bb4e7d40-5fdb-4d47-a41a-a54507b85f4e","ip":"51.158.130.103","load_balancer":{},"name":null,"port":2276}],"engine":"PostgreSQL-16","id":"0a5b465b-52ed-4573-9f4f-2200701fe3e9","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-instance-volume","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"nl-ams","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_instance","volume"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' headers: Content-Length: - - "1324" + - "1318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:40:27 GMT + - Thu, 24 Apr 2025 14:35:24 GMT Server: - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: @@ -3733,28 +1673,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 48b75e21-abf2-4741-8fdc-e080740c8cb7 + - 98379f09-eb84-416d-9567-ab79e763acc6 status: 200 OK code: 200 - duration: 298.104833ms - - id: 76 + duration: 196.390917ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 22 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"volume_type":"lssd"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/nl-ams/instances/0a5b465b-52ed-4573-9f4f-2200701fe3e9/upgrade + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -3772,9 +1714,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:40:58 GMT + - Thu, 24 Apr 2025 14:35:25 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3782,11 +1724,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba43cb28-3a0c-42e2-b43d-0995223f4b83 + - be65191c-9df4-4a9c-a1d8-52987313efd7 status: 200 OK code: 200 - duration: 218.938125ms - - id: 77 + duration: 486.955833ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -3821,9 +1763,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 24 Apr 2025 14:41:28 GMT + - Thu, 24 Apr 2025 14:35:25 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -3831,11 +1773,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 316a94a1-393d-4662-a3a7-ee5075554127 + - 7a071c0f-f954-4ff6-b4af-677f9c202b7c status: 200 OK code: 200 - duration: 198.790417ms - - id: 78 + duration: 173.199625ms + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -3884,7 +1826,7 @@ interactions: status: 200 OK code: 200 duration: 1.330696667s - - id: 79 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -3933,7 +1875,7 @@ interactions: status: 200 OK code: 200 duration: 225.241167ms - - id: 80 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -3984,7 +1926,7 @@ interactions: status: 200 OK code: 200 duration: 241.152ms - - id: 81 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -4033,7 +1975,7 @@ interactions: status: 200 OK code: 200 duration: 187.202584ms - - id: 82 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -4082,7 +2024,7 @@ interactions: status: 200 OK code: 200 duration: 164.82875ms - - id: 83 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -4131,7 +2073,7 @@ interactions: status: 200 OK code: 200 duration: 322.0465ms - - id: 84 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -4180,7 +2122,7 @@ interactions: status: 200 OK code: 200 duration: 160.619667ms - - id: 85 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -4229,7 +2171,7 @@ interactions: status: 200 OK code: 200 duration: 224.600709ms - - id: 86 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -4278,7 +2220,7 @@ interactions: status: 200 OK code: 200 duration: 286.153375ms - - id: 87 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -4327,7 +2269,7 @@ interactions: status: 200 OK code: 200 duration: 368.281209ms - - id: 88 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -4376,7 +2318,7 @@ interactions: status: 200 OK code: 200 duration: 162.755583ms - - id: 89 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -4425,7 +2367,7 @@ interactions: status: 404 Not Found code: 404 duration: 116.751708ms - - id: 90 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/instance-with-cluster.cassette.yaml b/internal/services/rdb/testdata/instance-with-cluster.cassette.yaml index bff1a2e6c2..da23789018 100644 --- a/internal/services/rdb/testdata/instance-with-cluster.cassette.yaml +++ b/internal/services/rdb/testdata/instance-with-cluster.cassette.yaml @@ -151,349 +151,6 @@ interactions: code: 200 duration: 146.430625ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:46:58 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 873efefa-b44c-46e1-a552-a5fcf8f60b9c - status: 200 OK - code: 200 - duration: 158.917958ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:47:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - dcdac538-e904-4f8c-ba86-25ed7de5fe44 - status: 200 OK - code: 200 - duration: 223.74525ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:47:58 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 27a10bc2-19f7-4387-8e68-23a75c7b99f2 - status: 200 OK - code: 200 - duration: 139.61775ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - db0cd059-3f24-494f-a97a-ff970772428e - status: 200 OK - code: 200 - duration: 115.890833ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:48:58 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0901d927-75ab-4a48-abb6-a1c75070309c - status: 200 OK - code: 200 - duration: 158.54875ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 848 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "848" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7226792d-b3a5-4fbe-9f95-063183988242 - status: 200 OK - code: 200 - duration: 143.67375ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1123 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"2700"},{"name":"maintenance_work_mem","value":"300"},{"name":"max_connections","value":"150"},{"name":"max_parallel_workers","value":"1"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"8"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1123" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:49:59 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9cbcdf79-80c4-4f3e-84e4-d467d8d60b29 - status: 200 OK - code: 200 - duration: 175.416417ms - - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 227.528709ms - - id: 11 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 153.288583ms - - id: 12 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 210.320541ms - - id: 13 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 116.224ms - - id: 14 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 156.979459ms - - id: 15 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 170.818375ms - - id: 16 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 142.970417ms - - id: 17 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 146.981ms - - id: 18 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 241.101209ms - - id: 19 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -985,56 +642,7 @@ interactions: status: 200 OK code: 200 duration: 266.748833ms - - id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1343 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:46:27.810283Z","retention":7},"created_at":"2025-02-06T13:46:27.810283Z","encryption":{"enabled":false},"endpoint":{"id":"7da98452-c721-4cdb-ad33-401f48a850d6","ip":"51.159.115.171","load_balancer":{},"name":null,"port":3590},"endpoints":[{"id":"7da98452-c721-4cdb-ad33-401f48a850d6","ip":"51.159.115.171","load_balancer":{},"name":null,"port":3590}],"engine":"PostgreSQL-15","id":"b0dfeca2-8d0c-4a1f-b56e-5dd56a8adf19","init_settings":[],"is_ha_cluster":true,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-with-cluster","node_type":"db-dev-m","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"2700"},{"name":"maintenance_work_mem","value":"300"},{"name":"max_connections","value":"150"},{"name":"max_parallel_workers","value":"1"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"8"}],"status":"deleting","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":25000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1343" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:51:03 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 891d6fd8-3ae7-4b9f-a48b-e07c36b41eca - status: 200 OK - code: 200 - duration: 147.060292ms - - id: 21 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +691,7 @@ interactions: status: 404 Not Found code: 404 duration: 634.330834ms - - id: 22 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/privilege-basic.cassette.yaml b/internal/services/rdb/testdata/privilege-basic.cassette.yaml index 60f437b2a7..b2a413baf4 100644 --- a/internal/services/rdb/testdata/privilege-basic.cassette.yaml +++ b/internal/services/rdb/testdata/privilege-basic.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 156.868542ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 856 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "856" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b69b40a1-12a8-4dc1-bb44-bb84342a07fd - status: 200 OK - code: 200 - duration: 275.158542ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 856 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "856" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:04 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8d6daf87-50e3-4186-b178-bf832004230c - status: 200 OK - code: 200 - duration: 167.359458ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 856 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "856" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d74d790c-f72e-423f-a61d-974fe25e99f9 - status: 200 OK - code: 200 - duration: 149.6725ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 856 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "856" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:05 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - aec76d69-7f1c-48f8-a9b3-d38ee44116b7 - status: 200 OK - code: 200 - duration: 144.038792ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 856 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "856" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:35 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 01285d2a-c2ca-41c7-afdc-ce4ee1eb05e9 - status: 200 OK - code: 200 - duration: 131.396916ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/5aa847a5-9045-4e6f-9161-60ed8058863d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1131 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:39:04.020849Z","retention":7},"created_at":"2025-02-06T13:39:04.020849Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"5aa847a5-9045-4e6f-9161-60ed8058863d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbPrivilege_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1131" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:05 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c16e3613-dd2a-4488-af5e-477da4f85532 - status: 200 OK - code: 200 - duration: 162.166833ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 1.838551334s - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 369.411667ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 159.557333ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 204.23625ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 137.442458ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 160.809916ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 168.338958ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 162.919875ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 146.34525ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -940,7 +646,7 @@ interactions: status: 200 OK code: 200 duration: 463.991083ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -989,7 +695,7 @@ interactions: status: 200 OK code: 200 duration: 185.089167ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1038,7 +744,7 @@ interactions: status: 200 OK code: 200 duration: 172.854792ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1087,7 +793,7 @@ interactions: status: 200 OK code: 200 duration: 162.781334ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1136,7 +842,7 @@ interactions: status: 200 OK code: 200 duration: 124.865208ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1187,7 +893,7 @@ interactions: status: 200 OK code: 200 duration: 214.446125ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1236,7 +942,7 @@ interactions: status: 200 OK code: 200 duration: 153.338791ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1285,7 +991,7 @@ interactions: status: 200 OK code: 200 duration: 142.8885ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1334,7 +1040,7 @@ interactions: status: 200 OK code: 200 duration: 146.54825ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1383,7 +1089,7 @@ interactions: status: 200 OK code: 200 duration: 205.448625ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1432,7 +1138,7 @@ interactions: status: 200 OK code: 200 duration: 204.500166ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1481,7 +1187,7 @@ interactions: status: 200 OK code: 200 duration: 153.769833ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1530,7 +1236,7 @@ interactions: status: 200 OK code: 200 duration: 136.3575ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1579,7 +1285,7 @@ interactions: status: 200 OK code: 200 duration: 111.12425ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1628,7 +1334,7 @@ interactions: status: 200 OK code: 200 duration: 129.766833ms - - id: 33 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1677,7 +1383,7 @@ interactions: status: 200 OK code: 200 duration: 135.581333ms - - id: 34 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1726,7 +1432,7 @@ interactions: status: 200 OK code: 200 duration: 219.875166ms - - id: 35 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1775,7 +1481,7 @@ interactions: status: 200 OK code: 200 duration: 135.422125ms - - id: 36 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1824,7 +1530,7 @@ interactions: status: 200 OK code: 200 duration: 158.495791ms - - id: 37 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1873,7 +1579,7 @@ interactions: status: 200 OK code: 200 duration: 304.258959ms - - id: 38 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1922,7 +1628,7 @@ interactions: status: 200 OK code: 200 duration: 167.249459ms - - id: 39 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1971,7 +1677,7 @@ interactions: status: 200 OK code: 200 duration: 126.439209ms - - id: 40 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2020,7 +1726,7 @@ interactions: status: 200 OK code: 200 duration: 217.027875ms - - id: 41 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2069,7 +1775,7 @@ interactions: status: 200 OK code: 200 duration: 217.019291ms - - id: 42 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2118,7 +1824,7 @@ interactions: status: 200 OK code: 200 duration: 243.812334ms - - id: 43 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2167,7 +1873,7 @@ interactions: status: 200 OK code: 200 duration: 131.778042ms - - id: 44 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2216,7 +1922,7 @@ interactions: status: 200 OK code: 200 duration: 154.023541ms - - id: 45 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2265,7 +1971,7 @@ interactions: status: 200 OK code: 200 duration: 320.334542ms - - id: 46 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2314,7 +2020,7 @@ interactions: status: 200 OK code: 200 duration: 146.970458ms - - id: 47 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2365,7 +2071,7 @@ interactions: status: 200 OK code: 200 duration: 240.350042ms - - id: 48 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2414,7 +2120,7 @@ interactions: status: 200 OK code: 200 duration: 134.394708ms - - id: 49 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2463,7 +2169,7 @@ interactions: status: 200 OK code: 200 duration: 136.941333ms - - id: 50 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2512,7 +2218,7 @@ interactions: status: 200 OK code: 200 duration: 132.351625ms - - id: 51 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2563,7 +2269,7 @@ interactions: status: 200 OK code: 200 duration: 216.305708ms - - id: 52 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2612,7 +2318,7 @@ interactions: status: 200 OK code: 200 duration: 144.247959ms - - id: 53 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2661,7 +2367,7 @@ interactions: status: 200 OK code: 200 duration: 153.270708ms - - id: 54 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2710,7 +2416,7 @@ interactions: status: 200 OK code: 200 duration: 245.965ms - - id: 55 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2759,7 +2465,7 @@ interactions: status: 200 OK code: 200 duration: 251.282042ms - - id: 56 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2808,7 +2514,7 @@ interactions: status: 200 OK code: 200 duration: 276.916167ms - - id: 57 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2857,7 +2563,7 @@ interactions: status: 200 OK code: 200 duration: 149.839541ms - - id: 58 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2906,7 +2612,7 @@ interactions: status: 200 OK code: 200 duration: 104.62975ms - - id: 59 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2955,7 +2661,7 @@ interactions: status: 200 OK code: 200 duration: 115.19425ms - - id: 60 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -3004,7 +2710,7 @@ interactions: status: 200 OK code: 200 duration: 187.563042ms - - id: 61 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3053,7 +2759,7 @@ interactions: status: 200 OK code: 200 duration: 187.470291ms - - id: 62 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3102,7 +2808,7 @@ interactions: status: 200 OK code: 200 duration: 198.390208ms - - id: 63 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3151,7 +2857,7 @@ interactions: status: 200 OK code: 200 duration: 154.125083ms - - id: 64 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3200,7 +2906,7 @@ interactions: status: 200 OK code: 200 duration: 138.347417ms - - id: 65 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3249,7 +2955,7 @@ interactions: status: 200 OK code: 200 duration: 157.330125ms - - id: 66 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3298,7 +3004,7 @@ interactions: status: 200 OK code: 200 duration: 153.353333ms - - id: 67 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3347,7 +3053,7 @@ interactions: status: 200 OK code: 200 duration: 164.558834ms - - id: 68 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3396,7 +3102,7 @@ interactions: status: 200 OK code: 200 duration: 286.302916ms - - id: 69 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3445,7 +3151,7 @@ interactions: status: 200 OK code: 200 duration: 261.935959ms - - id: 70 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3494,7 +3200,7 @@ interactions: status: 200 OK code: 200 duration: 140.518834ms - - id: 71 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3543,7 +3249,7 @@ interactions: status: 200 OK code: 200 duration: 114.139084ms - - id: 72 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3592,7 +3298,7 @@ interactions: status: 200 OK code: 200 duration: 149.009792ms - - id: 73 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3641,7 +3347,7 @@ interactions: status: 200 OK code: 200 duration: 150.642917ms - - id: 74 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3690,7 +3396,7 @@ interactions: status: 200 OK code: 200 duration: 157.476583ms - - id: 75 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3739,7 +3445,7 @@ interactions: status: 200 OK code: 200 duration: 150.313958ms - - id: 76 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -3788,7 +3494,7 @@ interactions: status: 200 OK code: 200 duration: 167.33025ms - - id: 77 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -3837,7 +3543,7 @@ interactions: status: 200 OK code: 200 duration: 126.701416ms - - id: 78 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -3886,7 +3592,7 @@ interactions: status: 200 OK code: 200 duration: 133.715666ms - - id: 79 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -3935,7 +3641,7 @@ interactions: status: 200 OK code: 200 duration: 137.227208ms - - id: 80 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -3984,7 +3690,7 @@ interactions: status: 200 OK code: 200 duration: 163.327917ms - - id: 81 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 @@ -4033,7 +3739,7 @@ interactions: status: 200 OK code: 200 duration: 240.454084ms - - id: 82 + - id: 76 request: proto: HTTP/1.1 proto_major: 1 @@ -4082,7 +3788,7 @@ interactions: status: 200 OK code: 200 duration: 465.9595ms - - id: 83 + - id: 77 request: proto: HTTP/1.1 proto_major: 1 @@ -4131,7 +3837,7 @@ interactions: status: 200 OK code: 200 duration: 156.7005ms - - id: 84 + - id: 78 request: proto: HTTP/1.1 proto_major: 1 @@ -4182,7 +3888,7 @@ interactions: status: 200 OK code: 200 duration: 235.908791ms - - id: 85 + - id: 79 request: proto: HTTP/1.1 proto_major: 1 @@ -4231,7 +3937,7 @@ interactions: status: 200 OK code: 200 duration: 111.431791ms - - id: 86 + - id: 80 request: proto: HTTP/1.1 proto_major: 1 @@ -4280,7 +3986,7 @@ interactions: status: 200 OK code: 200 duration: 149.615292ms - - id: 87 + - id: 81 request: proto: HTTP/1.1 proto_major: 1 @@ -4329,7 +4035,7 @@ interactions: status: 200 OK code: 200 duration: 165.076833ms - - id: 88 + - id: 82 request: proto: HTTP/1.1 proto_major: 1 @@ -4380,7 +4086,7 @@ interactions: status: 200 OK code: 200 duration: 283.073917ms - - id: 89 + - id: 83 request: proto: HTTP/1.1 proto_major: 1 @@ -4429,7 +4135,7 @@ interactions: status: 200 OK code: 200 duration: 153.904375ms - - id: 90 + - id: 84 request: proto: HTTP/1.1 proto_major: 1 @@ -4478,7 +4184,7 @@ interactions: status: 200 OK code: 200 duration: 121.106125ms - - id: 91 + - id: 85 request: proto: HTTP/1.1 proto_major: 1 @@ -4527,7 +4233,7 @@ interactions: status: 200 OK code: 200 duration: 151.445542ms - - id: 92 + - id: 86 request: proto: HTTP/1.1 proto_major: 1 @@ -4576,7 +4282,7 @@ interactions: status: 200 OK code: 200 duration: 191.802833ms - - id: 93 + - id: 87 request: proto: HTTP/1.1 proto_major: 1 @@ -4625,7 +4331,7 @@ interactions: status: 200 OK code: 200 duration: 253.167375ms - - id: 94 + - id: 88 request: proto: HTTP/1.1 proto_major: 1 @@ -4674,7 +4380,7 @@ interactions: status: 200 OK code: 200 duration: 119.933833ms - - id: 95 + - id: 89 request: proto: HTTP/1.1 proto_major: 1 @@ -4723,7 +4429,7 @@ interactions: status: 200 OK code: 200 duration: 116.698583ms - - id: 96 + - id: 90 request: proto: HTTP/1.1 proto_major: 1 @@ -4772,7 +4478,7 @@ interactions: status: 200 OK code: 200 duration: 124.255458ms - - id: 97 + - id: 91 request: proto: HTTP/1.1 proto_major: 1 @@ -4821,7 +4527,7 @@ interactions: status: 200 OK code: 200 duration: 159.604667ms - - id: 98 + - id: 92 request: proto: HTTP/1.1 proto_major: 1 @@ -4870,7 +4576,7 @@ interactions: status: 200 OK code: 200 duration: 164.358542ms - - id: 99 + - id: 93 request: proto: HTTP/1.1 proto_major: 1 @@ -4919,7 +4625,7 @@ interactions: status: 200 OK code: 200 duration: 172.803916ms - - id: 100 + - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -4968,7 +4674,7 @@ interactions: status: 200 OK code: 200 duration: 145.580334ms - - id: 101 + - id: 95 request: proto: HTTP/1.1 proto_major: 1 @@ -5017,7 +4723,7 @@ interactions: status: 200 OK code: 200 duration: 147.889833ms - - id: 102 + - id: 96 request: proto: HTTP/1.1 proto_major: 1 @@ -5066,7 +4772,7 @@ interactions: status: 200 OK code: 200 duration: 155.498416ms - - id: 103 + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5115,7 +4821,7 @@ interactions: status: 200 OK code: 200 duration: 141.470625ms - - id: 104 + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5164,7 +4870,7 @@ interactions: status: 200 OK code: 200 duration: 129.855167ms - - id: 105 + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5213,7 +4919,7 @@ interactions: status: 200 OK code: 200 duration: 141.920125ms - - id: 106 + - id: 100 request: proto: HTTP/1.1 proto_major: 1 @@ -5262,7 +4968,7 @@ interactions: status: 200 OK code: 200 duration: 150.857708ms - - id: 107 + - id: 101 request: proto: HTTP/1.1 proto_major: 1 @@ -5311,7 +5017,7 @@ interactions: status: 200 OK code: 200 duration: 156.815375ms - - id: 108 + - id: 102 request: proto: HTTP/1.1 proto_major: 1 @@ -5360,7 +5066,7 @@ interactions: status: 200 OK code: 200 duration: 143.642875ms - - id: 109 + - id: 103 request: proto: HTTP/1.1 proto_major: 1 @@ -5409,7 +5115,7 @@ interactions: status: 200 OK code: 200 duration: 278.543958ms - - id: 110 + - id: 104 request: proto: HTTP/1.1 proto_major: 1 @@ -5458,7 +5164,7 @@ interactions: status: 200 OK code: 200 duration: 279.976209ms - - id: 111 + - id: 105 request: proto: HTTP/1.1 proto_major: 1 @@ -5507,7 +5213,7 @@ interactions: status: 200 OK code: 200 duration: 269.168ms - - id: 112 + - id: 106 request: proto: HTTP/1.1 proto_major: 1 @@ -5556,7 +5262,7 @@ interactions: status: 200 OK code: 200 duration: 137.167667ms - - id: 113 + - id: 107 request: proto: HTTP/1.1 proto_major: 1 @@ -5605,7 +5311,7 @@ interactions: status: 200 OK code: 200 duration: 137.263875ms - - id: 114 + - id: 108 request: proto: HTTP/1.1 proto_major: 1 @@ -5654,7 +5360,7 @@ interactions: status: 200 OK code: 200 duration: 150.210333ms - - id: 115 + - id: 109 request: proto: HTTP/1.1 proto_major: 1 @@ -5703,7 +5409,7 @@ interactions: status: 200 OK code: 200 duration: 148.833083ms - - id: 116 + - id: 110 request: proto: HTTP/1.1 proto_major: 1 @@ -5752,7 +5458,7 @@ interactions: status: 200 OK code: 200 duration: 147.286167ms - - id: 117 + - id: 111 request: proto: HTTP/1.1 proto_major: 1 @@ -5801,7 +5507,7 @@ interactions: status: 200 OK code: 200 duration: 165.315ms - - id: 118 + - id: 112 request: proto: HTTP/1.1 proto_major: 1 @@ -5850,7 +5556,7 @@ interactions: status: 200 OK code: 200 duration: 166.031875ms - - id: 119 + - id: 113 request: proto: HTTP/1.1 proto_major: 1 @@ -5899,7 +5605,7 @@ interactions: status: 200 OK code: 200 duration: 163.435833ms - - id: 120 + - id: 114 request: proto: HTTP/1.1 proto_major: 1 @@ -5948,7 +5654,7 @@ interactions: status: 200 OK code: 200 duration: 181.768542ms - - id: 121 + - id: 115 request: proto: HTTP/1.1 proto_major: 1 @@ -5999,7 +5705,7 @@ interactions: status: 200 OK code: 200 duration: 287.83625ms - - id: 122 + - id: 116 request: proto: HTTP/1.1 proto_major: 1 @@ -6050,7 +5756,7 @@ interactions: status: 409 Conflict code: 409 duration: 285.549917ms - - id: 123 + - id: 117 request: proto: HTTP/1.1 proto_major: 1 @@ -6101,7 +5807,7 @@ interactions: status: 200 OK code: 200 duration: 283.558ms - - id: 124 + - id: 118 request: proto: HTTP/1.1 proto_major: 1 @@ -6150,7 +5856,7 @@ interactions: status: 200 OK code: 200 duration: 107.465875ms - - id: 125 + - id: 119 request: proto: HTTP/1.1 proto_major: 1 @@ -6199,7 +5905,7 @@ interactions: status: 200 OK code: 200 duration: 138.542041ms - - id: 126 + - id: 120 request: proto: HTTP/1.1 proto_major: 1 @@ -6248,7 +5954,7 @@ interactions: status: 200 OK code: 200 duration: 163.308459ms - - id: 127 + - id: 121 request: proto: HTTP/1.1 proto_major: 1 @@ -6297,7 +6003,7 @@ interactions: status: 200 OK code: 200 duration: 162.035667ms - - id: 128 + - id: 122 request: proto: HTTP/1.1 proto_major: 1 @@ -6346,7 +6052,7 @@ interactions: status: 200 OK code: 200 duration: 139.708291ms - - id: 129 + - id: 123 request: proto: HTTP/1.1 proto_major: 1 @@ -6393,7 +6099,7 @@ interactions: status: 204 No Content code: 204 duration: 182.034833ms - - id: 130 + - id: 124 request: proto: HTTP/1.1 proto_major: 1 @@ -6440,7 +6146,7 @@ interactions: status: 204 No Content code: 204 duration: 191.839542ms - - id: 131 + - id: 125 request: proto: HTTP/1.1 proto_major: 1 @@ -6489,7 +6195,7 @@ interactions: status: 200 OK code: 200 duration: 127.360375ms - - id: 132 + - id: 126 request: proto: HTTP/1.1 proto_major: 1 @@ -6540,7 +6246,7 @@ interactions: status: 200 OK code: 200 duration: 199.279583ms - - id: 133 + - id: 127 request: proto: HTTP/1.1 proto_major: 1 @@ -6589,7 +6295,7 @@ interactions: status: 200 OK code: 200 duration: 186.229333ms - - id: 134 + - id: 128 request: proto: HTTP/1.1 proto_major: 1 @@ -6638,7 +6344,7 @@ interactions: status: 200 OK code: 200 duration: 146.804125ms - - id: 135 + - id: 129 request: proto: HTTP/1.1 proto_major: 1 @@ -6687,7 +6393,7 @@ interactions: status: 200 OK code: 200 duration: 147.545ms - - id: 136 + - id: 130 request: proto: HTTP/1.1 proto_major: 1 @@ -6734,7 +6440,7 @@ interactions: status: 204 No Content code: 204 duration: 224.777625ms - - id: 137 + - id: 131 request: proto: HTTP/1.1 proto_major: 1 @@ -6781,7 +6487,7 @@ interactions: status: 204 No Content code: 204 duration: 1.254605875s - - id: 138 + - id: 132 request: proto: HTTP/1.1 proto_major: 1 @@ -6830,7 +6536,7 @@ interactions: status: 200 OK code: 200 duration: 201.91ms - - id: 139 + - id: 133 request: proto: HTTP/1.1 proto_major: 1 @@ -6879,7 +6585,7 @@ interactions: status: 200 OK code: 200 duration: 142.006667ms - - id: 140 + - id: 134 request: proto: HTTP/1.1 proto_major: 1 @@ -6928,7 +6634,7 @@ interactions: status: 200 OK code: 200 duration: 292.633959ms - - id: 141 + - id: 135 request: proto: HTTP/1.1 proto_major: 1 @@ -6977,7 +6683,7 @@ interactions: status: 200 OK code: 200 duration: 170.06425ms - - id: 142 + - id: 136 request: proto: HTTP/1.1 proto_major: 1 @@ -7026,7 +6732,7 @@ interactions: status: 404 Not Found code: 404 duration: 125.910416ms - - id: 143 + - id: 137 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/rdb-snapshot-basic.cassette.yaml b/internal/services/rdb/testdata/rdb-snapshot-basic.cassette.yaml index ff07506a82..3697d7a9de 100644 --- a/internal/services/rdb/testdata/rdb-snapshot-basic.cassette.yaml +++ b/internal/services/rdb/testdata/rdb-snapshot-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 170.979791ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/41b965e3-c7ab-41d0-8c85-bb6c395e10b6 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 817 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:12.907758Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"41b965e3-c7ab-41d0-8c85-bb6c395e10b6","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "817" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:09:43 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3d9958aa-e295-4ebd-97e1-eb3166b5bb1d - status: 200 OK - code: 200 - duration: 140.617875ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/41b965e3-c7ab-41d0-8c85-bb6c395e10b6 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 817 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:12.907758Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"41b965e3-c7ab-41d0-8c85-bb6c395e10b6","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "817" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:10:14 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 06883928-d8c6-44b2-b57e-08df22fb0b84 - status: 200 OK - code: 200 - duration: 1.105836542s - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/41b965e3-c7ab-41d0-8c85-bb6c395e10b6 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 817 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:12.907758Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"41b965e3-c7ab-41d0-8c85-bb6c395e10b6","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "817" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:10:44 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7542e050-d664-408f-ac17-b86114f26550 - status: 200 OK - code: 200 - duration: 192.242292ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/41b965e3-c7ab-41d0-8c85-bb6c395e10b6 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 817 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:12.907758Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"41b965e3-c7ab-41d0-8c85-bb6c395e10b6","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "817" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:11:14 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 095c9852-408e-4446-9cc0-5f78c39c12d7 - status: 200 OK - code: 200 - duration: 171.781583ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/41b965e3-c7ab-41d0-8c85-bb6c395e10b6 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1092 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:12.907758Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"41b965e3-c7ab-41d0-8c85-bb6c395e10b6","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1092" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:11:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a06f08c6-c4a9-4db0-af10-82b5aa1de510 - status: 200 OK - code: 200 - duration: 186.957125ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 190.013625ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 212.888959ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 711.033417ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 120.26125ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 127.418209ms - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 143.525083ms - - id: 14 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 170.032291ms - - id: 15 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 229.558375ms - - id: 16 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 109.852958ms - - id: 17 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 132.451542ms - - id: 18 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 231.862541ms - - id: 19 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 175.432125ms - - id: 20 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 326.886292ms - - id: 21 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +838,7 @@ interactions: status: 200 OK code: 200 duration: 123.424125ms - - id: 22 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +887,7 @@ interactions: status: 404 Not Found code: 404 duration: 152.935875ms - - id: 23 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/rdb-snapshot-update.cassette.yaml b/internal/services/rdb/testdata/rdb-snapshot-update.cassette.yaml index c1f842dd2a..434196466c 100644 --- a/internal/services/rdb/testdata/rdb-snapshot-update.cassette.yaml +++ b/internal/services/rdb/testdata/rdb-snapshot-update.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 161.79975ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 818 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "818" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:09:44 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8f000179-fde7-46b7-a5d5-1d2525fc6640 - status: 200 OK - code: 200 - duration: 144.521541ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 818 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "818" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:10:14 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f1f9bd7f-1907-480d-bae8-3fe70d9b00d8 - status: 200 OK - code: 200 - duration: 204.922167ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 818 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "818" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:10:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f465bf5c-deb5-4ad0-8620-9b8b604b68e2 - status: 200 OK - code: 200 - duration: 219.056333ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 818 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "818" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:11:15 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d77cd883-6dee-49dc-a5f0-c2bc06a58aa3 - status: 200 OK - code: 200 - duration: 164.147917ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 818 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "818" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:11:45 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 887d15c4-2d95-446d-b5be-922e3c03eef9 - status: 200 OK - code: 200 - duration: 194.714708ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/13033ebf-8b13-4ee1-a306-e49b9829b453 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1093 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-04-24T14:09:14.297721Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-16","id":"13033ebf-8b13-4ee1-a306-e49b9829b453","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_instance","minimal"],"upgradable_version":[],"volume":{"class":"sbs","size":10000000000,"type":"sbs_5k"}}' - headers: - Content-Length: - - "1093" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 24 Apr 2025 14:12:15 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0459828a-e6e4-4bed-b41c-c0fa678562ec - status: 200 OK - code: 200 - duration: 155.728875ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 161.676459ms - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -542,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 183.171583ms - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 628.603875ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 112.098084ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 108.394333ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 147.536041ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -789,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 251.198708ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -838,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 138.143333ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 200.20125ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 155.75625ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 125.661ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 117.331791ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 229.987791ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 134.489041ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 167.923416ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 193.641166ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 150.76475ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 172.838125ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 580.2205ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 250.0015ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 243.84475ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 183.109792ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 416.140916ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 152.891875ms - - id: 33 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1379,7 @@ interactions: status: 404 Not Found code: 404 duration: 114.812666ms - - id: 34 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-basic.cassette.yaml b/internal/services/rdb/testdata/read-replica-basic.cassette.yaml index 474e2add64..cfb004f97b 100644 --- a/internal/services/rdb/testdata/read-replica-basic.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-basic.cassette.yaml @@ -151,251 +151,6 @@ interactions: code: 200 duration: 325.157667ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4886d8c3-a3db-446c-830f-187017f30653 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:09.525134Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4886d8c3-a3db-446c-830f-187017f30653","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:40 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 82327e70-78e6-4452-9a5a-d8dfe6849681 - status: 200 OK - code: 200 - duration: 196.045833ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4886d8c3-a3db-446c-830f-187017f30653 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:09.525134Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4886d8c3-a3db-446c-830f-187017f30653","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:10 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a0527792-d1d6-4309-888c-4e206765ad47 - status: 200 OK - code: 200 - duration: 283.188875ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4886d8c3-a3db-446c-830f-187017f30653 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:09.525134Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4886d8c3-a3db-446c-830f-187017f30653","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:40 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8c284f84-6c9b-4ddf-bdde-97e8645af5d8 - status: 200 OK - code: 200 - duration: 146.761875ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4886d8c3-a3db-446c-830f-187017f30653 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:09.525134Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4886d8c3-a3db-446c-830f-187017f30653","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:10 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 00029231-4a79-47ce-99ea-d9abffb52aac - status: 200 OK - code: 200 - duration: 194.832875ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/4886d8c3-a3db-446c-830f-187017f30653 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1097 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:09.525134Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"4886d8c3-a3db-446c-830f-187017f30653","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1097" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2a969796-2c60-4961-b0f1-fd2583f4b02e - status: 200 OK - code: 200 - duration: 162.507208ms - - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -444,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 153.2905ms - - id: 9 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +248,7 @@ interactions: status: 200 OK code: 200 duration: 105.142792ms - - id: 10 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 724.142417ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,252 +348,7 @@ interactions: status: 200 OK code: 200 duration: 109.464583ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/dd201138-4a02-495a-b1d8-3cbca74d59f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 177 - uncompressed: false - body: '{"endpoints":[],"id":"dd201138-4a02-495a-b1d8-3cbca74d59f7","instance_id":"4886d8c3-a3db-446c-830f-187017f30653","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "177" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:43 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a471df8d-9c5c-42ac-9293-e0bee25fb2f5 - status: 200 OK - code: 200 - duration: 1.230003875s - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/dd201138-4a02-495a-b1d8-3cbca74d59f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 290 - uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"fd7ba109-2e88-4b6e-b4f4-b3f2078d0920","ip":"212.47.244.87","name":null,"port":5432}],"id":"dd201138-4a02-495a-b1d8-3cbca74d59f7","instance_id":"4886d8c3-a3db-446c-830f-187017f30653","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "290" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:13 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 15ec8829-cb69-43f0-9700-040d33e13f2d - status: 200 OK - code: 200 - duration: 124.044791ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/dd201138-4a02-495a-b1d8-3cbca74d59f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 290 - uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"fd7ba109-2e88-4b6e-b4f4-b3f2078d0920","ip":"212.47.244.87","name":null,"port":5432}],"id":"dd201138-4a02-495a-b1d8-3cbca74d59f7","instance_id":"4886d8c3-a3db-446c-830f-187017f30653","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "290" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:43 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ddc9abd7-32ff-419c-9102-a2fedff33bfe - status: 200 OK - code: 200 - duration: 117.220958ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/dd201138-4a02-495a-b1d8-3cbca74d59f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 290 - uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"fd7ba109-2e88-4b6e-b4f4-b3f2078d0920","ip":"212.47.244.87","name":null,"port":5432}],"id":"dd201138-4a02-495a-b1d8-3cbca74d59f7","instance_id":"4886d8c3-a3db-446c-830f-187017f30653","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "290" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:13 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b6e1f365-4c70-4f0b-ac26-8c4caf41a881 - status: 200 OK - code: 200 - duration: 105.732333ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/dd201138-4a02-495a-b1d8-3cbca74d59f7 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 290 - uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"fd7ba109-2e88-4b6e-b4f4-b3f2078d0920","ip":"212.47.244.87","name":null,"port":5432}],"id":"dd201138-4a02-495a-b1d8-3cbca74d59f7","instance_id":"4886d8c3-a3db-446c-830f-187017f30653","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "290" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:44 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8a25236b-a7eb-4c24-b017-dbe311c25ee9 - status: 200 OK - code: 200 - duration: 144.987709ms - - id: 17 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -887,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 144.710834ms - - id: 18 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 111.279334ms - - id: 19 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 119.790583ms - - id: 20 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 485.472834ms - - id: 21 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 154.785709ms - - id: 22 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 106.822917ms - - id: 23 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1181,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 119.8225ms - - id: 24 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1230,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 360.547917ms - - id: 25 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1279,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 109.739292ms - - id: 26 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1328,7 +838,7 @@ interactions: status: 404 Not Found code: 404 duration: 371.735416ms - - id: 27 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1377,7 +887,7 @@ interactions: status: 200 OK code: 200 duration: 152.238375ms - - id: 28 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1426,7 +936,7 @@ interactions: status: 200 OK code: 200 duration: 298.121083ms - - id: 29 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1475,7 +985,7 @@ interactions: status: 200 OK code: 200 duration: 108.815292ms - - id: 30 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1524,7 +1034,7 @@ interactions: status: 404 Not Found code: 404 duration: 92.056959ms - - id: 31 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +1083,7 @@ interactions: status: 404 Not Found code: 404 duration: 90.874583ms - - id: 32 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-different-zone.cassette.yaml b/internal/services/rdb/testdata/read-replica-different-zone.cassette.yaml index bc6bb9bf1c..6d87cc6baf 100644 --- a/internal/services/rdb/testdata/read-replica-different-zone.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-different-zone.cassette.yaml @@ -202,300 +202,6 @@ interactions: code: 200 duration: 187.49875ms - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 948 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "948" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7f69a6e2-34f9-41e7-8f3e-569b8e39f0c7 - status: 200 OK - code: 200 - duration: 150.919791ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 948 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "948" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 16bda915-d518-4b06-821c-47bd29687153 - status: 200 OK - code: 200 - duration: 236.485375ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 948 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "948" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 29a899ec-9f78-4332-949e-406b9e45acdb - status: 200 OK - code: 200 - duration: 120.612083ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 948 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "948" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6483e898-c244-40d8-82ff-cc84e28a558c - status: 200 OK - code: 200 - duration: 159.662625ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 948 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "948" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bbd5c0e9-f1d0-4c01-8c63-a965acd66ac5 - status: 200 OK - code: 200 - duration: 117.359833ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1223 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.777277Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-14","id":"07020239-1c0e-4d38-8d39-001369ab2777","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-different-zone","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","different-zone"],"upgradable_version":[{"id":"b6f419f8-bc2d-41cf-9f82-176bcd65768d","minor_version":"15.10","name":"PostgreSQL-15","version":"15"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1223" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7939192f-2b79-4588-ada8-4f5b1efc92cc - status: 200 OK - code: 200 - duration: 143.511167ms - - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -532,205 +238,7 @@ interactions: Date: - Thu, 06 Feb 2025 13:37:43 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8d1bc84d-98f2-491e-8db4-bd87a8b31cae - status: 200 OK - code: 200 - duration: 1.567443083s - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2013 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVYUw0MHZwL1p4MHBvc3BGOU9DRHdmcEg2dnBFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR5TURRdU1UY3dNQjRYCkRUSTFNREl3TmpFek16Y3hNbG9YRFRNMU1ESXdOREV6TXpjeE1sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHlNRFF1TVRjd01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXQvVWdXaFp1YTF4Mi9RdDdTall3VFEvbGkyaFNMUmpMZzJ6VjVXcEk4S2JiMGJkS2VzbHgKU0Q4YWh2ckxsWGlKYUdnSnJoMVFPdFdndlhaNWt4OGFJcWlFTTJwWHp4bXFja3R1SkdpTkY5Q0owMitzL1FLRgpEakMyaEJ3R1NPbXRYK0kvcndJRnF3b2RuYXdSRXVoZEF5dTFucWRMZmFic1ExaE8yczFJRzdNbVlMaHZ2RE5qCk5TU1huZmo2ak9xUSs4cWlzdXJORTU3NUtvWUsxNThOWUpiUEQ3S3o4a2pzRlZYeXJhOS9kTzlERjg0eHd0SjkKN2E4dkxWZE5CRm0vRGsxTzUzU2UrV2pMTC9PVWFxcVlrNGhuNlJ4S0FyY1BCVUhVSlRBazF4MFByVGdNZHU1TgpFVmYvNVl2K0ZFbk9YRkF3RFM5bnZOSVk4ZmNoalNjdWR3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHlNRFF1TVRjd2dqeHlkeTB3TnpBeU1ESXpPUzB4WXpCbExUUmtNemd0T0dRek9TMHcKTURFek5qbGhZakkzTnpjdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHlNRFF1TVRjdwpnanh5ZHkwd056QXlNREl6T1MweFl6QmxMVFJrTXpndE9HUXpPUzB3TURFek5qbGhZakkzTnpjdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQktPc29zQ0hCRE9mektxSEJET2Z6S293RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFFNWRldiswbHFiZTJnbG83L3NxNnBOUmFKaE9HNmljWGRvWTJVcWRHWW9xTmxGSkwyWkpKNjl1TU8vcwpGSElnVXB6anEwMStGMEN5Qkh0RUtESXNpdkNDOHYzWUQ3b2Z4dmF5NjFuVUdOelhOL0ZZVzEyOEx4QVRybjFjCkZ5MndsanpJUTBqOC85UFRLQnBBN1NkcGpCUzZmdTZnTHlOMzI0UEdoWFhTQXB4eVJQNi83SUZ1YVlvbnVpVEQKS29YTjhjWFp5bUFodVZuM2UydXVFUGhUQ0N3QjQxZUpuczgzQlpEd1ZrelcxQS9udEdPbE5RbmxjUFRWenhxQwpLQVpzeW1jYWZETWNhdlZVeWl5Unp6cGZjYjVGVm9TOHhSYzNIQmQ4WVlIZzZheXJqeGNQck9QNzdpeWN5V1Q2ClNxTWpTTE5NSjNQMVBzdnN2MXBCdUJNWlJhUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2013" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:52 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8e61704a-66d5-4174-bb21-81f924c007d7 - status: 200 OK - code: 200 - duration: 8.978703292s - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 188 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","endpoint_spec":[{"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","ipam_config":{}}}],"same_zone":true}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 427 - uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "427" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:54 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bf35a4ed-ded5-4711-8879-0117830d0be1 - status: 200 OK - code: 200 - duration: 1.149252375s - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/ae7d87bd-8850-46e9-b7b7-fe7a7080c74f - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 427 - uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "427" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:54 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 53641813-c12f-4fc6-ad84-e28f0742e4a7 - status: 200 OK - code: 200 - duration: 132.452ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/ae7d87bd-8850-46e9-b7b7-fe7a7080c74f - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 427 - uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "427" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:25 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -738,11 +246,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce9d640e-ea96-4da3-945d-d16ef1fafb4e + - 8d1bc84d-98f2-491e-8db4-bd87a8b31cae status: 200 OK code: 200 - duration: 113.739875ms - - id: 15 + duration: 1.567443083s + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -758,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/ae7d87bd-8850-46e9-b7b7-fe7a7080c74f + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/07020239-1c0e-4d38-8d39-001369ab2777/certificate method: GET response: proto: HTTP/2.0 @@ -766,18 +274,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 427 + content_length: 2013 uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVBRENDQXVpZ0F3SUJBZ0lVYUw0MHZwL1p4MHBvc3BGOU9DRHdmcEg2dnBFd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dURUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RnpBVkJnTlZCQU1NRGpVeExqRTFPUzR5TURRdU1UY3dNQjRYCkRUSTFNREl3TmpFek16Y3hNbG9YRFRNMU1ESXdOREV6TXpjeE1sb3dXVEVMTUFrR0ExVUVCaE1DUmxJeERqQU0KQmdOVkJBZ01CVkJoY21sek1RNHdEQVlEVlFRSERBVlFZWEpwY3pFUk1BOEdBMVVFQ2d3SVUyTmhiR1YzWVhreApGekFWQmdOVkJBTU1EalV4TGpFMU9TNHlNRFF1TVRjd01JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBCk1JSUJDZ0tDQVFFQXQvVWdXaFp1YTF4Mi9RdDdTall3VFEvbGkyaFNMUmpMZzJ6VjVXcEk4S2JiMGJkS2VzbHgKU0Q4YWh2ckxsWGlKYUdnSnJoMVFPdFdndlhaNWt4OGFJcWlFTTJwWHp4bXFja3R1SkdpTkY5Q0owMitzL1FLRgpEakMyaEJ3R1NPbXRYK0kvcndJRnF3b2RuYXdSRXVoZEF5dTFucWRMZmFic1ExaE8yczFJRzdNbVlMaHZ2RE5qCk5TU1huZmo2ak9xUSs4cWlzdXJORTU3NUtvWUsxNThOWUpiUEQ3S3o4a2pzRlZYeXJhOS9kTzlERjg0eHd0SjkKN2E4dkxWZE5CRm0vRGsxTzUzU2UrV2pMTC9PVWFxcVlrNGhuNlJ4S0FyY1BCVUhVSlRBazF4MFByVGdNZHU1TgpFVmYvNVl2K0ZFbk9YRkF3RFM5bnZOSVk4ZmNoalNjdWR3SURBUUFCbzRHL01JRzhNSUc1QmdOVkhSRUVnYkV3CmdhNkNEalV4TGpFMU9TNHlNRFF1TVRjd2dqeHlkeTB3TnpBeU1ESXpPUzB4WXpCbExUUmtNemd0T0dRek9TMHcKTURFek5qbGhZakkzTnpjdWNtUmlMbVp5TFhCaGNpNXpZM2N1WTJ4dmRXU0NEalV4TGpFMU9TNHlNRFF1TVRjdwpnanh5ZHkwd056QXlNREl6T1MweFl6QmxMVFJrTXpndE9HUXpPUzB3TURFek5qbGhZakkzTnpjdWNtUmlMbVp5CkxYQmhjaTV6WTNjdVkyeHZkV1NIQktPc29zQ0hCRE9mektxSEJET2Z6S293RFFZSktvWklodmNOQVFFTEJRQUQKZ2dFQkFFNWRldiswbHFiZTJnbG83L3NxNnBOUmFKaE9HNmljWGRvWTJVcWRHWW9xTmxGSkwyWkpKNjl1TU8vcwpGSElnVXB6anEwMStGMEN5Qkh0RUtESXNpdkNDOHYzWUQ3b2Z4dmF5NjFuVUdOelhOL0ZZVzEyOEx4QVRybjFjCkZ5MndsanpJUTBqOC85UFRLQnBBN1NkcGpCUzZmdTZnTHlOMzI0UEdoWFhTQXB4eVJQNi83SUZ1YVlvbnVpVEQKS29YTjhjWFp5bUFodVZuM2UydXVFUGhUQ0N3QjQxZUpuczgzQlpEd1ZrelcxQS9udEdPbE5RbmxjUFRWenhxQwpLQVpzeW1jYWZETWNhdlZVeWl5Unp6cGZjYjVGVm9TOHhSYzNIQmQ4WVlIZzZheXJqeGNQck9QNzdpeWN5V1Q2ClNxTWpTTE5NSjNQMVBzdnN2MXBCdUJNWlJhUT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "427" + - "2013" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:38:55 GMT + - Thu, 06 Feb 2025 13:37:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -787,28 +295,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a1acba0-0f9c-47df-a824-29cdc850682f + - 8e61704a-66d5-4174-bb21-81f924c007d7 status: 200 OK code: 200 - duration: 103.908125ms - - id: 16 + duration: 8.978703292s + - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 188 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","endpoint_spec":[{"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","ipam_config":{}}}],"same_zone":true}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/ae7d87bd-8850-46e9-b7b7-fe7a7080c74f - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -817,7 +327,7 @@ interactions: trailer: {} content_length: 427 uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - "427" @@ -826,7 +336,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:25 GMT + - Thu, 06 Feb 2025 13:37:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -836,11 +346,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ea94745d-ea32-459e-a8fa-e8ed1d2f1eff + - bf35a4ed-ded5-4711-8879-0117830d0be1 status: 200 OK code: 200 - duration: 118.997459ms - - id: 17 + duration: 1.149252375s + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -866,7 +376,7 @@ interactions: trailer: {} content_length: 427 uncompressed: false - body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[{"id":"76762d9a-7f90-4f5d-a753-05efa53cf41b","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"ae7d87bd-8850-46e9-b7b7-fe7a7080c74f","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - "427" @@ -875,7 +385,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:55 GMT + - Thu, 06 Feb 2025 13:37:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -885,11 +395,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 280433af-1050-4c59-8192-94d55f9f5edf + - 53641813-c12f-4fc6-ad84-e28f0742e4a7 status: 200 OK code: 200 - duration: 117.648041ms - - id: 18 + duration: 132.452ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +448,7 @@ interactions: status: 200 OK code: 200 duration: 120.238375ms - - id: 19 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 109.144416ms - - id: 20 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 117.433791ms - - id: 21 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 24.771292ms - - id: 22 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 39.455208ms - - id: 23 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 167.439375ms - - id: 24 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 113.655375ms - - id: 25 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 107.305041ms - - id: 26 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 61.1525ms - - id: 27 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 161.563583ms - - id: 28 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 110.854834ms - - id: 29 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 106.796875ms - - id: 30 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 107.646958ms - - id: 31 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 31.763625ms - - id: 32 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 33.168208ms - - id: 33 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1183,7 @@ interactions: status: 200 OK code: 200 duration: 130.218833ms - - id: 34 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1722,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 98.824875ms - - id: 35 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 410.334625ms - - id: 36 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1820,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 32.806917ms - - id: 37 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1869,7 +1379,7 @@ interactions: status: 200 OK code: 200 duration: 188.409167ms - - id: 38 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1918,7 +1428,7 @@ interactions: status: 200 OK code: 200 duration: 119.6605ms - - id: 39 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1967,7 +1477,7 @@ interactions: status: 200 OK code: 200 duration: 131.187541ms - - id: 40 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -2016,7 +1526,7 @@ interactions: status: 200 OK code: 200 duration: 127.155208ms - - id: 41 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -2065,7 +1575,7 @@ interactions: status: 200 OK code: 200 duration: 420.071333ms - - id: 42 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1624,7 @@ interactions: status: 200 OK code: 200 duration: 188.276458ms - - id: 43 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2163,7 +1673,7 @@ interactions: status: 404 Not Found code: 404 duration: 105.393167ms - - id: 44 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2214,7 +1724,7 @@ interactions: status: 200 OK code: 200 duration: 1.17816625s - - id: 45 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2263,154 +1773,7 @@ interactions: status: 200 OK code: 200 duration: 126.433084ms - - id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/adf66eeb-9b30-4c98-b22e-bf6336526012 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 428 - uncompressed: false - body: '{"endpoints":[{"id":"dbc2cc0b-d9f8-46c6-bc29-fa8e859d50b2","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"adf66eeb-9b30-4c98-b22e-bf6336526012","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":false,"status":"provisioning"}' - headers: - Content-Length: - - "428" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:35 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 83fe55dd-9891-4af0-9e2e-7d41d638f88b - status: 200 OK - code: 200 - duration: 140.654792ms - - id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/adf66eeb-9b30-4c98-b22e-bf6336526012 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 428 - uncompressed: false - body: '{"endpoints":[{"id":"dbc2cc0b-d9f8-46c6-bc29-fa8e859d50b2","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"adf66eeb-9b30-4c98-b22e-bf6336526012","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":false,"status":"provisioning"}' - headers: - Content-Length: - - "428" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:05 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e1915d89-952a-4154-9df6-e8251b9b2a4f - status: 200 OK - code: 200 - duration: 152.66575ms - - id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/adf66eeb-9b30-4c98-b22e-bf6336526012 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 428 - uncompressed: false - body: '{"endpoints":[{"id":"dbc2cc0b-d9f8-46c6-bc29-fa8e859d50b2","ip":"172.16.32.2","name":null,"port":5432,"private_network":{"private_network_id":"0217fea9-0d29-482b-ab11-d9a11bb6dd1f","provisioning_mode":"ipam","service_ip":"172.16.32.2/22","zone":"fr-par-1"}}],"id":"adf66eeb-9b30-4c98-b22e-bf6336526012","instance_id":"07020239-1c0e-4d38-8d39-001369ab2777","region":"fr-par","same_zone":false,"status":"initializing"}' - headers: - Content-Length: - - "428" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:37 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d1455926-e727-48c1-960d-5fbcc6f8606a - status: 200 OK - code: 200 - duration: 2.188685792s - - id: 49 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +1822,7 @@ interactions: status: 200 OK code: 200 duration: 112.290458ms - - id: 50 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2508,7 +1871,7 @@ interactions: status: 200 OK code: 200 duration: 238.729458ms - - id: 51 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2557,7 +1920,7 @@ interactions: status: 200 OK code: 200 duration: 103.881ms - - id: 52 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2606,7 +1969,7 @@ interactions: status: 200 OK code: 200 duration: 27.448041ms - - id: 53 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2655,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 28.357792ms - - id: 54 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2704,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 134.160084ms - - id: 55 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2753,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 103.378792ms - - id: 56 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2802,7 +2165,7 @@ interactions: status: 200 OK code: 200 duration: 104.233875ms - - id: 57 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2851,7 +2214,7 @@ interactions: status: 200 OK code: 200 duration: 105.18125ms - - id: 58 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2900,7 +2263,7 @@ interactions: status: 200 OK code: 200 duration: 325.906209ms - - id: 59 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2949,7 +2312,7 @@ interactions: status: 200 OK code: 200 duration: 122.095583ms - - id: 60 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2998,7 +2361,7 @@ interactions: status: 404 Not Found code: 404 duration: 106.196208ms - - id: 61 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -3047,7 +2410,7 @@ interactions: status: 200 OK code: 200 duration: 149.784833ms - - id: 62 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -3096,7 +2459,7 @@ interactions: status: 200 OK code: 200 duration: 300.481875ms - - id: 63 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -3145,7 +2508,7 @@ interactions: status: 200 OK code: 200 duration: 145.88375ms - - id: 64 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -3192,7 +2555,7 @@ interactions: status: 204 No Content code: 204 duration: 1.188325625s - - id: 65 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -3241,7 +2604,7 @@ interactions: status: 404 Not Found code: 404 duration: 96.261708ms - - id: 66 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -3290,7 +2653,7 @@ interactions: status: 404 Not Found code: 404 duration: 93.603625ms - - id: 67 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-multiple-endpoints.cassette.yaml b/internal/services/rdb/testdata/read-replica-multiple-endpoints.cassette.yaml index 43fb3dc4e0..d390bc6e24 100644 --- a/internal/services/rdb/testdata/read-replica-multiple-endpoints.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-multiple-endpoints.cassette.yaml @@ -251,251 +251,6 @@ interactions: code: 200 duration: 161.419667ms - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/615636bc-08d3-430c-9e0b-19989e140998 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 846 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.449887Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"615636bc-08d3-430c-9e0b-19989e140998","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-multiple-endpoints","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","multiple-endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "846" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 379029a3-4dce-4f85-bc7e-1533ed1fd7cc - status: 200 OK - code: 200 - duration: 217.701958ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/615636bc-08d3-430c-9e0b-19989e140998 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 846 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.449887Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"615636bc-08d3-430c-9e0b-19989e140998","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-multiple-endpoints","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","multiple-endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "846" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7d9af43e-7de2-45f4-94a6-33973ad72eeb - status: 200 OK - code: 200 - duration: 313.952833ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/615636bc-08d3-430c-9e0b-19989e140998 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 846 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.449887Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"615636bc-08d3-430c-9e0b-19989e140998","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-multiple-endpoints","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","multiple-endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "846" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 539c9def-6f71-451b-a073-e0987c19ea77 - status: 200 OK - code: 200 - duration: 164.905917ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/615636bc-08d3-430c-9e0b-19989e140998 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 846 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.449887Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"615636bc-08d3-430c-9e0b-19989e140998","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-multiple-endpoints","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","multiple-endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "846" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1e6b34f4-172e-47ee-90bd-25e272b21140 - status: 200 OK - code: 200 - duration: 137.20375ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/615636bc-08d3-430c-9e0b-19989e140998 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1121 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.449887Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"615636bc-08d3-430c-9e0b-19989e140998","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-multiple-endpoints","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","multiple-endpoints"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1121" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6c947cc1-81ba-4985-9821-4ac54dd5752c - status: 200 OK - code: 200 - duration: 148.896666ms - - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 134.6995ms - - id: 11 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 158.116667ms - - id: 12 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -644,7 +399,7 @@ interactions: status: 200 OK code: 200 duration: 31.188558625s - - id: 13 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -693,154 +448,7 @@ interactions: status: 200 OK code: 200 duration: 242.015833ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/f15b94ed-a091-41bd-8100-bd4414d90e56 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 425 - uncompressed: false - body: '{"endpoints":[{"id":"a00090a2-b7a8-4caa-8e17-8e04ac5f9801","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"ce2b6078-05c0-41a0-93de-16c39fd319fe","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}}],"id":"f15b94ed-a091-41bd-8100-bd4414d90e56","instance_id":"615636bc-08d3-430c-9e0b-19989e140998","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "425" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:13 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5356b9b5-f98f-41c3-8aae-29c9deb6a8ce - status: 200 OK - code: 200 - duration: 107.213541ms - - id: 15 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/f15b94ed-a091-41bd-8100-bd4414d90e56 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 540 - uncompressed: false - body: '{"endpoints":[{"id":"a00090a2-b7a8-4caa-8e17-8e04ac5f9801","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"ce2b6078-05c0-41a0-93de-16c39fd319fe","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}},{"direct_access":{},"id":"78329c11-5134-49ee-afe2-bbe28a2b5c60","ip":"212.47.252.48","name":null,"port":5432}],"id":"f15b94ed-a091-41bd-8100-bd4414d90e56","instance_id":"615636bc-08d3-430c-9e0b-19989e140998","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "540" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:43 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6629272e-96a6-4fa3-bf8f-9ca72be58bc7 - status: 200 OK - code: 200 - duration: 107.403459ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/f15b94ed-a091-41bd-8100-bd4414d90e56 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 540 - uncompressed: false - body: '{"endpoints":[{"id":"a00090a2-b7a8-4caa-8e17-8e04ac5f9801","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"ce2b6078-05c0-41a0-93de-16c39fd319fe","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}},{"direct_access":{},"id":"78329c11-5134-49ee-afe2-bbe28a2b5c60","ip":"212.47.252.48","name":null,"port":5432}],"id":"f15b94ed-a091-41bd-8100-bd4414d90e56","instance_id":"615636bc-08d3-430c-9e0b-19989e140998","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "540" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:14 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ad7dacc4-08ec-4387-b491-b868d8b07bf9 - status: 200 OK - code: 200 - duration: 118.984083ms - - id: 17 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 117.806792ms - - id: 18 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 153.396416ms - - id: 19 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 121.895625ms - - id: 20 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 32.020333ms - - id: 21 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 155.681667ms - - id: 22 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 120.300875ms - - id: 23 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 124.878375ms - - id: 24 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 202.753166ms - - id: 25 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 378.114125ms - - id: 26 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 100.582375ms - - id: 27 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +987,7 @@ interactions: status: 404 Not Found code: 404 duration: 111.183208ms - - id: 28 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 170.727667ms - - id: 29 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 300.094292ms - - id: 30 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 193.741416ms - - id: 31 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +1181,7 @@ interactions: status: 204 No Content code: 204 duration: 1.146143291s - - id: 32 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1622,7 +1230,7 @@ interactions: status: 404 Not Found code: 404 duration: 95.552792ms - - id: 33 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1671,7 +1279,7 @@ interactions: status: 404 Not Found code: 404 duration: 107.129708ms - - id: 34 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-private-network.cassette.yaml b/internal/services/rdb/testdata/read-replica-private-network.cassette.yaml index 456137af16..b33ae89c26 100644 --- a/internal/services/rdb/testdata/read-replica-private-network.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-private-network.cassette.yaml @@ -251,349 +251,6 @@ interactions: code: 200 duration: 131.121541ms - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:18 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c23d6340-504b-4eb5-aa34-c4d7ac5fcb51 - status: 200 OK - code: 200 - duration: 138.7255ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:39:48 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 62bd3d44-28d1-4dc1-a549-1a5e525adb6f - status: 200 OK - code: 200 - duration: 222.92675ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:19 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - eb962de9-0da2-4e0a-8c5f-685714ca2de7 - status: 200 OK - code: 200 - duration: 159.420542ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:40:49 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fd6f5d9d-682a-4370-86ff-b9822589151e - status: 200 OK - code: 200 - duration: 155.279792ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:19 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 22e01436-2e0c-49d5-b372-f997e7f1dea3 - status: 200 OK - code: 200 - duration: 177.55775ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 827 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "827" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:41:49 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 44aa447b-299b-4717-8b87-230cce2243bd - status: 200 OK - code: 200 - duration: 187.139292ms - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/ce4c517d-2e9a-413f-9cd5-a804707c431d - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1102 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:38:48.287730Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-pn","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","private-network"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1102" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:42:19 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c9fb67c9-2e8a-4d9f-a6d6-2556634a47ed - status: 200 OK - code: 200 - duration: 141.366375ms - - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 124.228083ms - - id: 13 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 110.682166ms - - id: 14 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -742,7 +399,7 @@ interactions: status: 200 OK code: 200 duration: 827.263208ms - - id: 15 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -791,203 +448,7 @@ interactions: status: 200 OK code: 200 duration: 104.600792ms - - id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/c14ad494-5bee-441b-ba90-b43b907b7f8c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 425 - uncompressed: false - body: '{"endpoints":[{"id":"4ff16812-2d66-4b94-aa0e-2128ea60db65","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"0d6948ce-5b74-4eb8-8cad-33c6117d3e63","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}}],"id":"c14ad494-5bee-441b-ba90-b43b907b7f8c","instance_id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "425" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:43:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2df1588a-5cd6-44a6-8c85-c56cdd831d6d - status: 200 OK - code: 200 - duration: 95.230875ms - - id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/c14ad494-5bee-441b-ba90-b43b907b7f8c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 425 - uncompressed: false - body: '{"endpoints":[{"id":"4ff16812-2d66-4b94-aa0e-2128ea60db65","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"0d6948ce-5b74-4eb8-8cad-33c6117d3e63","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}}],"id":"c14ad494-5bee-441b-ba90-b43b907b7f8c","instance_id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "425" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:43:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 48bb23a4-94c2-4b23-bf82-8ce4cf4376ff - status: 200 OK - code: 200 - duration: 108.789667ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/c14ad494-5bee-441b-ba90-b43b907b7f8c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 425 - uncompressed: false - body: '{"endpoints":[{"id":"4ff16812-2d66-4b94-aa0e-2128ea60db65","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"0d6948ce-5b74-4eb8-8cad-33c6117d3e63","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}}],"id":"c14ad494-5bee-441b-ba90-b43b907b7f8c","instance_id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "425" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:21 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b20bc71b-f365-4547-a049-11a9aabdf247 - status: 200 OK - code: 200 - duration: 120.571708ms - - id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/c14ad494-5bee-441b-ba90-b43b907b7f8c - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 425 - uncompressed: false - body: '{"endpoints":[{"id":"4ff16812-2d66-4b94-aa0e-2128ea60db65","ip":"10.12.1.0","name":null,"port":5432,"private_network":{"private_network_id":"0d6948ce-5b74-4eb8-8cad-33c6117d3e63","provisioning_mode":"static","service_ip":"10.12.1.0/20","zone":"fr-par-1"}}],"id":"c14ad494-5bee-441b-ba90-b43b907b7f8c","instance_id":"ce4c517d-2e9a-413f-9cd5-a804707c431d","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "425" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:44:51 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d5ca5e42-cc8e-44d1-83e8-8cde2fb513d4 - status: 200 OK - code: 200 - duration: 112.606167ms - - id: 20 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 106.953584ms - - id: 21 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 93.176125ms - - id: 22 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 92.707208ms - - id: 23 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 34.727084ms - - id: 24 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 175.923208ms - - id: 25 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 128.308042ms - - id: 26 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 108.413833ms - - id: 27 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 98.66125ms - - id: 28 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 352.75075ms - - id: 29 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 100.514542ms - - id: 30 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1526,7 +987,7 @@ interactions: status: 404 Not Found code: 404 duration: 92.154125ms - - id: 31 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 147.558375ms - - id: 32 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 224.283542ms - - id: 33 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 145.492375ms - - id: 34 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1720,7 +1181,7 @@ interactions: status: 204 No Content code: 204 duration: 1.63707975s - - id: 35 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1769,7 +1230,7 @@ interactions: status: 404 Not Found code: 404 duration: 114.827709ms - - id: 36 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1818,7 +1279,7 @@ interactions: status: 404 Not Found code: 404 duration: 195.644458ms - - id: 37 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-update.cassette.yaml b/internal/services/rdb/testdata/read-replica-update.cassette.yaml index f952b1051e..4eb0c1a872 100644 --- a/internal/services/rdb/testdata/read-replica-update.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-update.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 148.081625ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9e77e25f-a56d-4ccc-b1a4-09d9f894e2f4 - status: 200 OK - code: 200 - duration: 149.036625ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 27d560e0-9377-4511-a86b-5b5b8e08eb9b - status: 200 OK - code: 200 - duration: 243.54125ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2c8d6abe-b157-4182-864f-7e3ed0404e8d - status: 200 OK - code: 200 - duration: 140.459916ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f847cb8a-42b4-4d44-a419-e5e399cb899e - status: 200 OK - code: 200 - duration: 142.8785ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 822 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "822" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:42 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b51eccc9-8dd0-47e6-aab4-21e5ea4cc8bc - status: 200 OK - code: 200 - duration: 155.839334ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1097 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-02-06T13:34:10.981026Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7def5813-2c49-4d07-a949-26bf02671892","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-update","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","update"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1097" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:12 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f2d4fb38-ddd8-4bf0-80c3-a64b35148869 - status: 200 OK - code: 200 - duration: 144.131292ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,254 +199,7 @@ interactions: status: 200 OK code: 200 duration: 1.340143708s - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 2017 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVCRENDQXV5Z0F3SUJBZ0lVU3k2TXIwSlkwajN3VXJ0aVJaelJYRkxEdk5nd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4R0RBV0JnTlZCQU1NRHpFNU5TNHhOVFF1TVRrMkxqRTVNekFlCkZ3MHlOVEF5TURZeE16TTNNVFphRncwek5UQXlNRFF4TXpNM01UWmFNRm94Q3pBSkJnTlZCQVlUQWtaU01RNHcKREFZRFZRUUlEQVZRWVhKcGN6RU9NQXdHQTFVRUJ3d0ZVR0Z5YVhNeEVUQVBCZ05WQkFvTUNGTmpZV3hsZDJGNQpNUmd3RmdZRFZRUUREQTh4T1RVdU1UVTBMakU1Tmk0eE9UTXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRQzFLbmpWcW1ZSXpIMlFYdnAxc20vSENGRjk2amwrbE9zNlRmK2tvbFkrdWtnZW5TbXIKVVdYZE05NG53ZDFEb0RNdDZLSUJ6VklDMTFCL25qQTVXcEd2bVFidGU5NmNXSEkwWmhOSkd4THdSR2ZBQnJsNgpPSHBNU3dpZGliR0tra3FjUEh4ZWExcEFBdGZ2elMxSy91aVRuOElSMFRmYWZmQVNZZU9XNEsvNU1VR0hLTDE4CkEwSXczNUppNXV3bjcvY0ozbmREeDNQa1hEanJiNG1zVG9NRkkxU1p4SEFlS1BBaVVEZGovbDBPNkVGSTJ3a3YKcE0xTVdDV0lEbTI1L1I3TWl5R29nK2pFU0RRUHQvdnQ4V2xzL3VHTFV1RGhHNmxxTEVPc2srMHQydG1tb3V2WApRNVhBbkNaY0xmd3FKaml1UXN1eHo3YWZwTzhlSDZQN3NwU0pBZ01CQUFHamdjRXdnYjR3Z2JzR0ExVWRFUVNCCnN6Q0JzSUlQTVRrMUxqRTFOQzR4T1RZdU1Ua3pnanh5ZHkwM1pHVm1OVGd4TXkweVl6UTVMVFJrTURjdFlUazAKT1MweU5tSm1NREkyTnpFNE9USXVjbVJpTG1aeUxYQmhjaTV6WTNjdVkyeHZkV1NDRHpFNU5TNHhOVFF1TVRrMgpMakU1TTRJOGNuY3ROMlJsWmpVNE1UTXRNbU0wT1MwMFpEQTNMV0U1TkRrdE1qWmlaakF5TmpjeE9Ea3lMbkprCllpNW1jaTF3WVhJdWMyTjNMbU5zYjNWa2h3U2pyTE5xaHdURG1zVEJod1REbXNUQk1BMEdDU3FHU0liM0RRRUIKQ3dVQUE0SUJBUUJmN2h0dFN1dkNHSEgzN29FeVROMU5pRE81ME0wdHI1cmZPK1dUNGJ0R1hsa0t4UEFXMUNNdApiSmwwZFR0VjA1ZjlDZmJ3dGJiK1RaS014UTJPRFhRcjFuZkdyeDBwQW85YXYxOTN4Rm5La0lPbUJrY3I3Z3FNCkovbWN1YmV4b09KZGFITUdiLzQ4TUJUWTRSeGlGaFllb0RFbUFtbXBORVZyRDVNR2tFZ25maTRyYlpTenRZNUgKVGdWU2J2VG5PWkEwYzE4TFhva29Hb2w5WTVDV0UyRFRhMGJobm9raXptY3AzK3AydVpCODNrc0p4Qng4S0pMVgpqeDN1NmhIVk9jZ01PN1gySkEzbnBXTTNvTGlZRFl3VDhPdUF1R2xZNEJpN01ZcFo5VFozdThpaHQreG50VkNMCjVzM0ZUemRKSGYxQnB3cmNCYTFVbjdkakZIM2tiSHN2Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "2017" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:52 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e59d00ea-7cc7-42e3-b19e-d66ede37d68a - status: 200 OK - code: 200 - duration: 8.812945958s - - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 110 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"instance_id":"7def5813-2c49-4d07-a949-26bf02671892","endpoint_spec":[{"direct_access":{}}],"same_zone":true}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 177 - uncompressed: false - body: '{"endpoints":[],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "177" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:54 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7bab1a59-52b6-405b-9181-f3ba617b0294 - status: 200 OK - code: 200 - duration: 619.396833ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/d2921cf8-15e2-4de5-baa0-618559317dde - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 177 - uncompressed: false - body: '{"endpoints":[],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "177" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:54 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2ba7f008-c625-4fcf-bbb4-351c4984e32e - status: 200 OK - code: 200 - duration: 214.294167ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/d2921cf8-15e2-4de5-baa0-618559317dde - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 177 - uncompressed: false - body: '{"endpoints":[],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "177" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:24 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 652cc4e8-c9e4-4e1d-bdfe-bd0879379c8e - status: 200 OK - code: 200 - duration: 107.48925ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/d2921cf8-15e2-4de5-baa0-618559317dde - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 292 - uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"948d8134-24bb-44fc-9166-a2b925abde19","ip":"163.172.176.188","name":null,"port":5432}],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "292" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:38:54 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8686f5dd-8e58-4750-a96b-3ea1c51ceebe - status: 200 OK - code: 200 - duration: 97.586333ms - - id: 15 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -756,7 +215,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/d2921cf8-15e2-4de5-baa0-618559317dde + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7def5813-2c49-4d07-a949-26bf02671892/certificate method: GET response: proto: HTTP/2.0 @@ -764,18 +223,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 292 + content_length: 2017 uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"948d8134-24bb-44fc-9166-a2b925abde19","ip":"163.172.176.188","name":null,"port":5432}],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVCRENDQXV5Z0F3SUJBZ0lVU3k2TXIwSlkwajN3VXJ0aVJaelJYRkxEdk5nd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1dqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4R0RBV0JnTlZCQU1NRHpFNU5TNHhOVFF1TVRrMkxqRTVNekFlCkZ3MHlOVEF5TURZeE16TTNNVFphRncwek5UQXlNRFF4TXpNM01UWmFNRm94Q3pBSkJnTlZCQVlUQWtaU01RNHcKREFZRFZRUUlEQVZRWVhKcGN6RU9NQXdHQTFVRUJ3d0ZVR0Z5YVhNeEVUQVBCZ05WQkFvTUNGTmpZV3hsZDJGNQpNUmd3RmdZRFZRUUREQTh4T1RVdU1UVTBMakU1Tmk0eE9UTXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRQzFLbmpWcW1ZSXpIMlFYdnAxc20vSENGRjk2amwrbE9zNlRmK2tvbFkrdWtnZW5TbXIKVVdYZE05NG53ZDFEb0RNdDZLSUJ6VklDMTFCL25qQTVXcEd2bVFidGU5NmNXSEkwWmhOSkd4THdSR2ZBQnJsNgpPSHBNU3dpZGliR0tra3FjUEh4ZWExcEFBdGZ2elMxSy91aVRuOElSMFRmYWZmQVNZZU9XNEsvNU1VR0hLTDE4CkEwSXczNUppNXV3bjcvY0ozbmREeDNQa1hEanJiNG1zVG9NRkkxU1p4SEFlS1BBaVVEZGovbDBPNkVGSTJ3a3YKcE0xTVdDV0lEbTI1L1I3TWl5R29nK2pFU0RRUHQvdnQ4V2xzL3VHTFV1RGhHNmxxTEVPc2srMHQydG1tb3V2WApRNVhBbkNaY0xmd3FKaml1UXN1eHo3YWZwTzhlSDZQN3NwU0pBZ01CQUFHamdjRXdnYjR3Z2JzR0ExVWRFUVNCCnN6Q0JzSUlQTVRrMUxqRTFOQzR4T1RZdU1Ua3pnanh5ZHkwM1pHVm1OVGd4TXkweVl6UTVMVFJrTURjdFlUazAKT1MweU5tSm1NREkyTnpFNE9USXVjbVJpTG1aeUxYQmhjaTV6WTNjdVkyeHZkV1NDRHpFNU5TNHhOVFF1TVRrMgpMakU1TTRJOGNuY3ROMlJsWmpVNE1UTXRNbU0wT1MwMFpEQTNMV0U1TkRrdE1qWmlaakF5TmpjeE9Ea3lMbkprCllpNW1jaTF3WVhJdWMyTjNMbU5zYjNWa2h3U2pyTE5xaHdURG1zVEJod1REbXNUQk1BMEdDU3FHU0liM0RRRUIKQ3dVQUE0SUJBUUJmN2h0dFN1dkNHSEgzN29FeVROMU5pRE81ME0wdHI1cmZPK1dUNGJ0R1hsa0t4UEFXMUNNdApiSmwwZFR0VjA1ZjlDZmJ3dGJiK1RaS014UTJPRFhRcjFuZkdyeDBwQW85YXYxOTN4Rm5La0lPbUJrY3I3Z3FNCkovbWN1YmV4b09KZGFITUdiLzQ4TUJUWTRSeGlGaFllb0RFbUFtbXBORVZyRDVNR2tFZ25maTRyYlpTenRZNUgKVGdWU2J2VG5PWkEwYzE4TFhva29Hb2w5WTVDV0UyRFRhMGJobm9raXptY3AzK3AydVpCODNrc0p4Qng4S0pMVgpqeDN1NmhIVk9jZ01PN1gySkEzbnBXTTNvTGlZRFl3VDhPdUF1R2xZNEJpN01ZcFo5VFozdThpaHQreG50VkNMCjVzM0ZUemRKSGYxQnB3cmNCYTFVbjdkakZIM2tiSHN2Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "292" + - "2017" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:24 GMT + - Thu, 06 Feb 2025 13:37:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -785,46 +244,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fda7926d-ea14-494c-aa60-fed7c161bb6a + - e59d00ea-7cc7-42e3-b19e-d66ede37d68a status: 200 OK code: 200 - duration: 103.83225ms - - id: 16 + duration: 8.812945958s + - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 110 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"instance_id":"7def5813-2c49-4d07-a949-26bf02671892","endpoint_spec":[{"direct_access":{}}],"same_zone":true}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/d2921cf8-15e2-4de5-baa0-618559317dde - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 292 + content_length: 177 uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"948d8134-24bb-44fc-9166-a2b925abde19","ip":"163.172.176.188","name":null,"port":5432}],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - - "292" + - "177" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:39:54 GMT + - Thu, 06 Feb 2025 13:37:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -834,11 +295,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af1324f8-e44d-49d2-9d2b-6f29df245750 + - 7bab1a59-52b6-405b-9181-f3ba617b0294 status: 200 OK code: 200 - duration: 116.951ms - - id: 17 + duration: 619.396833ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -862,18 +323,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 292 + content_length: 177 uncompressed: false - body: '{"endpoints":[{"direct_access":{},"id":"948d8134-24bb-44fc-9166-a2b925abde19","ip":"163.172.176.188","name":null,"port":5432}],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[],"id":"d2921cf8-15e2-4de5-baa0-618559317dde","instance_id":"7def5813-2c49-4d07-a949-26bf02671892","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - - "292" + - "177" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 06 Feb 2025 13:40:25 GMT + - Thu, 06 Feb 2025 13:37:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -883,11 +344,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 835b72e5-6377-4125-af0e-4ea0d4524910 + - 2ba7f008-c625-4fcf-bbb4-351c4984e32e status: 200 OK code: 200 - duration: 119.34875ms - - id: 18 + duration: 214.294167ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -936,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 123.767791ms - - id: 19 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -985,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 106.561833ms - - id: 20 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -1034,7 +495,7 @@ interactions: status: 200 OK code: 200 duration: 183.820291ms - - id: 21 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -1083,7 +544,7 @@ interactions: status: 200 OK code: 200 duration: 150.586875ms - - id: 22 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1132,7 +593,7 @@ interactions: status: 200 OK code: 200 duration: 119.645083ms - - id: 23 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1181,7 +642,7 @@ interactions: status: 200 OK code: 200 duration: 151.693ms - - id: 24 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1230,7 +691,7 @@ interactions: status: 200 OK code: 200 duration: 134.12925ms - - id: 25 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1279,7 +740,7 @@ interactions: status: 200 OK code: 200 duration: 108.895708ms - - id: 26 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1328,7 +789,7 @@ interactions: status: 200 OK code: 200 duration: 103.307708ms - - id: 27 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 601.397958ms - - id: 28 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 34.210916ms - - id: 29 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1477,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 114.7925ms - - id: 30 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1524,7 +985,7 @@ interactions: status: 204 No Content code: 204 duration: 189.210083ms - - id: 31 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1573,7 +1034,7 @@ interactions: status: 200 OK code: 200 duration: 92.962958ms - - id: 32 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1622,7 +1083,7 @@ interactions: status: 200 OK code: 200 duration: 117.719916ms - - id: 33 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1671,7 +1132,7 @@ interactions: status: 200 OK code: 200 duration: 124.739666ms - - id: 34 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1720,7 +1181,7 @@ interactions: status: 200 OK code: 200 duration: 128.265125ms - - id: 35 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +1232,7 @@ interactions: status: 200 OK code: 200 duration: 636.147834ms - - id: 36 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1820,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 167.2575ms - - id: 37 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1869,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 140.55575ms - - id: 38 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1918,7 +1379,7 @@ interactions: status: 200 OK code: 200 duration: 145.898792ms - - id: 39 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1967,7 +1428,7 @@ interactions: status: 200 OK code: 200 duration: 99.377834ms - - id: 40 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -2016,7 +1477,7 @@ interactions: status: 200 OK code: 200 duration: 33.706041ms - - id: 41 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -2065,7 +1526,7 @@ interactions: status: 200 OK code: 200 duration: 175.2735ms - - id: 42 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -2114,7 +1575,7 @@ interactions: status: 200 OK code: 200 duration: 100.618458ms - - id: 43 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2163,7 +1624,7 @@ interactions: status: 200 OK code: 200 duration: 220.976542ms - - id: 44 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2212,7 +1673,7 @@ interactions: status: 200 OK code: 200 duration: 97.235625ms - - id: 45 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2261,7 +1722,7 @@ interactions: status: 200 OK code: 200 duration: 145.961042ms - - id: 46 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2310,7 +1771,7 @@ interactions: status: 200 OK code: 200 duration: 128.924125ms - - id: 47 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2359,7 +1820,7 @@ interactions: status: 200 OK code: 200 duration: 105.616209ms - - id: 48 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2408,7 +1869,7 @@ interactions: status: 200 OK code: 200 duration: 121.643167ms - - id: 49 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2455,7 +1916,7 @@ interactions: status: 204 No Content code: 204 duration: 177.584833ms - - id: 50 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2504,7 +1965,7 @@ interactions: status: 200 OK code: 200 duration: 106.012458ms - - id: 51 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2553,7 +2014,7 @@ interactions: status: 200 OK code: 200 duration: 160.06925ms - - id: 52 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2602,7 +2063,7 @@ interactions: status: 200 OK code: 200 duration: 1.817490834s - - id: 53 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2653,7 +2114,7 @@ interactions: status: 200 OK code: 200 duration: 942.423417ms - - id: 54 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2702,7 +2163,7 @@ interactions: status: 200 OK code: 200 duration: 136.164625ms - - id: 55 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2751,7 +2212,7 @@ interactions: status: 200 OK code: 200 duration: 98.972125ms - - id: 56 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2800,7 +2261,7 @@ interactions: status: 200 OK code: 200 duration: 92.146916ms - - id: 57 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2849,7 +2310,7 @@ interactions: status: 200 OK code: 200 duration: 99.187958ms - - id: 58 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2898,7 +2359,7 @@ interactions: status: 200 OK code: 200 duration: 35.796375ms - - id: 59 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2947,7 +2408,7 @@ interactions: status: 200 OK code: 200 duration: 181.935167ms - - id: 60 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2996,7 +2457,7 @@ interactions: status: 200 OK code: 200 duration: 108.925666ms - - id: 61 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -3045,7 +2506,7 @@ interactions: status: 200 OK code: 200 duration: 129.375041ms - - id: 62 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -3094,7 +2555,7 @@ interactions: status: 200 OK code: 200 duration: 26.960667ms - - id: 63 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -3143,7 +2604,7 @@ interactions: status: 200 OK code: 200 duration: 156.868125ms - - id: 64 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -3192,7 +2653,7 @@ interactions: status: 200 OK code: 200 duration: 128.17875ms - - id: 65 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -3241,7 +2702,7 @@ interactions: status: 200 OK code: 200 duration: 106.855042ms - - id: 66 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3292,7 +2753,7 @@ interactions: status: 200 OK code: 200 duration: 503.088291ms - - id: 67 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3341,7 +2802,7 @@ interactions: status: 200 OK code: 200 duration: 35.186542ms - - id: 68 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3390,7 +2851,7 @@ interactions: status: 200 OK code: 200 duration: 106.72125ms - - id: 69 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3437,7 +2898,7 @@ interactions: status: 204 No Content code: 204 duration: 189.725083ms - - id: 70 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3486,7 +2947,7 @@ interactions: status: 200 OK code: 200 duration: 121.347666ms - - id: 71 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3535,7 +2996,7 @@ interactions: status: 200 OK code: 200 duration: 109.108875ms - - id: 72 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3584,7 +3045,7 @@ interactions: status: 200 OK code: 200 duration: 104.288667ms - - id: 73 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3635,7 +3096,7 @@ interactions: status: 200 OK code: 200 duration: 877.496459ms - - id: 74 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3684,7 +3145,7 @@ interactions: status: 200 OK code: 200 duration: 114.327625ms - - id: 75 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3733,7 +3194,7 @@ interactions: status: 200 OK code: 200 duration: 110.402833ms - - id: 76 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 @@ -3782,7 +3243,7 @@ interactions: status: 200 OK code: 200 duration: 124.038084ms - - id: 77 + - id: 66 request: proto: HTTP/1.1 proto_major: 1 @@ -3831,7 +3292,7 @@ interactions: status: 200 OK code: 200 duration: 108.7125ms - - id: 78 + - id: 67 request: proto: HTTP/1.1 proto_major: 1 @@ -3880,7 +3341,7 @@ interactions: status: 200 OK code: 200 duration: 35.719833ms - - id: 79 + - id: 68 request: proto: HTTP/1.1 proto_major: 1 @@ -3929,7 +3390,7 @@ interactions: status: 200 OK code: 200 duration: 36.654791ms - - id: 80 + - id: 69 request: proto: HTTP/1.1 proto_major: 1 @@ -3978,7 +3439,7 @@ interactions: status: 200 OK code: 200 duration: 136.859458ms - - id: 81 + - id: 70 request: proto: HTTP/1.1 proto_major: 1 @@ -4027,7 +3488,7 @@ interactions: status: 200 OK code: 200 duration: 110.750792ms - - id: 82 + - id: 71 request: proto: HTTP/1.1 proto_major: 1 @@ -4076,7 +3537,7 @@ interactions: status: 200 OK code: 200 duration: 107.66375ms - - id: 83 + - id: 72 request: proto: HTTP/1.1 proto_major: 1 @@ -4125,7 +3586,7 @@ interactions: status: 200 OK code: 200 duration: 33.430834ms - - id: 84 + - id: 73 request: proto: HTTP/1.1 proto_major: 1 @@ -4174,7 +3635,7 @@ interactions: status: 200 OK code: 200 duration: 41.634291ms - - id: 85 + - id: 74 request: proto: HTTP/1.1 proto_major: 1 @@ -4223,7 +3684,7 @@ interactions: status: 200 OK code: 200 duration: 147.922375ms - - id: 86 + - id: 75 request: proto: HTTP/1.1 proto_major: 1 @@ -4272,7 +3733,7 @@ interactions: status: 200 OK code: 200 duration: 154.411416ms - - id: 87 + - id: 76 request: proto: HTTP/1.1 proto_major: 1 @@ -4321,7 +3782,7 @@ interactions: status: 200 OK code: 200 duration: 97.349458ms - - id: 88 + - id: 77 request: proto: HTTP/1.1 proto_major: 1 @@ -4370,7 +3831,7 @@ interactions: status: 200 OK code: 200 duration: 125.15825ms - - id: 89 + - id: 78 request: proto: HTTP/1.1 proto_major: 1 @@ -4417,7 +3878,7 @@ interactions: status: 204 No Content code: 204 duration: 245.098875ms - - id: 90 + - id: 79 request: proto: HTTP/1.1 proto_major: 1 @@ -4466,7 +3927,7 @@ interactions: status: 200 OK code: 200 duration: 104.073875ms - - id: 91 + - id: 80 request: proto: HTTP/1.1 proto_major: 1 @@ -4515,7 +3976,7 @@ interactions: status: 200 OK code: 200 duration: 99.465875ms - - id: 92 + - id: 81 request: proto: HTTP/1.1 proto_major: 1 @@ -4564,7 +4025,7 @@ interactions: status: 200 OK code: 200 duration: 111.156125ms - - id: 93 + - id: 82 request: proto: HTTP/1.1 proto_major: 1 @@ -4615,7 +4076,7 @@ interactions: status: 200 OK code: 200 duration: 588.660917ms - - id: 94 + - id: 83 request: proto: HTTP/1.1 proto_major: 1 @@ -4664,7 +4125,7 @@ interactions: status: 200 OK code: 200 duration: 107.740375ms - - id: 95 + - id: 84 request: proto: HTTP/1.1 proto_major: 1 @@ -4713,7 +4174,7 @@ interactions: status: 200 OK code: 200 duration: 126.738958ms - - id: 96 + - id: 85 request: proto: HTTP/1.1 proto_major: 1 @@ -4762,7 +4223,7 @@ interactions: status: 200 OK code: 200 duration: 172.180375ms - - id: 97 + - id: 86 request: proto: HTTP/1.1 proto_major: 1 @@ -4811,7 +4272,7 @@ interactions: status: 200 OK code: 200 duration: 124.531292ms - - id: 98 + - id: 87 request: proto: HTTP/1.1 proto_major: 1 @@ -4860,7 +4321,7 @@ interactions: status: 200 OK code: 200 duration: 26.1365ms - - id: 99 + - id: 88 request: proto: HTTP/1.1 proto_major: 1 @@ -4909,7 +4370,7 @@ interactions: status: 200 OK code: 200 duration: 32.970042ms - - id: 100 + - id: 89 request: proto: HTTP/1.1 proto_major: 1 @@ -4958,7 +4419,7 @@ interactions: status: 200 OK code: 200 duration: 165.065541ms - - id: 101 + - id: 90 request: proto: HTTP/1.1 proto_major: 1 @@ -5007,7 +4468,7 @@ interactions: status: 200 OK code: 200 duration: 112.837208ms - - id: 102 + - id: 91 request: proto: HTTP/1.1 proto_major: 1 @@ -5056,7 +4517,7 @@ interactions: status: 200 OK code: 200 duration: 106.763583ms - - id: 103 + - id: 92 request: proto: HTTP/1.1 proto_major: 1 @@ -5105,7 +4566,7 @@ interactions: status: 200 OK code: 200 duration: 32.21ms - - id: 104 + - id: 93 request: proto: HTTP/1.1 proto_major: 1 @@ -5154,7 +4615,7 @@ interactions: status: 200 OK code: 200 duration: 35.436292ms - - id: 105 + - id: 94 request: proto: HTTP/1.1 proto_major: 1 @@ -5203,7 +4664,7 @@ interactions: status: 200 OK code: 200 duration: 157.91125ms - - id: 106 + - id: 95 request: proto: HTTP/1.1 proto_major: 1 @@ -5252,7 +4713,7 @@ interactions: status: 200 OK code: 200 duration: 198.745667ms - - id: 107 + - id: 96 request: proto: HTTP/1.1 proto_major: 1 @@ -5301,7 +4762,7 @@ interactions: status: 200 OK code: 200 duration: 95.632833ms - - id: 108 + - id: 97 request: proto: HTTP/1.1 proto_major: 1 @@ -5350,7 +4811,7 @@ interactions: status: 200 OK code: 200 duration: 111.911167ms - - id: 109 + - id: 98 request: proto: HTTP/1.1 proto_major: 1 @@ -5397,7 +4858,7 @@ interactions: status: 204 No Content code: 204 duration: 215.33275ms - - id: 110 + - id: 99 request: proto: HTTP/1.1 proto_major: 1 @@ -5446,7 +4907,7 @@ interactions: status: 200 OK code: 200 duration: 98.027ms - - id: 111 + - id: 100 request: proto: HTTP/1.1 proto_major: 1 @@ -5495,7 +4956,7 @@ interactions: status: 200 OK code: 200 duration: 115.974416ms - - id: 112 + - id: 101 request: proto: HTTP/1.1 proto_major: 1 @@ -5544,7 +5005,7 @@ interactions: status: 200 OK code: 200 duration: 100.606667ms - - id: 113 + - id: 102 request: proto: HTTP/1.1 proto_major: 1 @@ -5595,7 +5056,7 @@ interactions: status: 200 OK code: 200 duration: 553.573291ms - - id: 114 + - id: 103 request: proto: HTTP/1.1 proto_major: 1 @@ -5644,7 +5105,7 @@ interactions: status: 200 OK code: 200 duration: 124.017042ms - - id: 115 + - id: 104 request: proto: HTTP/1.1 proto_major: 1 @@ -5693,7 +5154,7 @@ interactions: status: 200 OK code: 200 duration: 123.107166ms - - id: 116 + - id: 105 request: proto: HTTP/1.1 proto_major: 1 @@ -5742,7 +5203,7 @@ interactions: status: 200 OK code: 200 duration: 84.344542ms - - id: 117 + - id: 106 request: proto: HTTP/1.1 proto_major: 1 @@ -5791,7 +5252,7 @@ interactions: status: 200 OK code: 200 duration: 162.619667ms - - id: 118 + - id: 107 request: proto: HTTP/1.1 proto_major: 1 @@ -5840,7 +5301,7 @@ interactions: status: 200 OK code: 200 duration: 26.295084ms - - id: 119 + - id: 108 request: proto: HTTP/1.1 proto_major: 1 @@ -5889,7 +5350,7 @@ interactions: status: 200 OK code: 200 duration: 40.3155ms - - id: 120 + - id: 109 request: proto: HTTP/1.1 proto_major: 1 @@ -5938,7 +5399,7 @@ interactions: status: 200 OK code: 200 duration: 176.058417ms - - id: 121 + - id: 110 request: proto: HTTP/1.1 proto_major: 1 @@ -5987,7 +5448,7 @@ interactions: status: 200 OK code: 200 duration: 116.116416ms - - id: 122 + - id: 111 request: proto: HTTP/1.1 proto_major: 1 @@ -6036,7 +5497,7 @@ interactions: status: 200 OK code: 200 duration: 109.011458ms - - id: 123 + - id: 112 request: proto: HTTP/1.1 proto_major: 1 @@ -6085,7 +5546,7 @@ interactions: status: 200 OK code: 200 duration: 110.135708ms - - id: 124 + - id: 113 request: proto: HTTP/1.1 proto_major: 1 @@ -6134,7 +5595,7 @@ interactions: status: 200 OK code: 200 duration: 408.829292ms - - id: 125 + - id: 114 request: proto: HTTP/1.1 proto_major: 1 @@ -6183,7 +5644,7 @@ interactions: status: 200 OK code: 200 duration: 100.859916ms - - id: 126 + - id: 115 request: proto: HTTP/1.1 proto_major: 1 @@ -6230,7 +5691,7 @@ interactions: status: 204 No Content code: 204 duration: 1.133452583s - - id: 127 + - id: 116 request: proto: HTTP/1.1 proto_major: 1 @@ -6279,7 +5740,7 @@ interactions: status: 404 Not Found code: 404 duration: 107.192958ms - - id: 128 + - id: 117 request: proto: HTTP/1.1 proto_major: 1 @@ -6328,7 +5789,7 @@ interactions: status: 200 OK code: 200 duration: 127.030583ms - - id: 129 + - id: 118 request: proto: HTTP/1.1 proto_major: 1 @@ -6377,7 +5838,7 @@ interactions: status: 200 OK code: 200 duration: 400.057959ms - - id: 130 + - id: 119 request: proto: HTTP/1.1 proto_major: 1 @@ -6426,7 +5887,7 @@ interactions: status: 200 OK code: 200 duration: 153.832833ms - - id: 131 + - id: 120 request: proto: HTTP/1.1 proto_major: 1 @@ -6473,7 +5934,7 @@ interactions: status: 204 No Content code: 204 duration: 1.164204292s - - id: 132 + - id: 121 request: proto: HTTP/1.1 proto_major: 1 @@ -6522,7 +5983,7 @@ interactions: status: 404 Not Found code: 404 duration: 98.222292ms - - id: 133 + - id: 122 request: proto: HTTP/1.1 proto_major: 1 @@ -6571,7 +6032,7 @@ interactions: status: 404 Not Found code: 404 duration: 150.943708ms - - id: 134 + - id: 123 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/read-replica-with-instance-also-in-private-network.cassette.yaml b/internal/services/rdb/testdata/read-replica-with-instance-also-in-private-network.cassette.yaml index 49a7e6f3ae..527ac4bd59 100644 --- a/internal/services/rdb/testdata/read-replica-with-instance-also-in-private-network.cassette.yaml +++ b/internal/services/rdb/testdata/read-replica-with-instance-also-in-private-network.cassette.yaml @@ -302,251 +302,6 @@ interactions: code: 200 duration: 136.171765ms - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1202 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1202" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:01:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c3dea87c-ba31-41fa-abaf-6a6dc5c7fdb4 - status: 200 OK - code: 200 - duration: 123.603644ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1202 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1202" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:01:41 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b37bb524-02ff-47de-92d2-e099981ed171 - status: 200 OK - code: 200 - duration: 181.279285ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1202 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1202" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:02:11 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5eb770e0-7799-46d2-8229-7b58e84f84ba - status: 200 OK - code: 200 - duration: 110.319413ms - - id: 9 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1202 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1202" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:02:41 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4c4cca51-8634-4b34-b51e-3de995330e3c - status: 200 OK - code: 200 - duration: 203.419227ms - - id: 10 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1202 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1202" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:03:12 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b2b182a9-febf-4a64-bbe0-574eabf3c140 - status: 200 OK - code: 200 - duration: 205.445427ms - - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -572,108 +327,10 @@ interactions: trailer: {} content_length: 1470 uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1470" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:03:42 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge03) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c8f56836-f5ae-45c9-bbe3-7ab0201c0cd0 - status: 200 OK - code: 200 - duration: 110.935261ms - - id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3/certificate - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1725 - uncompressed: false - body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURZRENDQWtpZ0F3SUJBZ0lVUG5iVW1sSmZEc0dHaWhWOWFyc2NJOUlHaE1jd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1ZqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RkRBU0JnTlZCQU1NQ3pFM01pNHhOaTR5TUM0eU1CNFhEVEkxCk1EVXdOVEl5TURFME1Gb1hEVE0xTURVd016SXlNREUwTUZvd1ZqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlYKQkFnTUJWQmhjbWx6TVE0d0RBWURWUVFIREFWUVlYSnBjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RkRBUwpCZ05WQkFNTUN6RTNNaTR4Tmk0eU1DNHlNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDCkFRRUE4UmdlWjNmTUdlWGFlYmszWXlXKzMvZEliNkJEcXAzNVZuT1ljb2NaN2x4ditKUGVhZ25Qc0QrRlRyWkcKSUFkOSt3dlVZdHNFV1pQZURjYXZWZmx3R0daelJzTEI1RGMzMng0bHhpN3RCcnJDUVN2bXpTUVQxOXFnaDdhUAo1Um9iSkVKS0YxaGNZWVpEUndHcGQ5QzRpa1RBdFZlSVJLeHEyRCtQWllTQzRsbS94ZDNHVjYrWnAvM3Z5L0REClNyZjFOcDd2aVU4NFNldEhjajRtOWJTdzVPS2VrZ1d3bVpZZWNTazNhUnI0TE4vZFpjcDRFRm1vdmtnS3JZY0sKRFgxbExTTkNGelFkNmhyTUpMVW0vMTVpRityQXBSMFFOWTBqeTZwZW4zRVkvYWY4Mjc1WWxXOU1sb0hFL3JHOQpOOHFud09qN3RJK3d0TkRXUnRRcjZYTGd3d0lEQVFBQm95WXdKREFpQmdOVkhSRUVHekFaZ2dzeE56SXVNVFl1Ck1qQXVNb2NFMUMvcDRJY0VyQkFVQWpBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQXdPaHRmUEFvSWVKOW5UR1kKM2p4MmdOV1Foanc2MTNTaUF4UTY1SUs5NmpsZGN3T0Jkc3NpL1YzMEE2aDhPYTVrbkNQUmJSMlF6UGRpUndMUgplK3JnL2hXQW9QaFRmOVNnL1ZwTDZYZ3hTL1FKUGJWSHhQd3UrbTlRaFdqOUUxeDc2STNjYmE3ZXRKUWQwU0tRCnRnMW55QkFrUktpQUszRURsb2EvOHUwSlRVbkJ6ZklYa243Y2dXckZiU3YwNDUyTEZkZFIxLzc4a3lWU1FEWXcKNFgydlVNelZEYTRmZlUrb2FsbWRDMnlFMERnZTZyNkFZSGNFcFhmN2hXM3lIbHZpRDJHa0xva2FYZ0IvSUZWRgpsVGx2RCtGMlJvLy9DQTJNQThwT0lmMjNXaDcwMFlrUFVWV1lKdzgyQWFYQ0toNUhHY1JLb2NDOVpRbnJzZjlZCjMzTnZQdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' - headers: - Content-Length: - - "1725" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:03:42 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bc993a13-2f4c-4857-8cc8-7a38263070c6 - status: 200 OK - code: 200 - duration: 143.625328ms - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/ipam/v1/regions/fr-par/ips?order_by=created_at_desc&private_network_id=196b153a-a6b9-42f2-ab24-ef3eb5a94145&resource_id=16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3&resource_type=rdb_instance - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 553 - uncompressed: false - body: '{"ips":[{"address":"172.16.20.2/22","created_at":"2025-05-05T22:00:40.718661Z","id":"278b2b61-88a9-41aa-8d03-8a8d20f8080d","is_ipv6":false,"project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","resource":{"id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","mac_address":"02:00:00:18:3F:54","name":"test-rdb-rr-instance-in-pn","type":"rdb_instance"},"reverses":[],"source":{"subnet_id":"8d2d841d-b6e0-4274-b299-38a2371788a2"},"tags":["managed","scwdbaas"],"updated_at":"2025-05-05T22:01:07.398744Z","zone":null}],"total_count":1}' + body: '{"backup_same_region":false,"backup_schedule":{"disabled":true,"frequency":24,"next_run_at":null,"retention":7},"created_at":"2025-05-05T22:00:40.208494Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[{"id":"c4e2e3e6-5096-45a9-a7df-53fbe2558fea","ip":"172.16.20.2","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.2/22","zone":"fr-par-1"}}],"engine":"PostgreSQL-15","id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"test-rdb-rr-instance-in-pn","node_type":"db-dev-s","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"ready","tags":["terraform-test","scaleway_rdb_read_replica","instance-also-in-pn"],"upgradable_version":[{"id":"bf79ca4c-afdd-4226-b5ec-658b34e28a08","minor_version":"16.8","name":"PostgreSQL-16","version":"16"}],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' headers: Content-Length: - - "553" + - "1470" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: @@ -681,58 +338,7 @@ interactions: Date: - Mon, 05 May 2025 22:03:42 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e652357b-13a1-4a31-b2c6-cb34c07e00a1 - status: 200 OK - code: 200 - duration: 85.993231ms - - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 188 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","endpoint_spec":[{"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","ipam_config":{}}}],"same_zone":true}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 427 - uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"provisioning"}' - headers: - Content-Length: - - "427" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 05 May 2025 22:03:43 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-3;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -740,11 +346,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12bc4640-3c95-425e-afeb-56475d64c4fc + - c8f56836-f5ae-45c9-bbe3-7ab0201c0cd0 status: 200 OK code: 200 - duration: 1.560408549s - - id: 15 + duration: 110.935261ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -760,7 +366,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/6d0a9879-42fc-4ede-9547-908a76440ce0 + url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3/certificate method: GET response: proto: HTTP/2.0 @@ -768,18 +374,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 427 + content_length: 1725 uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"provisioning"}' + body: '{"content":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURZRENDQWtpZ0F3SUJBZ0lVUG5iVW1sSmZEc0dHaWhWOWFyc2NJOUlHaE1jd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1ZqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlZCQWdNQlZCaGNtbHpNUTR3REFZRFZRUUhEQVZRWVhKcApjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RkRBU0JnTlZCQU1NQ3pFM01pNHhOaTR5TUM0eU1CNFhEVEkxCk1EVXdOVEl5TURFME1Gb1hEVE0xTURVd016SXlNREUwTUZvd1ZqRUxNQWtHQTFVRUJoTUNSbEl4RGpBTUJnTlYKQkFnTUJWQmhjbWx6TVE0d0RBWURWUVFIREFWUVlYSnBjekVSTUE4R0ExVUVDZ3dJVTJOaGJHVjNZWGt4RkRBUwpCZ05WQkFNTUN6RTNNaTR4Tmk0eU1DNHlNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDCkFRRUE4UmdlWjNmTUdlWGFlYmszWXlXKzMvZEliNkJEcXAzNVZuT1ljb2NaN2x4ditKUGVhZ25Qc0QrRlRyWkcKSUFkOSt3dlVZdHNFV1pQZURjYXZWZmx3R0daelJzTEI1RGMzMng0bHhpN3RCcnJDUVN2bXpTUVQxOXFnaDdhUAo1Um9iSkVKS0YxaGNZWVpEUndHcGQ5QzRpa1RBdFZlSVJLeHEyRCtQWllTQzRsbS94ZDNHVjYrWnAvM3Z5L0REClNyZjFOcDd2aVU4NFNldEhjajRtOWJTdzVPS2VrZ1d3bVpZZWNTazNhUnI0TE4vZFpjcDRFRm1vdmtnS3JZY0sKRFgxbExTTkNGelFkNmhyTUpMVW0vMTVpRityQXBSMFFOWTBqeTZwZW4zRVkvYWY4Mjc1WWxXOU1sb0hFL3JHOQpOOHFud09qN3RJK3d0TkRXUnRRcjZYTGd3d0lEQVFBQm95WXdKREFpQmdOVkhSRUVHekFaZ2dzeE56SXVNVFl1Ck1qQXVNb2NFMUMvcDRJY0VyQkFVQWpBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQXdPaHRmUEFvSWVKOW5UR1kKM2p4MmdOV1Foanc2MTNTaUF4UTY1SUs5NmpsZGN3T0Jkc3NpL1YzMEE2aDhPYTVrbkNQUmJSMlF6UGRpUndMUgplK3JnL2hXQW9QaFRmOVNnL1ZwTDZYZ3hTL1FKUGJWSHhQd3UrbTlRaFdqOUUxeDc2STNjYmE3ZXRKUWQwU0tRCnRnMW55QkFrUktpQUszRURsb2EvOHUwSlRVbkJ6ZklYa243Y2dXckZiU3YwNDUyTEZkZFIxLzc4a3lWU1FEWXcKNFgydlVNelZEYTRmZlUrb2FsbWRDMnlFMERnZTZyNkFZSGNFcFhmN2hXM3lIbHZpRDJHa0xva2FYZ0IvSUZWRgpsVGx2RCtGMlJvLy9DQTJNQThwT0lmMjNXaDcwMFlrUFVWV1lKdzgyQWFYQ0toNUhHY1JLb2NDOVpRbnJzZjlZCjMzTnZQdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K","content_type":"application/x-pem-file","name":"ssl_certificate"}' headers: Content-Length: - - "427" + - "1725" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 05 May 2025 22:03:44 GMT + - Mon, 05 May 2025 22:03:42 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -789,11 +395,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c0ee472c-6e91-4f1a-a661-342c95e88608 + - bc993a13-2f4c-4857-8cc8-7a38263070c6 status: 200 OK code: 200 - duration: 78.746805ms - - id: 16 + duration: 143.625328ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -809,7 +415,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/6d0a9879-42fc-4ede-9547-908a76440ce0 + url: https://api.scaleway.com/ipam/v1/regions/fr-par/ips?order_by=created_at_desc&private_network_id=196b153a-a6b9-42f2-ab24-ef3eb5a94145&resource_id=16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3&resource_type=rdb_instance method: GET response: proto: HTTP/2.0 @@ -817,18 +423,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 427 + content_length: 553 uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"provisioning"}' + body: '{"ips":[{"address":"172.16.20.2/22","created_at":"2025-05-05T22:00:40.718661Z","id":"278b2b61-88a9-41aa-8d03-8a8d20f8080d","is_ipv6":false,"project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","resource":{"id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","mac_address":"02:00:00:18:3F:54","name":"test-rdb-rr-instance-in-pn","type":"rdb_instance"},"reverses":[],"source":{"subnet_id":"8d2d841d-b6e0-4274-b299-38a2371788a2"},"tags":["managed","scwdbaas"],"updated_at":"2025-05-05T22:01:07.398744Z","zone":null}],"total_count":1}' headers: Content-Length: - - "427" + - "553" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 05 May 2025 22:04:14 GMT + - Mon, 05 May 2025 22:03:42 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -838,77 +444,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a3e84e1-ab18-4404-a44c-12192d126a41 + - e652357b-13a1-4a31-b2c6-cb34c07e00a1 status: 200 OK code: 200 - duration: 94.479355ms - - id: 17 + duration: 85.993231ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 188 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","endpoint_spec":[{"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","ipam_config":{}}}],"same_zone":true}' form: {} headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/6d0a9879-42fc-4ede-9547-908a76440ce0 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 427 - uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"initializing"}' - headers: - Content-Length: - - "427" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json - Date: - - Mon, 05 May 2025 22:04:44 GMT - Server: - - Scaleway API Gateway (fr-par-3;edge02) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 75ff9756-9901-4ec1-8ae6-ca91ce34d6bd - status: 200 OK - code: 200 - duration: 181.671768ms - - id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas/6d0a9879-42fc-4ede-9547-908a76440ce0 - method: GET + url: https://api.scaleway.com/rdb/v1/regions/fr-par/read-replicas + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -917,7 +476,7 @@ interactions: trailer: {} content_length: 427 uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - "427" @@ -926,7 +485,7 @@ interactions: Content-Type: - application/json Date: - - Mon, 05 May 2025 22:05:14 GMT + - Mon, 05 May 2025 22:03:43 GMT Server: - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: @@ -936,11 +495,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9a60ade-de20-4f96-9faa-57193201b250 + - 12bc4640-3c95-425e-afeb-56475d64c4fc status: 200 OK code: 200 - duration: 173.130076ms - - id: 19 + duration: 1.560408549s + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -966,7 +525,7 @@ interactions: trailer: {} content_length: 427 uncompressed: false - body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"initializing"}' + body: '{"endpoints":[{"id":"46db0cc6-16cf-45bd-8cf2-65a803e770e2","ip":"172.16.20.3","name":null,"port":5432,"private_network":{"private_network_id":"196b153a-a6b9-42f2-ab24-ef3eb5a94145","provisioning_mode":"ipam","service_ip":"172.16.20.3/22","zone":"fr-par-1"}}],"id":"6d0a9879-42fc-4ede-9547-908a76440ce0","instance_id":"16a958f5-af8d-4fb5-b42f-cfa7c1c06fc3","region":"fr-par","same_zone":true,"status":"provisioning"}' headers: Content-Length: - "427" @@ -975,9 +534,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 05 May 2025 22:05:44 GMT + - Mon, 05 May 2025 22:03:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-3;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -985,11 +544,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3deb4a87-751f-4f7a-b847-ffc8f4582a97 + - c0ee472c-6e91-4f1a-a661-342c95e88608 status: 200 OK code: 200 - duration: 239.951263ms - - id: 20 + duration: 78.746805ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -1038,7 +597,7 @@ interactions: status: 200 OK code: 200 duration: 203.66234ms - - id: 21 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -1087,7 +646,7 @@ interactions: status: 200 OK code: 200 duration: 90.017309ms - - id: 22 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -1136,7 +695,7 @@ interactions: status: 200 OK code: 200 duration: 80.31637ms - - id: 23 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1185,7 +744,7 @@ interactions: status: 200 OK code: 200 duration: 28.861738ms - - id: 24 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1234,7 +793,7 @@ interactions: status: 200 OK code: 200 duration: 29.869895ms - - id: 25 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1283,7 +842,7 @@ interactions: status: 200 OK code: 200 duration: 138.038904ms - - id: 26 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1332,7 +891,7 @@ interactions: status: 200 OK code: 200 duration: 99.561615ms - - id: 27 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1381,7 +940,7 @@ interactions: status: 200 OK code: 200 duration: 71.234158ms - - id: 28 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1430,7 +989,7 @@ interactions: status: 200 OK code: 200 duration: 85.106837ms - - id: 29 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1479,7 +1038,7 @@ interactions: status: 200 OK code: 200 duration: 26.347652ms - - id: 30 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1528,7 +1087,7 @@ interactions: status: 200 OK code: 200 duration: 41.104285ms - - id: 31 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1577,7 +1136,7 @@ interactions: status: 200 OK code: 200 duration: 132.382014ms - - id: 32 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1626,7 +1185,7 @@ interactions: status: 200 OK code: 200 duration: 93.161656ms - - id: 33 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1675,7 +1234,7 @@ interactions: status: 200 OK code: 200 duration: 75.761072ms - - id: 34 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1724,7 +1283,7 @@ interactions: status: 200 OK code: 200 duration: 81.078476ms - - id: 35 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1773,7 +1332,7 @@ interactions: status: 200 OK code: 200 duration: 137.047539ms - - id: 36 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1822,7 +1381,7 @@ interactions: status: 200 OK code: 200 duration: 146.700138ms - - id: 37 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1873,7 +1432,7 @@ interactions: status: 200 OK code: 200 duration: 173.552424ms - - id: 38 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1922,7 +1481,7 @@ interactions: status: 200 OK code: 200 duration: 379.898217ms - - id: 39 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1969,7 +1528,7 @@ interactions: status: 204 No Content code: 204 duration: 512.097329ms - - id: 40 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -2018,7 +1577,7 @@ interactions: status: 200 OK code: 200 duration: 511.149313ms - - id: 41 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -2067,7 +1626,7 @@ interactions: status: 200 OK code: 200 duration: 718.64869ms - - id: 42 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -2118,7 +1677,7 @@ interactions: status: 200 OK code: 200 duration: 1.633398069s - - id: 43 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2167,7 +1726,7 @@ interactions: status: 200 OK code: 200 duration: 138.543277ms - - id: 44 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2216,7 +1775,7 @@ interactions: status: 200 OK code: 200 duration: 256.058339ms - - id: 45 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2265,7 +1824,7 @@ interactions: status: 200 OK code: 200 duration: 111.21527ms - - id: 46 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2314,7 +1873,7 @@ interactions: status: 200 OK code: 200 duration: 83.208251ms - - id: 47 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2363,7 +1922,7 @@ interactions: status: 200 OK code: 200 duration: 73.198714ms - - id: 48 + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -2410,7 +1969,7 @@ interactions: status: 204 No Content code: 204 duration: 160.35162ms - - id: 49 + - id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -2459,7 +2018,7 @@ interactions: status: 200 OK code: 200 duration: 82.21927ms - - id: 50 + - id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -2508,7 +2067,7 @@ interactions: status: 200 OK code: 200 duration: 102.033401ms - - id: 51 + - id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -2557,7 +2116,7 @@ interactions: status: 200 OK code: 200 duration: 168.293175ms - - id: 52 + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -2608,7 +2167,7 @@ interactions: status: 200 OK code: 200 duration: 1.167194381s - - id: 53 + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -2657,7 +2216,7 @@ interactions: status: 200 OK code: 200 duration: 76.571677ms - - id: 54 + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2706,7 +2265,7 @@ interactions: status: 200 OK code: 200 duration: 86.837664ms - - id: 55 + - id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -2755,7 +2314,7 @@ interactions: status: 200 OK code: 200 duration: 164.400186ms - - id: 56 + - id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2804,7 +2363,7 @@ interactions: status: 200 OK code: 200 duration: 87.385009ms - - id: 57 + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2853,7 +2412,7 @@ interactions: status: 200 OK code: 200 duration: 46.044623ms - - id: 58 + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2902,7 +2461,7 @@ interactions: status: 200 OK code: 200 duration: 95.621958ms - - id: 59 + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2951,7 +2510,7 @@ interactions: status: 200 OK code: 200 duration: 150.16559ms - - id: 60 + - id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -3000,7 +2559,7 @@ interactions: status: 200 OK code: 200 duration: 358.512282ms - - id: 61 + - id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -3049,7 +2608,7 @@ interactions: status: 200 OK code: 200 duration: 99.809257ms - - id: 62 + - id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -3098,7 +2657,7 @@ interactions: status: 200 OK code: 200 duration: 445.25545ms - - id: 63 + - id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -3147,7 +2706,7 @@ interactions: status: 200 OK code: 200 duration: 80.209798ms - - id: 64 + - id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -3196,7 +2755,7 @@ interactions: status: 200 OK code: 200 duration: 669.117846ms - - id: 65 + - id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -3245,7 +2804,7 @@ interactions: status: 200 OK code: 200 duration: 103.497611ms - - id: 66 + - id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -3292,7 +2851,7 @@ interactions: status: 204 No Content code: 204 duration: 1.259138146s - - id: 67 + - id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -3341,7 +2900,7 @@ interactions: status: 404 Not Found code: 404 duration: 83.174046ms - - id: 68 + - id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -3390,7 +2949,7 @@ interactions: status: 200 OK code: 200 duration: 124.353551ms - - id: 69 + - id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -3439,7 +2998,7 @@ interactions: status: 200 OK code: 200 duration: 402.014023ms - - id: 70 + - id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -3488,7 +3047,7 @@ interactions: status: 200 OK code: 200 duration: 499.710253ms - - id: 71 + - id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -3537,7 +3096,7 @@ interactions: status: 404 Not Found code: 404 duration: 165.397581ms - - id: 72 + - id: 63 request: proto: HTTP/1.1 proto_major: 1 @@ -3584,7 +3143,7 @@ interactions: status: 204 No Content code: 204 duration: 1.574150028s - - id: 73 + - id: 64 request: proto: HTTP/1.1 proto_major: 1 @@ -3633,7 +3192,7 @@ interactions: status: 404 Not Found code: 404 duration: 317.587029ms - - id: 74 + - id: 65 request: proto: HTTP/1.1 proto_major: 1 diff --git a/internal/services/rdb/testdata/user-basic.cassette.yaml b/internal/services/rdb/testdata/user-basic.cassette.yaml index b03b51b007..ac61de80d4 100644 --- a/internal/services/rdb/testdata/user-basic.cassette.yaml +++ b/internal/services/rdb/testdata/user-basic.cassette.yaml @@ -151,300 +151,6 @@ interactions: code: 200 duration: 171.445625ms - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 851 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"provisioning","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "851" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:34:40 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c68b0ef1-88b2-49d6-965b-52175d202a32 - status: 200 OK - code: 200 - duration: 197.252708ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 851 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "851" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 17368212-d490-406f-b570-729bedfe706b - status: 200 OK - code: 200 - duration: 219.129291ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 851 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "851" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:35:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1b34ef5e-ebc8-4e49-9cf7-2c04e5e60ae8 - status: 200 OK - code: 200 - duration: 161.580125ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 851 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "851" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 055f241f-fe3f-4fbd-9152-7cc471f2650e - status: 200 OK - code: 200 - duration: 172.672667ms - - id: 7 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 851 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "851" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:36:41 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 70fadb3d-74af-4b48-9a69-0a0714184565 - status: 200 OK - code: 200 - duration: 221.055125ms - - id: 8 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.5; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/rdb/v1/regions/fr-par/instances/7766fdbb-4e10-41ea-8a3c-4959ded5d7ac - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 1126 - uncompressed: false - body: '{"backup_same_region":false,"backup_schedule":{"disabled":false,"frequency":24,"next_run_at":"2025-02-07T13:34:10.447788Z","retention":7},"created_at":"2025-02-06T13:34:10.447788Z","encryption":{"enabled":false},"endpoint":null,"endpoints":[],"engine":"PostgreSQL-15","id":"7766fdbb-4e10-41ea-8a3c-4959ded5d7ac","init_settings":[],"is_ha_cluster":false,"logs_policy":{"max_age_retention":30,"total_disk_retention":null},"maintenances":[],"name":"TestAccScalewayRdbUser_Basic","node_type":"db-dev-s","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","project_id":"105bdce1-64c0-48ab-899d-868455867ecf","read_replicas":[],"region":"fr-par","settings":[{"name":"effective_cache_size","value":"1300"},{"name":"maintenance_work_mem","value":"150"},{"name":"max_connections","value":"100"},{"name":"max_parallel_workers","value":"0"},{"name":"max_parallel_workers_per_gather","value":"0"},{"name":"work_mem","value":"4"}],"status":"initializing","tags":["terraform-test","scaleway_rdb_user","minimal"],"upgradable_version":[],"volume":{"class":"lssd","size":5000000000,"type":"lssd"}}' - headers: - Content-Length: - - "1126" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 06 Feb 2025 13:37:11 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 668959f9-826d-4083-b2e9-b3a1af5da3a2 - status: 200 OK - code: 200 - duration: 131.419417ms - - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -493,7 +199,7 @@ interactions: status: 200 OK code: 200 duration: 1.762267875s - - id: 10 + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -544,7 +250,7 @@ interactions: status: 200 OK code: 200 duration: 9.665068791s - - id: 11 + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -593,7 +299,7 @@ interactions: status: 200 OK code: 200 duration: 268.412042ms - - id: 12 + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -642,7 +348,7 @@ interactions: status: 200 OK code: 200 duration: 230.897292ms - - id: 13 + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -691,7 +397,7 @@ interactions: status: 200 OK code: 200 duration: 390.785958ms - - id: 14 + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -740,7 +446,7 @@ interactions: status: 200 OK code: 200 duration: 169.720083ms - - id: 15 + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -791,7 +497,7 @@ interactions: status: 200 OK code: 200 duration: 163.062583ms - - id: 16 + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -840,7 +546,7 @@ interactions: status: 200 OK code: 200 duration: 183.5735ms - - id: 17 + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -889,7 +595,7 @@ interactions: status: 200 OK code: 200 duration: 302.37325ms - - id: 18 + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -938,7 +644,7 @@ interactions: status: 200 OK code: 200 duration: 173.220125ms - - id: 19 + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -987,7 +693,7 @@ interactions: status: 200 OK code: 200 duration: 161.971542ms - - id: 20 + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -1036,7 +742,7 @@ interactions: status: 200 OK code: 200 duration: 148.537875ms - - id: 21 + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -1085,7 +791,7 @@ interactions: status: 200 OK code: 200 duration: 209.84325ms - - id: 22 + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -1134,7 +840,7 @@ interactions: status: 200 OK code: 200 duration: 292.276541ms - - id: 23 + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -1183,7 +889,7 @@ interactions: status: 200 OK code: 200 duration: 168.802041ms - - id: 24 + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -1232,7 +938,7 @@ interactions: status: 200 OK code: 200 duration: 122.4585ms - - id: 25 + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1281,7 +987,7 @@ interactions: status: 200 OK code: 200 duration: 113.914292ms - - id: 26 + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1330,7 +1036,7 @@ interactions: status: 200 OK code: 200 duration: 151.775083ms - - id: 27 + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1379,7 +1085,7 @@ interactions: status: 200 OK code: 200 duration: 128.269417ms - - id: 28 + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1428,7 +1134,7 @@ interactions: status: 200 OK code: 200 duration: 139.420709ms - - id: 29 + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1475,7 +1181,7 @@ interactions: status: 204 No Content code: 204 duration: 125.043875ms - - id: 30 + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1524,7 +1230,7 @@ interactions: status: 200 OK code: 200 duration: 160.392583ms - - id: 31 + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1575,7 +1281,7 @@ interactions: status: 200 OK code: 200 duration: 149.520333ms - - id: 32 + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1624,7 +1330,7 @@ interactions: status: 200 OK code: 200 duration: 120.631583ms - - id: 33 + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1673,7 +1379,7 @@ interactions: status: 200 OK code: 200 duration: 163.621542ms - - id: 34 + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1722,7 +1428,7 @@ interactions: status: 200 OK code: 200 duration: 147.999666ms - - id: 35 + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,7 +1477,7 @@ interactions: status: 200 OK code: 200 duration: 137.128958ms - - id: 36 + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1820,7 +1526,7 @@ interactions: status: 200 OK code: 200 duration: 103.969667ms - - id: 37 + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1869,7 +1575,7 @@ interactions: status: 200 OK code: 200 duration: 136.744125ms - - id: 38 + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1918,7 +1624,7 @@ interactions: status: 200 OK code: 200 duration: 226.45325ms - - id: 39 + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1967,7 +1673,7 @@ interactions: status: 200 OK code: 200 duration: 349.312666ms - - id: 40 + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -2014,7 +1720,7 @@ interactions: status: 204 No Content code: 204 duration: 201.04625ms - - id: 41 + - id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -2063,7 +1769,7 @@ interactions: status: 200 OK code: 200 duration: 124.139083ms - - id: 42 + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -2112,7 +1818,7 @@ interactions: status: 200 OK code: 200 duration: 283.482083ms - - id: 43 + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -2161,7 +1867,7 @@ interactions: status: 200 OK code: 200 duration: 147.433541ms - - id: 44 + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -2210,7 +1916,7 @@ interactions: status: 404 Not Found code: 404 duration: 93.161792ms - - id: 45 + - id: 39 request: proto: HTTP/1.1 proto_major: 1