From 7287f4e746409212916f5034eb184f905e747789 Mon Sep 17 00:00:00 2001 From: devtools-ci-cd Date: Fri, 20 Dec 2024 16:08:13 +0100 Subject: [PATCH] feat(cockpit): add field grafana url --- docs/resources/cockpit_grafana_user.md | 2 + internal/services/cockpit/grafana_user.go | 18 + .../services/cockpit/grafana_user_test.go | 3 + .../testdata/grafana-user-basic.cassette.yaml | 319 +++++++--- .../grafana-user-update.cassette.yaml | 580 +++++++++++++----- 5 files changed, 693 insertions(+), 229 deletions(-) diff --git a/docs/resources/cockpit_grafana_user.md b/docs/resources/cockpit_grafana_user.md index c597a8f2d..62aa24a5d 100644 --- a/docs/resources/cockpit_grafana_user.md +++ b/docs/resources/cockpit_grafana_user.md @@ -41,6 +41,8 @@ This section lists the arguments that are supported: In addition to all arguments above, the following attributes are exported: - `password` - The password of the Grafana user. +- `grafana_url` - URL for Grafana. + ## Import diff --git a/internal/services/cockpit/grafana_user.go b/internal/services/cockpit/grafana_user.go index 0238016c7..c0fb2484b 100644 --- a/internal/services/cockpit/grafana_user.go +++ b/internal/services/cockpit/grafana_user.go @@ -50,6 +50,12 @@ func ResourceCockpitGrafanaUser() *schema.Resource { Description: "The role of the Grafana user", ValidateDiagFunc: verify.ValidateEnum[cockpit.GrafanaUserRole](), }, + "grafana_url": { + Type: schema.TypeString, + Computed: true, + Description: "The grafana URL", + }, + "project_id": account.ProjectIDSchema(), }, } @@ -109,9 +115,21 @@ func ResourceCockpitGrafanaUserRead(ctx context.Context, d *schema.ResourceData, return nil } + grafana, err := api.GetGrafana(&cockpit.GlobalAPIGetGrafanaRequest{ + ProjectID: projectID, + }, scw.WithContext(ctx)) + if err != nil { + if httperrors.Is404(err) { + d.SetId("") + return nil + } + return diag.FromErr(err) + } + _ = d.Set("login", grafanaUser.Login) _ = d.Set("role", grafanaUser.Role) _ = d.Set("project_id", projectID) + _ = d.Set("grafana_url", grafana.GrafanaURL) return nil } diff --git a/internal/services/cockpit/grafana_user_test.go b/internal/services/cockpit/grafana_user_test.go index bbb34eb13..b32915720 100644 --- a/internal/services/cockpit/grafana_user_test.go +++ b/internal/services/cockpit/grafana_user_test.go @@ -43,6 +43,7 @@ func TestAccGrafanaUser_Basic(t *testing.T) { resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "login", grafanaTestUsername), resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "role", "editor"), resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "password"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "grafana_url"), ), }, { @@ -86,6 +87,7 @@ func TestAccGrafanaUser_Update(t *testing.T) { resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "login", grafanaTestUsername), resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "role", "editor"), resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "password"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "grafana_url"), ), }, { @@ -106,6 +108,7 @@ func TestAccGrafanaUser_Update(t *testing.T) { resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "login", grafanaTestUsername), resource.TestCheckResourceAttr("scaleway_cockpit_grafana_user.main", "role", "viewer"), resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "password"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_grafana_user.main", "grafana_url"), ), }, { diff --git a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml index 3ca325504..72fb0783f 100644 --- a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 255 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:32.512535Z","description":"","id":"61e18567-58cd-412e-bbc1-077105737f59","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:32.512535Z"}' + body: '{"created_at":"2024-12-20T14:47:12.017983Z","description":"","id":"116adb8a-36f7-40c3-8df7-3751b3538298","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T14:47:12.017983Z"}' headers: Content-Length: - "255" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:32 GMT + - Fri, 20 Dec 2024 14:47:12 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c1513509-8c70-496d-8909-f739bf89d02e + - 9cea8ef6-f51e-412a-9f4f-b61941f86eeb status: 200 OK code: 200 - duration: 263.740633ms + duration: 764.138667ms - id: 1 request: proto: HTTP/1.1 @@ -67,8 +67,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 255 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:32.512535Z","description":"","id":"61e18567-58cd-412e-bbc1-077105737f59","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:32.512535Z"}' + body: '{"created_at":"2024-12-20T14:47:12.017983Z","description":"","id":"116adb8a-36f7-40c3-8df7-3751b3538298","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T14:47:12.017983Z"}' headers: Content-Length: - "255" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:32 GMT + - Fri, 20 Dec 2024 14:47:12 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d7427798-911d-4c11-b62c-ecbdcd95fd16 + - f3084192-e785-4aaa-98ca-f7a85c962683 status: 200 OK code: 200 - duration: 95.590993ms + duration: 113.602625ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"61e18567-58cd-412e-bbc1-077105737f59","login":"testuserbasic","role":"editor"}' + body: '{"project_id":"116adb8a-36f7-40c3-8df7-3751b3538298","login":"testuserbasic","role":"editor"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 81 uncompressed: false - body: '{"id":2,"login":"testuserbasic","password":"FWVG_r4YmEEnrpk_","role":"editor"}' + body: '{"id":2,"login":"testuserbasic","password":"pFk5OFDDTyHYgVOa","role":"editor"}' headers: Content-Length: - "81" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:55 GMT + - Fri, 20 Dec 2024 14:47:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a200fe0b-24f0-4e62-a531-11a94efed4b0 + - e96e57e0-bde8-44df-8317-efefa95022c5 status: 200 OK code: 200 - duration: 22.767061948s + duration: 35.202121375s - id: 3 request: proto: HTTP/1.1 @@ -167,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:58 GMT + - Fri, 20 Dec 2024 14:47:47 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 93ed2426-3bcb-4f91-a35e-4adf13f1db23 + - 02646de6-9aaf-4e99-bab9-0fe0ffa76298 status: 200 OK code: 200 - duration: 2.972096078s + duration: 140.007458ms - id: 4 request: proto: HTTP/1.1 @@ -216,8 +216,57 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=116adb8a-36f7-40c3-8df7-3751b3538298 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://116adb8a-36f7-40c3-8df7-3751b3538298.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 14:47:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a6cb078f-9d45-4449-b330-13d075f7172d + status: 200 OK + code: 200 + duration: 74.946959ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -236,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:58 GMT + - Fri, 20 Dec 2024 14:47:48 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,11 +295,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dcb976bb-6da8-410f-ad63-f04d7aa10914 + - f2ebd811-ac5c-4705-81ff-0df499974fec status: 200 OK code: 200 - duration: 176.769992ms - - id: 5 + duration: 127.15425ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -265,8 +314,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -276,7 +325,7 @@ interactions: trailer: {} content_length: 255 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:32.512535Z","description":"","id":"61e18567-58cd-412e-bbc1-077105737f59","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:32.512535Z"}' + body: '{"created_at":"2024-12-20T14:47:12.017983Z","description":"","id":"116adb8a-36f7-40c3-8df7-3751b3538298","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T14:47:12.017983Z"}' headers: Content-Length: - "255" @@ -285,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:59 GMT + - Fri, 20 Dec 2024 14:47:48 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,11 +344,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 44711e59-c09f-424d-9ce1-9e5c3a37b9b3 + - f5d8f540-a082-4608-94ad-b42df2c9279b status: 200 OK code: 200 - duration: 103.447753ms - - id: 6 + duration: 106.6695ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -314,8 +363,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -334,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:02 GMT + - Fri, 20 Dec 2024 14:47:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,11 +393,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a57cb7a8-947c-45fd-9758-653ab410cad3 + - 2a9e52c8-d881-45fa-b123-3b0f64bbb394 status: 200 OK code: 200 - duration: 3.050264734s - - id: 7 + duration: 7.190212375s + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -363,8 +412,106 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=116adb8a-36f7-40c3-8df7-3751b3538298 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://116adb8a-36f7-40c3-8df7-3751b3538298.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 14:47:56 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 624f32ec-5f57-4665-a8cc-2b31508f5461 + status: 200 OK + code: 200 + duration: 66.025917ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/116adb8a-36f7-40c3-8df7-3751b3538298 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 255 + uncompressed: false + body: '{"created_at":"2024-12-20T14:47:12.017983Z","description":"","id":"116adb8a-36f7-40c3-8df7-3751b3538298","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T14:47:12.017983Z"}' + headers: + Content-Length: + - "255" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 14:47:56 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 712c66d7-d584-49e1-8296-49def2e38464 + status: 200 OK + code: 200 + duration: 141.53425ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -383,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:02 GMT + - Fri, 20 Dec 2024 14:47:56 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,11 +540,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 01c83d2d-2a2d-46ce-a271-b382ac76f126 + - 582d9d85-f4e7-461a-aedb-6c519ce3d766 status: 200 OK code: 200 - duration: 516.242505ms - - id: 8 + duration: 167.346958ms + - id: 11 request: proto: HTTP/1.1 proto_major: 1 @@ -412,8 +559,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -421,20 +568,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 97 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:32.512535Z","description":"","id":"61e18567-58cd-412e-bbc1-077105737f59","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:32.512535Z"}' + body: '{"grafana_url":"https://116adb8a-36f7-40c3-8df7-3751b3538298.dashboard.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "255" + - "97" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:02 GMT + - Fri, 20 Dec 2024 14:47:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,11 +589,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 228dfb2b-a281-4783-80c0-695f48a9cfaf + - 573fcb1a-1785-4482-9467-4a848a25cf20 status: 200 OK code: 200 - duration: 516.493636ms - - id: 9 + duration: 69.454042ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -461,8 +608,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=116adb8a-36f7-40c3-8df7-3751b3538298 method: DELETE response: proto: HTTP/2.0 @@ -479,9 +626,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:06 GMT + - Fri, 20 Dec 2024 14:48:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,11 +636,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07f2e6f1-81cd-4017-8ffb-945b8bd3036f + - 7a9fe718-ee46-47e4-907c-005c7332a117 status: 204 No Content code: 204 - duration: 3.049629072s - - id: 10 + duration: 4.381688875s + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -508,8 +655,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/116adb8a-36f7-40c3-8df7-3751b3538298 method: GET response: proto: HTTP/2.0 @@ -519,7 +666,7 @@ interactions: trailer: {} content_length: 255 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:32.512535Z","description":"","id":"61e18567-58cd-412e-bbc1-077105737f59","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:32.512535Z"}' + body: '{"created_at":"2024-12-20T14:47:12.017983Z","description":"","id":"116adb8a-36f7-40c3-8df7-3751b3538298","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T14:47:12.017983Z"}' headers: Content-Length: - "255" @@ -528,9 +675,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:07 GMT + - Fri, 20 Dec 2024 14:48:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -538,11 +685,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 18ef54dd-23de-4592-b621-c7e275c6b24e + - 1665cb81-fbae-41cd-8122-db73497010c7 status: 200 OK code: 200 - duration: 121.301274ms - - id: 11 + duration: 111.887042ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -557,8 +704,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/61e18567-58cd-412e-bbc1-077105737f59 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/116adb8a-36f7-40c3-8df7-3751b3538298 method: DELETE response: proto: HTTP/2.0 @@ -575,9 +722,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:09 GMT + - Fri, 20 Dec 2024 14:48:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -585,7 +732,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 996ec8f8-da2a-4f6b-a743-4d21f4d1328b + - 1330ac25-bc0e-4926-9f10-604c6011b06b status: 204 No Content code: 204 - duration: 1.616169336s + duration: 1.546758458s diff --git a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml index 0f761d409..24dd783e6 100644 --- a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Fri, 20 Dec 2024 15:28:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - efc2c45a-ad57-463f-ad69-4121027f574f + - 6b543d5e-867a-4fd4-aaab-7f1c48864fa7 status: 200 OK code: 200 - duration: 289.061515ms + duration: 314.873333ms - id: 1 request: proto: HTTP/1.1 @@ -67,8 +67,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Fri, 20 Dec 2024 15:28:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 37d18d6e-db38-41ac-91e8-4765addf68e6 + - 00ae8424-5eb2-43ad-9b8d-3298fe8729d6 status: 200 OK code: 200 - duration: 98.773629ms + duration: 115.495666ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"8a729b76-788a-4125-bf33-99950364c0f2","login":"testuserupdate","role":"editor"}' + body: '{"project_id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","login":"testuserupdate","role":"editor"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 82 uncompressed: false - body: '{"id":2,"login":"testuserupdate","password":"rSGX3wSzRNL35b0k","role":"editor"}' + body: '{"id":2,"login":"testuserupdate","password":"c9XLf5RvSUykeCGH","role":"editor"}' headers: Content-Length: - "82" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:46 GMT + - Fri, 20 Dec 2024 15:29:17 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b46bc7c2-65ab-4daa-9948-01b578724c89 + - b87d2ee9-f43f-46c6-9abc-a9eb2645d7f5 status: 200 OK code: 200 - duration: 21.76193659s + duration: 33.018099416s - id: 3 request: proto: HTTP/1.1 @@ -167,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:49 GMT + - Fri, 20 Dec 2024 15:29:17 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b3753aef-595b-43bf-adfe-cd13293381d0 + - 5c423cee-ecb6-4429-8966-54eb683d4205 status: 200 OK code: 200 - duration: 2.913317632s + duration: 112.288125ms - id: 4 request: proto: HTTP/1.1 @@ -216,8 +216,57 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29:18 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: + - 427ab098-b6f1-49cd-b800-107ffd0134aa + status: 200 OK + code: 200 + duration: 75.054333ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -236,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:52 GMT + - Fri, 20 Dec 2024 15:29:18 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,11 +295,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 87e7db0e-1f32-4123-b61b-dd624e8287f0 + - 098b8313-b5e1-4c80-9fef-1359890ad684 status: 200 OK code: 200 - duration: 3.063878522s - - id: 5 + duration: 139.8655ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -265,8 +314,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -276,7 +325,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -285,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:53 GMT + - Fri, 20 Dec 2024 15:29:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,11 +344,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0454da35-3d91-4c62-81e1-e4611f8a5c2f + - 4488b54a-b1e0-478d-ad8a-db41479adf59 status: 200 OK code: 200 - duration: 104.429739ms - - id: 6 + duration: 98.344791ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -314,8 +363,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -334,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:53 GMT + - Fri, 20 Dec 2024 15:29:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,11 +393,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 66754694-646f-4f91-8218-f6f7c4aa6be1 + - 08e2e260-ca5e-4044-909f-0ca3f7eaf230 status: 200 OK code: 200 - duration: 117.139823ms - - id: 7 + duration: 92.583583ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29: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: + - c1af61ef-029f-4f2d-af0f-c7d5272613e2 + status: 200 OK + code: 200 + duration: 64.902916ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -363,8 +461,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -374,7 +472,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -383,9 +481,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:53 GMT + - Fri, 20 Dec 2024 15:29:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,11 +491,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8d76e73e-b36b-43ff-b932-3c91d8d3797f + - 0198afb6-29c8-4ca5-b574-527e1d9452c2 status: 200 OK code: 200 - duration: 116.743119ms - - id: 8 + duration: 127.816958ms + - id: 10 request: proto: HTTP/1.1 proto_major: 1 @@ -412,8 +510,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -432,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:56 GMT + - Fri, 20 Dec 2024 15:29:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,11 +540,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5411be5a-e47a-4981-94be-7e27509d8df6 + - ceb768e9-7b95-404f-b83d-035a331092ad status: 200 OK code: 200 - duration: 3.258636855s - - id: 9 + duration: 123.507083ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29: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: + - a677d422-1550-4d23-9b3f-c7a85991f948 + status: 200 OK + code: 200 + duration: 63.545125ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -461,8 +608,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: DELETE response: proto: HTTP/2.0 @@ -479,9 +626,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:57 GMT + - Fri, 20 Dec 2024 15:29:24 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,11 +636,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7d15214c-970c-44c1-9c2a-ed89f9d4c50a + - 5a35b15f-bf2d-4492-af84-2794fee7c791 status: 204 No Content code: 204 - duration: 228.310956ms - - id: 10 + duration: 3.176073333s + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -504,13 +651,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"8a729b76-788a-4125-bf33-99950364c0f2","login":"testuserupdate","role":"viewer"}' + body: '{"project_id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","login":"testuserupdate","role":"viewer"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -521,7 +668,7 @@ interactions: trailer: {} content_length: 82 uncompressed: false - body: '{"id":3,"login":"testuserupdate","password":"UdGUqivB5Nr-fhQ_","role":"viewer"}' + body: '{"id":3,"login":"testuserupdate","password":"k77iqwVAMZYHN2y_","role":"viewer"}' headers: Content-Length: - "82" @@ -530,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:57 GMT + - Fri, 20 Dec 2024 15:29:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,11 +687,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1513dfd0-d833-45a0-84cf-0909a01c0cea + - 90434cb9-bb2b-4893-932c-cc9f97bc12a9 status: 200 OK code: 200 - duration: 331.731336ms - - id: 11 + duration: 3.4608705s + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +706,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -579,9 +726,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:57 GMT + - Fri, 20 Dec 2024 15:29:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,11 +736,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 672ecfea-bf93-4df9-84ce-c8f3031bae8c + - 0cffbf56-bf77-4ab0-a02a-73bf5342b038 status: 200 OK code: 200 - duration: 116.526852ms - - id: 12 + duration: 133.591791ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29:27 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: + - 14b3b5a7-6522-4fd4-8b3a-b1aa14e07592 + status: 200 OK + code: 200 + duration: 76.687917ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -608,8 +804,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -628,9 +824,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:58 GMT + - Fri, 20 Dec 2024 15:29:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,11 +834,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c6d4b05d-e662-436f-8e9a-dcebbd411566 + - bdfc5aac-cc05-4069-b608-31a9233b878d status: 200 OK code: 200 - duration: 127.353283ms - - id: 13 + duration: 122.621542ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -657,8 +853,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -668,7 +864,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -677,9 +873,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:58 GMT + - Fri, 20 Dec 2024 15:29:28 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,11 +883,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0bdd5e99-70d6-41d1-a4bd-493960bd39b8 + - 7de29a2d-9c3c-40a6-9d9c-2d7ba298ac7f status: 200 OK code: 200 - duration: 110.060496ms - - id: 14 + duration: 133.436458ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -706,8 +902,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -726,9 +922,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:58 GMT + - Fri, 20 Dec 2024 15:29:29 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,11 +932,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb518a8d-84ad-415d-9066-167fa18ffd53 + - 6f772b73-440b-4b25-a4c3-7f7ff395d6a0 status: 200 OK code: 200 - duration: 127.306253ms - - id: 15 + duration: 117.450583ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29:29 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: + - ff06311e-62ac-4af7-957f-ce009336f3a1 + status: 200 OK + code: 200 + duration: 66.766375ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -755,8 +1000,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -766,7 +1011,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -775,9 +1020,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:59 GMT + - Fri, 20 Dec 2024 15:29:29 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -785,11 +1030,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4173faae-d2b2-425f-a2f0-de74680164b5 + - 7080a27f-e7e6-4cd4-8d56-164baaea733a status: 200 OK code: 200 - duration: 103.521155ms - - id: 16 + duration: 98.661833ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -804,8 +1049,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -824,9 +1069,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:59 GMT + - Fri, 20 Dec 2024 15:29:29 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -834,11 +1079,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c0ca89f-bfc6-479a-8702-7afca9b8f2ce + - db73fc0a-68fe-4f6f-987d-370253f7e1aa status: 200 OK code: 200 - duration: 120.911125ms - - id: 17 + duration: 111.014833ms + - 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.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_url":"https://bc79c7aa-e9d9-4523-a492-0e91c12a98d2.dashboard.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 20 Dec 2024 15:29:29 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: + - a33f3acc-7161-496f-849b-e94fb19ad9c9 + status: 200 OK + code: 200 + duration: 71.08725ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -853,8 +1147,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: DELETE response: proto: HTTP/2.0 @@ -871,9 +1165,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:59 GMT + - Fri, 20 Dec 2024 15:29:35 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -881,11 +1175,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97773d2f-2a49-4b92-9c25-f26b8efaa8f1 + - 7570e206-25f9-438b-b347-5d71a06f3465 status: 204 No Content code: 204 - duration: 162.359889ms - - id: 18 + duration: 4.926511375s + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -900,8 +1194,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: GET response: proto: HTTP/2.0 @@ -911,7 +1205,7 @@ interactions: trailer: {} content_length: 256 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:24.413454Z","description":"","id":"8a729b76-788a-4125-bf33-99950364c0f2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:24.413454Z"}' + body: '{"created_at":"2024-12-20T15:28:44.527272Z","description":"","id":"bc79c7aa-e9d9-4523-a492-0e91c12a98d2","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-20T15:28:44.527272Z"}' headers: Content-Length: - "256" @@ -920,9 +1214,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:00 GMT + - Fri, 20 Dec 2024 15:29:36 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -930,11 +1224,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e01b1cd3-a0d2-4c59-ac08-86c6f4b2e2dd + - ad5f05ad-2ff3-44d0-ad24-08d5f563d019 status: 200 OK code: 200 - duration: 99.132808ms - - id: 19 + duration: 136.572ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -949,8 +1243,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/8a729b76-788a-4125-bf33-99950364c0f2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/bc79c7aa-e9d9-4523-a492-0e91c12a98d2 method: DELETE response: proto: HTTP/2.0 @@ -967,9 +1261,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:05:02 GMT + - Fri, 20 Dec 2024 15:29:38 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -977,7 +1271,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 32601939-aa7e-4308-92e3-ebc9af2c1abd + - dc1ba471-9055-437a-b041-0f9c6e98face status: 204 No Content code: 204 - duration: 1.173994135s + duration: 1.299977375s