diff --git a/docs/data-sources/cockpit_sources.md b/docs/data-sources/cockpit_sources.md index 750ba4e315..ad4d0d556a 100644 --- a/docs/data-sources/cockpit_sources.md +++ b/docs/data-sources/cockpit_sources.md @@ -38,9 +38,9 @@ data "scaleway_cockpit_sources" "my_sources" { ### Filter sources by origin ```hcl -data "scaleway_cockpit_sources" "external" { +data "scaleway_cockpit_sources" "custom" { project_id = "11111111-1111-1111-1111-111111111111" - origin = "external" + origin = "custom" } ``` @@ -61,7 +61,7 @@ The following arguments are supported: - `region` - (Optional) The region in which the cockpit sources are located. - `name` - (Optional) Filter sources by name. - `type` - (Optional) Filter sources by type. Possible values are: `metrics`, `logs`, `traces`. -- `origin` - (Optional) Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`. +- `origin` - (Optional) Filter sources by origin. Possible values are: `scaleway`, `custom`. ## Attributes Reference diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index 356dc05079..b9916c218b 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -141,7 +141,7 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m any) dia dataSourcesRes, err := regionalAPI.ListDataSources(&cockpit.RegionalAPIListDataSourcesRequest{ Region: region, ProjectID: projectID, - Origin: "external", + Origin: "custom", }, scw.WithContext(ctx), scw.WithAllPages()) if err != nil { return diag.FromErr(err) diff --git a/internal/services/cockpit/cockpit_test.go b/internal/services/cockpit/cockpit_test.go index c3b45334d5..b216e0b5a7 100644 --- a/internal/services/cockpit/cockpit_test.go +++ b/internal/services/cockpit/cockpit_test.go @@ -1,7 +1,6 @@ package cockpit_test import ( - "fmt" "testing" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -56,7 +55,6 @@ func TestAccCockpit_Basic(t *testing.T) { resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan"), resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "free"), resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.grafana_url"), - checkGrafanaURL("scaleway_cockpit.main", "scaleway_account_project.project"), ), }, }, @@ -128,20 +126,6 @@ func TestAccCockpit_WithSourceEndpoints(t *testing.T) { }) } -func checkGrafanaURL(resourceName, projectResource string) resource.TestCheckFunc { - return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[projectResource] - if !ok { - return fmt.Errorf("Not found: %s", projectResource) - } - - projectID := rs.Primary.ID - expectedURL := fmt.Sprintf("https://%s.dashboard.obs.fr-par.scw.cloud", projectID) - - return resource.TestCheckResourceAttr(resourceName, "endpoints.0.grafana_url", expectedURL)(s) - } -} - func isCockpitDestroyed(_ *acctest.TestTools) resource.TestCheckFunc { return func(_ *terraform.State) error { return nil diff --git a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml index 8cec727b69..24931d221c 100644 --- a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-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.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 272 uncompressed: false - body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' + body: '{"created_at":"2025-12-01T04:45:39.471735Z","description":"","id":"6b726976-f9bb-4839-9d52-f99697afcf42","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":null,"updated_at":"2025-12-01T04:45:39.471735Z"}' headers: Content-Length: - - "250" + - "272" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:52 GMT + - Mon, 01 Dec 2025 04:45:39 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c33df10-9a1c-4390-ae84-d12e60944ed2 + - dcf1caaa-c07b-4a23-9e0f-bc7b792ae9ff status: 200 OK code: 200 - duration: 457.500204ms + duration: 560.0735ms - 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/175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 317 uncompressed: false - body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' + body: '{"created_at":"2025-12-01T04:45:39.471735Z","description":"","id":"6b726976-f9bb-4839-9d52-f99697afcf42","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T04:45:39.471735Z"}' headers: Content-Length: - - "250" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:52 GMT + - Mon, 01 Dec 2025 04:45:39 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b57b0345-8632-42f9-a2b6-dad114771a65 + - 81617e5f-12c1-4fa8-8cd2-d6b48c98b105 status: 200 OK code: 200 - duration: 145.178728ms + duration: 187.236417ms - id: 2 request: proto: HTTP/1.1 @@ -116,157 +116,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/plans?order_by=name_asc&page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 754 - uncompressed: false - body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' - headers: - Content-Length: - - "754" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 30 Sep 2024 09:35:52 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: - - 85da475e-f0f4-428f-b820-caef6fa43bc5 - status: 200 OK - code: 200 - duration: 33.745216ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 72 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"project_id":"175f3c8f-3333-4a1a-8852-48e780ca6667","plan_name":"free"}' - 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 - url: https://api.scaleway.com/cockpit/v1/plans - method: PATCH - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 236 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "236" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 30 Sep 2024 09:35:52 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: - - 9da5437c-cbfb-4d8a-8432-eb2ee08d84f2 - status: 200 OK - code: 200 - duration: 141.52799ms - - 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.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 236 - uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' - headers: - Content-Length: - - "236" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 30 Sep 2024 09:35:53 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: - - f6b005ca-3359-4827-8af6-5f0cc5f5959a - status: 200 OK - code: 200 - duration: 72.199352ms - - 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.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -285,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:53 GMT + - Mon, 01 Dec 2025 04:45:40 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,11 +146,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 98eda9ff-97c2-456a-aba0-347e67f36df9 + - 54698fd3-1197-4e43-83bc-5016beb3ec16 status: 200 OK code: 200 - duration: 324.378499ms - - id: 6 + duration: 149.266458ms + - id: 3 request: proto: HTTP/1.1 proto_major: 1 @@ -314,8 +165,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?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -323,20 +174,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://6b726976-f9bb-4839-9d52-f99697afcf42.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:53 GMT + - Mon, 01 Dec 2025 04:45:40 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,11 +195,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe4eefc4-c84a-451f-a43e-cf40ad3a5b62 + - cb92aa23-69eb-4685-83a5-c8d4f009e9bf status: 200 OK code: 200 - duration: 80.997381ms - - id: 7 + duration: 204.401833ms + - id: 4 request: proto: HTTP/1.1 proto_major: 1 @@ -363,8 +214,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/regions/fr-par/alert-manager?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -383,58 +234,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:53 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: - - 82dbad3f-14d9-4cc6-b0fd-5cf094f3bdb6 - status: 200 OK - code: 200 - duration: 83.072085ms - - 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.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/175f3c8f-3333-4a1a-8852-48e780ca6667 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 250 - uncompressed: false - body: '{"created_at":"2024-09-30T09:35:52.355645Z","description":"","id":"175f3c8f-3333-4a1a-8852-48e780ca6667","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-30T09:35:52.355645Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Mon, 30 Sep 2024 09:35:54 GMT + - Mon, 01 Dec 2025 04:45:40 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,11 +244,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 920d27c0-3770-4f4a-9ded-c9d55009bb76 + - 1695e3fd-0524-45ee-a45e-7882c42c8e11 status: 200 OK code: 200 - duration: 115.963121ms - - id: 9 + duration: 191.281084ms + - id: 5 request: proto: HTTP/1.1 proto_major: 1 @@ -461,8 +263,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/current-plan?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -470,20 +272,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 317 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"created_at":"2025-12-01T04:45:39.471735Z","description":"","id":"6b726976-f9bb-4839-9d52-f99697afcf42","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T04:45:39.471735Z"}' headers: Content-Length: - - "236" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:54 GMT + - Mon, 01 Dec 2025 04:45:41 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -491,11 +293,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - db0c6e90-d4c1-48dc-957a-61c997141c58 + - 3441acd3-1f01-4868-aed7-9d44d24dab0a status: 200 OK code: 200 - duration: 82.567062ms - - id: 10 + duration: 269.595583ms + - id: 6 request: proto: HTTP/1.1 proto_major: 1 @@ -510,8 +312,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/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -530,9 +332,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:54 GMT + - Mon, 01 Dec 2025 04:45:41 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,11 +342,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 143e89a5-8462-446e-b68d-1421609d2945 + - 9ef92ccc-6213-4e4a-9a3f-66166ee1ba35 status: 200 OK code: 200 - duration: 354.331183ms - - id: 11 + duration: 317.294833ms + - id: 7 request: proto: HTTP/1.1 proto_major: 1 @@ -559,8 +361,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?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -568,20 +370,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://6b726976-f9bb-4839-9d52-f99697afcf42.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:54 GMT + - Mon, 01 Dec 2025 04:45:42 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,11 +391,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5675bd34-6e23-4dcb-9e9e-54eb3fc437a9 + - 34b25410-4ad4-427c-b72b-2732ff8fe91b status: 200 OK code: 200 - duration: 153.96064ms - - id: 12 + duration: 163.010708ms + - id: 8 request: proto: HTTP/1.1 proto_major: 1 @@ -608,8 +410,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/regions/fr-par/alert-manager?project_id=175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=6b726976-f9bb-4839-9d52-f99697afcf42 method: GET response: proto: HTTP/2.0 @@ -628,9 +430,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:54 GMT + - Mon, 01 Dec 2025 04:45:42 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,11 +440,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4aefcae1-0c9d-4b51-875d-36c02522d813 + - 19f6580f-3f7e-4194-aab7-caa41622aee3 status: 200 OK code: 200 - duration: 82.148415ms - - id: 13 + duration: 134.964208ms + - id: 9 request: proto: HTTP/1.1 proto_major: 1 @@ -657,8 +459,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/175f3c8f-3333-4a1a-8852-48e780ca6667 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6b726976-f9bb-4839-9d52-f99697afcf42 method: DELETE response: proto: HTTP/2.0 @@ -675,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 30 Sep 2024 09:35:56 GMT + - Mon, 01 Dec 2025 04:45:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -685,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bfbe96c9-df2b-4055-8568-322647174e52 + - 809d4509-5ae5-46ce-819e-1bcb2cc17752 status: 204 No Content code: 204 - duration: 1.368979987s + duration: 1.61956775s diff --git a/internal/services/cockpit/testdata/cockpit-simple.cassette.yaml b/internal/services/cockpit/testdata/cockpit-simple.cassette.yaml index 48770c5b18..d467681e37 100644 --- a/internal/services/cockpit/testdata/cockpit-simple.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-simple.cassette.yaml @@ -16,7 +16,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects?name=default&order_by=created_at_asc&organization_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -25,20 +25,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 326 uncompressed: false - body: '{"projects":[{"created_at":"2019-09-30T07:52:49.358300Z","description":"","id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"default","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2020-05-03T19:41:17.997124Z"}],"total_count":1}' + body: '{"projects":[{"created_at":"2019-09-30T07:52:49.358300Z","description":"","id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"default","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2020-05-03T19:41:17.997124Z"}],"total_count":1}' headers: Content-Length: - - "253" + - "326" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:52 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -46,10 +46,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b81524e3-0b5b-4120-a1ca-4ff50022b6c4 + - 26d25cc8-bf4a-4ef6-a997-0de7332c93e4 status: 200 OK code: 200 - duration: 996.515792ms + duration: 1.273040916s - id: 1 request: proto: HTTP/1.1 @@ -65,7 +65,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects?name=default&order_by=created_at_asc&organization_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -74,20 +74,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 326 uncompressed: false - body: '{"projects":[{"created_at":"2019-09-30T07:52:49.358300Z","description":"","id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"default","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2020-05-03T19:41:17.997124Z"}],"total_count":1}' + body: '{"projects":[{"created_at":"2019-09-30T07:52:49.358300Z","description":"","id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"default","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2020-05-03T19:41:17.997124Z"}],"total_count":1}' headers: Content-Length: - - "253" + - "326" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:53 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -95,10 +95,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7e78b6dc-f441-4d7a-9584-ea47e1cd5489 + - 679924b7-666b-49e4-b713-02816c6cd4a7 status: 200 OK code: 200 - duration: 817.3385ms + duration: 1.097546042s - id: 2 request: proto: HTTP/1.1 @@ -114,8 +114,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=105bdce1-64c0-48ab-899d-868455867ecf + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: proto: HTTP/2.0 @@ -123,20 +123,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:53 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -144,10 +144,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9554a350-0c2c-4f36-a800-ffc0199972d1 + - 27a9c811-1d9e-49dd-a575-6d7b4c579e8b status: 200 OK code: 200 - duration: 91.517625ms + duration: 100.280792ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana?project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -172,20 +172,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://105bdce1-64c0-48ab-899d-868455867ecf.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:53 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -193,10 +193,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 32f219d3-1666-4b24-9a0b-85135458b7bb + - ccde6709-84b3-43bc-915d-a8fc32cd0dd7 status: 200 OK code: 200 - duration: 71.153625ms + duration: 95.240083ms - id: 4 request: proto: HTTP/1.1 @@ -212,7 +212,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -221,20 +221,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 108 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://53bfc50f-0420-4c11-bef8-07bf3f1c0fbb.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "183" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:53 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -242,10 +242,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f61cbec-c4f1-4238-aea2-5c5465af0570 + - 02bce7a9-f384-475b-accc-e335c3baee72 status: 200 OK code: 200 - duration: 121.40975ms + duration: 48.370375ms - id: 5 request: proto: HTTP/1.1 @@ -261,8 +261,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=105bdce1-64c0-48ab-899d-868455867ecf + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: proto: HTTP/2.0 @@ -270,20 +270,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:54 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -291,10 +291,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 29e5c6c1-f150-4edd-891f-87e217d51a46 + - eb534908-366a-4991-b627-8631f83e0613 status: 200 OK code: 200 - duration: 92.552375ms + duration: 37.918667ms - id: 6 request: proto: HTTP/1.1 @@ -310,7 +310,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana?project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -319,20 +319,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://105bdce1-64c0-48ab-899d-868455867ecf.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:54 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -340,10 +340,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ef73595c-7a5f-4c41-b144-345279b8e033 + - f62215ab-3fe4-4001-9672-e7a0d4e9c54e status: 200 OK code: 200 - duration: 85.577292ms + duration: 51.015416ms - id: 7 request: proto: HTTP/1.1 @@ -359,7 +359,7 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=105bdce1-64c0-48ab-899d-868455867ecf method: GET response: @@ -368,20 +368,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 108 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://53bfc50f-0420-4c11-bef8-07bf3f1c0fbb.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "183" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 10 Mar 2025 09:47:55 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -389,7 +389,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 765ce4be-557b-4334-9814-84d12520f540 + - d9c58db3-d110-4e23-bca5-e3e08ddbc281 status: 200 OK code: 200 - duration: 148.723334ms + duration: 41.808334ms diff --git a/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml index 17c3b91e22..9633c97091 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 274 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:47.520382Z","description":"","id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2025-03-28T09:21:47.520382Z"}' + body: '{"created_at":"2025-12-01T04:26:21.879707Z","description":"","id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":null,"updated_at":"2025-12-01T04:26:21.879707Z"}' headers: Content-Length: - - "247" + - "274" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:47 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f88db611-e0ba-482e-8132-b923162e3a20 + - 9dd33345-33cf-4847-ab70-7d43595f835b status: 200 OK code: 200 - duration: 522.259583ms + duration: 623.406042ms - id: 1 request: proto: HTTP/1.1 @@ -67,8 +67,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 319 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:47.520382Z","description":"","id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2025-03-28T09:21:47.520382Z"}' + body: '{"created_at":"2025-12-01T04:26:21.879707Z","description":"","id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T04:26:21.879707Z"}' headers: Content-Length: - - "247" + - "319" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:47 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,28 +97,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a4074ae-5589-48cb-a600-db68d2c9117d + - 3ce046ac-0ca9-4254-985a-c97453b795a4 status: 200 OK code: 200 - duration: 129.531416ms + duration: 234.064042ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 119 + content_length: 115 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"my-data-source-traces","type":"traces","retention_days":7}' + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"my-data-source-logs","type":"logs","retention_days":7}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 404 + content_length: 408 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.039588Z","id":"b68eb734-fb69-4e5c-adb5-06e26f6a782c","name":"my-data-source-traces","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-03-28T09:21:48.039588Z","url":"https://b68eb734-fb69-4e5c-adb5-06e26f6a782c.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.621232Z","id":"12fc2aa2-8e30-42a8-a069-8974e8383a30","name":"my-data-source-logs","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-12-01T04:26:22.621232Z","url":"https://12fc2aa2-8e30-42a8-a069-8974e8383a30.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "404" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,29 +148,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8fca1f27-fc1e-4eb3-b852-369c08e335eb + - fca08f1a-4e7b-4522-8bc4-08531a19bea0 status: 200 OK code: 200 - duration: 357.326833ms + duration: 481.372875ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 119 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2"}' + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"my-data-source-traces","type":"traces","retention_days":7}' 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/cockpit/v1/regions/fr-par/alert-manager/enable + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: proto: HTTP/2.0 @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 414 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"created_at":"2025-12-01T04:26:22.623215Z","id":"565448fb-5ad2-4f96-9a85-f6fdd911278e","name":"my-data-source-traces","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-12-01T04:26:22.623215Z","url":"https://565448fb-5ad2-4f96-9a85-f6fdd911278e.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "184" + - "414" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,29 +199,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c256150-23fb-4322-8311-0ad80e415d6d + - b63f0e57-6856-490e-9b6d-36f9e46dde44 status: 200 OK code: 200 - duration: 352.413792ms + duration: 481.429208ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 122 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"my-data-source-metrics","type":"metrics","retention_days":31}' + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e"}' 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/cockpit/v1/regions/fr-par/data-sources + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/enable method: POST response: proto: HTTP/2.0 @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 408 + content_length: 187 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.056204Z","id":"a65e4a04-0bfe-458b-8e31-ec4e2615dfa3","name":"my-data-source-metrics","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-03-28T09:21:48.056204Z","url":"https://a65e4a04-0bfe-458b-8e31-ec4e2615dfa3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "408" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,28 +250,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e54e612b-3d9f-407b-960e-31fee0986895 + - 5ae830f7-139d-49d5-99ea-7d842b747759 status: 200 OK code: 200 - duration: 357.250083ms + duration: 512.429541ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 115 + content_length: 122 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"my-data-source-logs","type":"logs","retention_days":7}' + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"my-data-source-metrics","type":"metrics","retention_days":31}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 398 + content_length: 418 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.062833Z","id":"947e53d6-7209-4eaf-85ff-1043b50fdfa9","name":"my-data-source-logs","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-03-28T09:21:48.062833Z","url":"https://947e53d6-7209-4eaf-85ff-1043b50fdfa9.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.619308Z","id":"04a45dee-3247-4160-9832-3e323930bd3e","name":"my-data-source-metrics","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-12-01T04:26:22.619308Z","url":"https://04a45dee-3247-4160-9832-3e323930bd3e.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "398" + - "418" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:22 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46dce252-9f63-43c9-8219-fe3eb5d17cc6 + - 7bf2d88e-fe12-49c0-a543-1d9c2c7ac14e status: 200 OK code: 200 - duration: 354.824791ms + duration: 537.681208ms - id: 6 request: proto: HTTP/1.1 @@ -320,8 +320,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/947e53d6-7209-4eaf-85ff-1043b50fdfa9 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/12fc2aa2-8e30-42a8-a069-8974e8383a30 method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 398 + content_length: 408 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.062833Z","id":"947e53d6-7209-4eaf-85ff-1043b50fdfa9","name":"my-data-source-logs","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-03-28T09:21:48.062833Z","url":"https://947e53d6-7209-4eaf-85ff-1043b50fdfa9.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.621232Z","id":"12fc2aa2-8e30-42a8-a069-8974e8383a30","name":"my-data-source-logs","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-12-01T04:26:22.621232Z","url":"https://12fc2aa2-8e30-42a8-a069-8974e8383a30.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "398" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,50 +350,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 35fa4749-4b51-4f50-a1de-64d4238a72c2 + - 9aade71f-ca2f-4b4b-8e53-851966bde9a5 status: 200 OK code: 200 - duration: 85.086917ms + duration: 119.041ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2"}' + 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/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/565448fb-5ad2-4f96-9a85-f6fdd911278e + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 414 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2025-12-01T04:26:22.623215Z","id":"565448fb-5ad2-4f96-9a85-f6fdd911278e","name":"my-data-source-traces","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-12-01T04:26:22.623215Z","url":"https://565448fb-5ad2-4f96-9a85-f6fdd911278e.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "414" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -401,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0549e2bb-ca16-4ddb-9ebc-4082797c9865 + - 7ea5e7a7-74a3-448d-8f15-b01b9a6cdd04 status: 200 OK code: 200 - duration: 88.150792ms + duration: 120.251459ms - id: 8 request: proto: HTTP/1.1 @@ -420,8 +418,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a65e4a04-0bfe-458b-8e31-ec4e2615dfa3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/04a45dee-3247-4160-9832-3e323930bd3e method: GET response: proto: HTTP/2.0 @@ -429,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 408 + content_length: 418 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.056204Z","id":"a65e4a04-0bfe-458b-8e31-ec4e2615dfa3","name":"my-data-source-metrics","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-03-28T09:21:48.056204Z","url":"https://a65e4a04-0bfe-458b-8e31-ec4e2615dfa3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.619308Z","id":"04a45dee-3247-4160-9832-3e323930bd3e","name":"my-data-source-metrics","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-12-01T04:26:22.619308Z","url":"https://04a45dee-3247-4160-9832-3e323930bd3e.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "408" + - "418" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:23 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -450,48 +448,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b896a802-b89c-482b-9f33-61d6460926c7 + - adc6e719-f8d6-4b5d-befe-4125591f1cda status: 200 OK code: 200 - duration: 91.464084ms + duration: 98.180333ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e"}' 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/cockpit/v1/regions/fr-par/data-sources/b68eb734-fb69-4e5c-adb5-06e26f6a782c - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 404 + content_length: 186 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.039588Z","id":"b68eb734-fb69-4e5c-adb5-06e26f6a782c","name":"my-data-source-traces","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-03-28T09:21:48.039588Z","url":"https://b68eb734-fb69-4e5c-adb5-06e26f6a782c.traces.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "404" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -499,10 +499,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 36c4eb91-fcb9-4824-901b-0542a9295226 + - d3485995-0400-485e-a1fa-9910a0d4db96 status: 200 OK code: 200 - duration: 98.346958ms + duration: 4.146833625s - id: 10 request: proto: HTTP/1.1 @@ -518,8 +518,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -527,20 +527,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -548,10 +548,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c89084d-cced-4db0-b6d7-84b78b3910a1 + - 3617f72b-abb8-41e3-b585-5b932693d8b4 status: 200 OK code: 200 - duration: 72.123333ms + duration: 131.632416ms - id: 11 request: proto: HTTP/1.1 @@ -567,8 +567,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -576,20 +576,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -597,10 +597,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a6c0b0f-7183-4aab-8435-7436397abd5e + - 3b817b06-1758-4d6d-8c8d-5514c9a0e626 status: 200 OK code: 200 - duration: 216.798666ms + duration: 232.969084ms - id: 12 request: proto: HTTP/1.1 @@ -616,8 +616,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -625,20 +625,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1247 + content_length: 1280 uncompressed: false - body: '{"data_sources":[{"created_at":"2025-03-28T09:21:48.039588Z","id":"b68eb734-fb69-4e5c-adb5-06e26f6a782c","name":"my-data-source-traces","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-03-28T09:21:48.039588Z","url":"https://b68eb734-fb69-4e5c-adb5-06e26f6a782c.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2025-03-28T09:21:48.056204Z","id":"a65e4a04-0bfe-458b-8e31-ec4e2615dfa3","name":"my-data-source-metrics","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-03-28T09:21:48.056204Z","url":"https://a65e4a04-0bfe-458b-8e31-ec4e2615dfa3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2025-03-28T09:21:48.062833Z","id":"947e53d6-7209-4eaf-85ff-1043b50fdfa9","name":"my-data-source-logs","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-03-28T09:21:48.062833Z","url":"https://947e53d6-7209-4eaf-85ff-1043b50fdfa9.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2025-12-01T04:26:22.619308Z","id":"04a45dee-3247-4160-9832-3e323930bd3e","name":"my-data-source-metrics","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-12-01T04:26:22.619308Z","url":"https://04a45dee-3247-4160-9832-3e323930bd3e.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2025-12-01T04:26:22.621232Z","id":"12fc2aa2-8e30-42a8-a069-8974e8383a30","name":"my-data-source-logs","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-12-01T04:26:22.621232Z","url":"https://12fc2aa2-8e30-42a8-a069-8974e8383a30.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2025-12-01T04:26:22.623215Z","id":"565448fb-5ad2-4f96-9a85-f6fdd911278e","name":"my-data-source-traces","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-12-01T04:26:22.623215Z","url":"https://565448fb-5ad2-4f96-9a85-f6fdd911278e.traces.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1247" + - "1280" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -646,10 +646,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9151548f-98de-40cc-ab74-9fff4d5d5543 + - cf0c6fa4-5450-4c4b-948c-c108c9ca38b0 status: 200 OK code: 200 - duration: 76.322459ms + duration: 111.984958ms - id: 13 request: proto: HTTP/1.1 @@ -665,8 +665,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -674,20 +674,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://7f0b265e-5c60-4614-b587-19db6146612e.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -695,10 +695,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46217d63-3e90-485a-9942-566a11af3301 + - 07de0e42-8692-4b8a-99d9-ffa0c7fb03fb status: 200 OK code: 200 - duration: 86.947792ms + duration: 106.697958ms - id: 14 request: proto: HTTP/1.1 @@ -714,8 +714,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -723,20 +723,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:48 GMT + - Mon, 01 Dec 2025 04:26:27 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -744,10 +744,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fd73f359-8b19-4525-9a50-50763fbe62b7 + - e1a1d9da-ee19-4a5d-a12d-15cec6c538e3 status: 200 OK code: 200 - duration: 100.457166ms + duration: 51.216625ms - id: 15 request: proto: HTTP/1.1 @@ -763,8 +763,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -772,20 +772,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 319 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:47.520382Z","description":"","id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2025-03-28T09:21:47.520382Z"}' + body: '{"created_at":"2025-12-01T04:26:21.879707Z","description":"","id":"7f0b265e-5c60-4614-b587-19db6146612e","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T04:26:21.879707Z"}' headers: Content-Length: - - "247" + - "319" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -793,10 +793,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 69e15bc2-e247-4d3b-b4d8-d91a442d10fb + - 10df2eb8-e437-4b6b-b59d-97ed0230fe49 status: 200 OK code: 200 - duration: 164.612125ms + duration: 170.205875ms - id: 16 request: proto: HTTP/1.1 @@ -812,8 +812,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/12fc2aa2-8e30-42a8-a069-8974e8383a30 method: GET response: proto: HTTP/2.0 @@ -821,20 +821,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 408 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2025-12-01T04:26:22.621232Z","id":"12fc2aa2-8e30-42a8-a069-8974e8383a30","name":"my-data-source-logs","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-12-01T04:26:22.621232Z","url":"https://12fc2aa2-8e30-42a8-a069-8974e8383a30.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -842,10 +842,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9bc332e8-9d46-4612-bb2e-ba9f713feb44 + - 8fe3e64e-010a-4b7b-9cfe-6350a41ecc35 status: 200 OK code: 200 - duration: 74.339208ms + duration: 37.074541ms - id: 17 request: proto: HTTP/1.1 @@ -861,8 +861,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/947e53d6-7209-4eaf-85ff-1043b50fdfa9 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/04a45dee-3247-4160-9832-3e323930bd3e method: GET response: proto: HTTP/2.0 @@ -870,20 +870,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 398 + content_length: 418 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.062833Z","id":"947e53d6-7209-4eaf-85ff-1043b50fdfa9","name":"my-data-source-logs","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-03-28T09:21:48.062833Z","url":"https://947e53d6-7209-4eaf-85ff-1043b50fdfa9.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.619308Z","id":"04a45dee-3247-4160-9832-3e323930bd3e","name":"my-data-source-metrics","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-12-01T04:26:22.619308Z","url":"https://04a45dee-3247-4160-9832-3e323930bd3e.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "398" + - "418" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 77e2c777-27b0-4085-9605-09f2a22e5bc6 + - 44fcb955-41ce-4cb6-a516-6f503c846524 status: 200 OK code: 200 - duration: 77.174166ms + duration: 38.471875ms - id: 18 request: proto: HTTP/1.1 @@ -910,8 +910,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a65e4a04-0bfe-458b-8e31-ec4e2615dfa3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -919,20 +919,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 408 + content_length: 186 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.056204Z","id":"a65e4a04-0bfe-458b-8e31-ec4e2615dfa3","name":"my-data-source-metrics","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-03-28T09:21:48.056204Z","url":"https://a65e4a04-0bfe-458b-8e31-ec4e2615dfa3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "408" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -940,10 +940,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cc85266b-4e35-4159-85c8-38fa03ebc3b6 + - 1826020c-0a0d-47f8-8281-694f420b12bb status: 200 OK code: 200 - duration: 76.720125ms + duration: 51.692416ms - id: 19 request: proto: HTTP/1.1 @@ -959,8 +959,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b68eb734-fb69-4e5c-adb5-06e26f6a782c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/565448fb-5ad2-4f96-9a85-f6fdd911278e method: GET response: proto: HTTP/2.0 @@ -968,20 +968,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 404 + content_length: 414 uncompressed: false - body: '{"created_at":"2025-03-28T09:21:48.039588Z","id":"b68eb734-fb69-4e5c-adb5-06e26f6a782c","name":"my-data-source-traces","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-03-28T09:21:48.039588Z","url":"https://b68eb734-fb69-4e5c-adb5-06e26f6a782c.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2025-12-01T04:26:22.623215Z","id":"565448fb-5ad2-4f96-9a85-f6fdd911278e","name":"my-data-source-traces","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-12-01T04:26:22.623215Z","url":"https://565448fb-5ad2-4f96-9a85-f6fdd911278e.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "404" + - "414" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -989,10 +989,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 032d842e-f87c-46c3-8f2e-c4727a1f688a + - c3954783-b3f4-4c46-8d5e-720663120749 status: 200 OK code: 200 - duration: 76.72725ms + duration: 44.182375ms - id: 20 request: proto: HTTP/1.1 @@ -1008,8 +1008,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -1017,20 +1017,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1038,10 +1038,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - da81f347-504a-4aa3-843d-e554af0354f1 + - 4ff4c710-b336-46f9-b3f3-88587bf4f759 status: 200 OK code: 200 - duration: 229.912417ms + duration: 98.660375ms - id: 21 request: proto: HTTP/1.1 @@ -1057,8 +1057,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -1066,20 +1066,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1247 + content_length: 1280 uncompressed: false - body: '{"data_sources":[{"created_at":"2025-03-28T09:21:48.039588Z","id":"b68eb734-fb69-4e5c-adb5-06e26f6a782c","name":"my-data-source-traces","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-03-28T09:21:48.039588Z","url":"https://b68eb734-fb69-4e5c-adb5-06e26f6a782c.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2025-03-28T09:21:48.056204Z","id":"a65e4a04-0bfe-458b-8e31-ec4e2615dfa3","name":"my-data-source-metrics","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-03-28T09:21:48.056204Z","url":"https://a65e4a04-0bfe-458b-8e31-ec4e2615dfa3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2025-03-28T09:21:48.062833Z","id":"947e53d6-7209-4eaf-85ff-1043b50fdfa9","name":"my-data-source-logs","origin":"custom","project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-03-28T09:21:48.062833Z","url":"https://947e53d6-7209-4eaf-85ff-1043b50fdfa9.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2025-12-01T04:26:22.619308Z","id":"04a45dee-3247-4160-9832-3e323930bd3e","name":"my-data-source-metrics","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2025-12-01T04:26:22.619308Z","url":"https://04a45dee-3247-4160-9832-3e323930bd3e.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2025-12-01T04:26:22.621232Z","id":"12fc2aa2-8e30-42a8-a069-8974e8383a30","name":"my-data-source-logs","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2025-12-01T04:26:22.621232Z","url":"https://12fc2aa2-8e30-42a8-a069-8974e8383a30.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2025-12-01T04:26:22.623215Z","id":"565448fb-5ad2-4f96-9a85-f6fdd911278e","name":"my-data-source-traces","origin":"custom","project_id":"7f0b265e-5c60-4614-b587-19db6146612e","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2025-12-01T04:26:22.623215Z","url":"https://565448fb-5ad2-4f96-9a85-f6fdd911278e.traces.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1247" + - "1280" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:28 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1087,10 +1087,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7fe31fe9-49b0-4d9c-8702-0f690fcf608f + - fc17ca9f-c281-4b28-8eae-95c8989b2929 status: 200 OK code: 200 - duration: 71.500417ms + duration: 37.195ms - id: 22 request: proto: HTTP/1.1 @@ -1106,8 +1106,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -1115,20 +1115,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 93 uncompressed: false - body: '{"grafana_url":""}' + body: '{"grafana_url":"https://7f0b265e-5c60-4614-b587-19db6146612e.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - - "18" + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8d12eb7a-42aa-4f17-b5a8-6e787fd06168 + - 1f605d3b-a3f8-4edf-b38f-9e4da5656bd7 status: 200 OK code: 200 - duration: 90.438833ms + duration: 33.948791ms - id: 23 request: proto: HTTP/1.1 @@ -1155,8 +1155,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=7f0b265e-5c60-4614-b587-19db6146612e method: GET response: proto: HTTP/2.0 @@ -1164,20 +1164,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:50 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1185,10 +1185,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae8b21b0-75a3-4e79-8227-63163ef14637 + - 959f7597-df75-42ce-8ae9-18f16c1e6c10 status: 200 OK code: 200 - duration: 93.254375ms + duration: 103.118166ms - id: 24 request: proto: HTTP/1.1 @@ -1204,29 +1204,27 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=89e20eb4-f8ee-4b35-96a1-a75f618f78a2 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/565448fb-5ad2-4f96-9a85-f6fdd911278e + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 0 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: "" headers: - Content-Length: - - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:51 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1234,10 +1232,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - db251a37-baeb-49a4-a0b0-1fa3cce3131f - status: 200 OK - code: 200 - duration: 121.202334ms + - b84aefd1-2213-4dee-9e60-180aa2cac9d3 + status: 204 No Content + code: 204 + duration: 132.3015ms - id: 25 request: proto: HTTP/1.1 @@ -1253,8 +1251,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b68eb734-fb69-4e5c-adb5-06e26f6a782c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/12fc2aa2-8e30-42a8-a069-8974e8383a30 method: DELETE response: proto: HTTP/2.0 @@ -1271,9 +1269,9 @@ interactions: Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:51 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1281,50 +1279,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9d173d84-8244-41dd-bcd6-32fd0da4cb4d + - 2d9d1794-e3d7-4dbb-8c5c-004e3e4f9057 status: 204 No Content code: 204 - duration: 148.010334ms + duration: 140.456792ms - id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2"}' + 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/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=7f0b265e-5c60-4614-b587-19db6146612e + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 111 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://69d9badc-0387-4a56-a5ad-dfb0f1150029.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "184" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:52 GMT + - Mon, 01 Dec 2025 04:26:29 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1332,10 +1328,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e00a3ba0-0239-4f02-9945-7a42cafbd0c3 + - 16b6a459-63a2-4c90-b432-1471d2518a8c status: 200 OK code: 200 - duration: 90.483958ms + duration: 147.555875ms - id: 27 request: proto: HTTP/1.1 @@ -1351,8 +1347,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/947e53d6-7209-4eaf-85ff-1043b50fdfa9 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/04a45dee-3247-4160-9832-3e323930bd3e method: DELETE response: proto: HTTP/2.0 @@ -1369,9 +1365,9 @@ interactions: Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:52 GMT + - Mon, 01 Dec 2025 04:26:30 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1379,10 +1375,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46bf80b9-6f77-4757-b1b6-f8da12b75e18 + - 276856c3-f68e-447f-8e7a-c4dff2622a0d status: 204 No Content code: 204 - duration: 243.959625ms + duration: 324.12475ms - id: 28 request: proto: HTTP/1.1 @@ -1394,14 +1390,14 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"89e20eb4-f8ee-4b35-96a1-a75f618f78a2"}' + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e"}' 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/cockpit/v1/regions/fr-par/alert-manager/disable + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: proto: HTTP/2.0 @@ -1409,20 +1405,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://24ec35cc-76fd-4cca-8c24-e9a0e46727a9.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:52 GMT + - Mon, 01 Dec 2025 04:26:30 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1430,46 +1426,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 71c4cbf3-cc45-4f81-9f98-a8829431fe27 + - edc74724-dbb3-4bbc-a7b8-4c2197eb6415 status: 200 OK code: 200 - duration: 143.877041ms + duration: 305.946833ms - id: 29 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"7f0b265e-5c60-4614-b587-19db6146612e"}' 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/cockpit/v1/regions/fr-par/data-sources/a65e4a04-0bfe-458b-8e31-ec4e2615dfa3 - method: DELETE + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 108 uncompressed: false - body: "" + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: + Content-Length: + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:52 GMT + - Mon, 01 Dec 2025 04:26:30 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1477,10 +1477,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 638663f7-9cfc-48d3-9097-54469b6fea17 - status: 204 No Content - code: 204 - duration: 514.117042ms + - aa279594-51f7-478a-be23-e16ac82cb707 + status: 200 OK + code: 200 + duration: 316.618625ms - id: 30 request: proto: HTTP/1.1 @@ -1496,8 +1496,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/89e20eb4-f8ee-4b35-96a1-a75f618f78a2 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/7f0b265e-5c60-4614-b587-19db6146612e method: DELETE response: proto: HTTP/2.0 @@ -1514,9 +1514,9 @@ interactions: Content-Type: - application/json Date: - - Fri, 28 Mar 2025 09:21:53 GMT + - Mon, 01 Dec 2025 04:26:32 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1524,7 +1524,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34d79713-d7c9-4229-a9d1-822f1eeca084 + - c880bdaa-ae81-4db2-a866-646cc3046974 status: 204 No Content code: 204 - duration: 1.23632275s + duration: 1.579425833s diff --git a/internal/services/cockpit/testdata/data-source-cockpit-grafana-basic.cassette.yaml b/internal/services/cockpit/testdata/data-source-cockpit-grafana-basic.cassette.yaml index a62c53aea4..073828eefe 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-grafana-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-grafana-basic.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) 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: 277 uncompressed: false - body: '{"created_at":"2025-11-06T05:15:15.403869Z","description":"","id":"c939db5b-2105-41ba-bfc6-dfdefda9ef37","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":null,"updated_at":"2025-11-06T05:15:15.403869Z"}' + body: '{"created_at":"2025-12-01T05:02:44.672552Z","description":"","id":"d84afb4a-4c01-47ca-92b4-e75e8956d222","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":null,"updated_at":"2025-12-01T05:02:44.672552Z"}' headers: Content-Length: - "277" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:15 GMT + - Mon, 01 Dec 2025 05:02:44 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1ef8c6ab-a86c-456e-86ab-cb68fa1958e9 + - a6e1b504-c64d-40d4-862e-afeefc815719 status: 200 OK code: 200 - duration: 736.931ms + duration: 878.966167ms - 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.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 322 uncompressed: false - body: '{"created_at":"2025-11-06T05:15:15.403869Z","description":"","id":"c939db5b-2105-41ba-bfc6-dfdefda9ef37","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-11-06T05:15:15.403869Z"}' + body: '{"created_at":"2025-12-01T05:02:44.672552Z","description":"","id":"d84afb4a-4c01-47ca-92b4-e75e8956d222","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T05:02:44.672552Z"}' headers: Content-Length: - "322" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:15 GMT + - Mon, 01 Dec 2025 05:02:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e623e868-1b60-4ddd-bdb6-29d37edd08cb + - 974fab0c-2467-493c-a1ad-6a0b0c31725f status: 200 OK code: 200 - duration: 197.899333ms + duration: 294.334834ms - id: 2 request: proto: HTTP/1.1 @@ -116,8 +116,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -136,9 +136,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:16 GMT + - Mon, 01 Dec 2025 05:02:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a1216b4-cc7c-45cc-bba2-0e23ccfbe246 + - f77218f1-cc0d-4ce7-b7c4-fca8ef9c1c21 status: 200 OK code: 200 - duration: 177.937458ms + duration: 116.3355ms - id: 3 request: proto: HTTP/1.1 @@ -165,8 +165,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -176,7 +176,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://c939db5b-2105-41ba-bfc6-dfdefda9ef37.dashboard.cockpit.scaleway.com"}' + body: '{"grafana_url":"https://d84afb4a-4c01-47ca-92b4-e75e8956d222.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - "93" @@ -185,9 +185,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:16 GMT + - Mon, 01 Dec 2025 05:02:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -195,10 +195,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 53329e1f-f88d-44ce-8b6d-6658d72f269b + - 69fffb94-64c6-450d-9436-dd32e2128b74 status: 200 OK code: 200 - duration: 132.588ms + duration: 70.827375ms - id: 4 request: proto: HTTP/1.1 @@ -214,8 +214,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -234,9 +234,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:16 GMT + - Mon, 01 Dec 2025 05:02:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -244,10 +244,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a24d957f-6b5b-42be-98cd-631385f780ad + - 1419af6b-32e1-4d7a-9f1b-79514f3e04fc status: 200 OK code: 200 - duration: 108.963209ms + duration: 129.892334ms - id: 5 request: proto: HTTP/1.1 @@ -263,8 +263,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -274,7 +274,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://c939db5b-2105-41ba-bfc6-dfdefda9ef37.dashboard.cockpit.scaleway.com"}' + body: '{"grafana_url":"https://d84afb4a-4c01-47ca-92b4-e75e8956d222.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - "93" @@ -283,9 +283,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:16 GMT + - Mon, 01 Dec 2025 05:02:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -293,10 +293,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c12619d4-28b9-49dc-a4aa-38953b672185 + - 84d18423-fd2e-4fa8-bc43-50f0a8bfb352 status: 200 OK code: 200 - duration: 130.15925ms + duration: 101.833792ms - id: 6 request: proto: HTTP/1.1 @@ -312,8 +312,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -323,7 +323,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://c939db5b-2105-41ba-bfc6-dfdefda9ef37.dashboard.cockpit.scaleway.com"}' + body: '{"grafana_url":"https://d84afb4a-4c01-47ca-92b4-e75e8956d222.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - "93" @@ -332,9 +332,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:17 GMT + - Mon, 01 Dec 2025 05:02:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -342,10 +342,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 146b7cbb-ff2e-4243-a34c-62550a7aca16 + - aa1630f7-0ade-45c4-935b-62cec5eba51a status: 200 OK code: 200 - duration: 109.573542ms + duration: 114.115ms - id: 7 request: proto: HTTP/1.1 @@ -361,8 +361,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -372,7 +372,7 @@ interactions: trailer: {} content_length: 322 uncompressed: false - body: '{"created_at":"2025-11-06T05:15:15.403869Z","description":"","id":"c939db5b-2105-41ba-bfc6-dfdefda9ef37","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-11-06T05:15:15.403869Z"}' + body: '{"created_at":"2025-12-01T05:02:44.672552Z","description":"","id":"d84afb4a-4c01-47ca-92b4-e75e8956d222","name":"tf_tests_cockpit_grafana_data_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","qualification":{"architecture_type":"unknown_architecture_type"},"updated_at":"2025-12-01T05:02:44.672552Z"}' headers: Content-Length: - "322" @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:17 GMT + - Mon, 01 Dec 2025 05:02:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3ec744af-efe4-48fe-beac-1220490f15c9 + - 049254eb-0e90-46bd-b70b-c4d7e8127db3 status: 200 OK code: 200 - duration: 191.829ms + duration: 171.283417ms - id: 8 request: proto: HTTP/1.1 @@ -410,8 +410,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=custom&page=1&project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -430,9 +430,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:17 GMT + - Mon, 01 Dec 2025 05:02:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -440,10 +440,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bff9f2f5-43c3-438b-b393-9945822a9e5e + - faafae4e-d8f4-4d90-8a84-98d2b8c05e25 status: 200 OK code: 200 - duration: 121.026917ms + duration: 111.481625ms - id: 9 request: proto: HTTP/1.1 @@ -459,8 +459,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -470,7 +470,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://c939db5b-2105-41ba-bfc6-dfdefda9ef37.dashboard.cockpit.scaleway.com"}' + body: '{"grafana_url":"https://d84afb4a-4c01-47ca-92b4-e75e8956d222.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - "93" @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:17 GMT + - Mon, 01 Dec 2025 05:02:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a292053f-3c7d-4cf1-96b6-0ada29c3565f + - abef3bc2-6de4-4474-bf0f-85362a82f903 status: 200 OK code: 200 - duration: 100.714625ms + duration: 106.806958ms - id: 10 request: proto: HTTP/1.1 @@ -508,8 +508,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -528,9 +528,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:17 GMT + - Mon, 01 Dec 2025 05:02:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -538,10 +538,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0c380319-79e9-4f41-ace6-053b5d45b531 + - be77176b-1db0-445d-b675-222a0dbde9b0 status: 200 OK code: 200 - duration: 111.866375ms + duration: 40.816541ms - id: 11 request: proto: HTTP/1.1 @@ -557,8 +557,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=d84afb4a-4c01-47ca-92b4-e75e8956d222 method: GET response: proto: HTTP/2.0 @@ -568,7 +568,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://c939db5b-2105-41ba-bfc6-dfdefda9ef37.dashboard.cockpit.scaleway.com"}' + body: '{"grafana_url":"https://d84afb4a-4c01-47ca-92b4-e75e8956d222.dashboard.cockpit.scaleway.com"}' headers: Content-Length: - "93" @@ -577,9 +577,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:18 GMT + - Mon, 01 Dec 2025 05:02:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -587,10 +587,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e2118361-5be0-493f-b3e3-ec3a3397095e + - 8b4ea81e-dc84-4158-807f-9231d23fb0a1 status: 200 OK code: 200 - duration: 89.985ms + duration: 103.479459ms - id: 12 request: proto: HTTP/1.1 @@ -606,8 +606,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c939db5b-2105-41ba-bfc6-dfdefda9ef37 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/d84afb4a-4c01-47ca-92b4-e75e8956d222 method: DELETE response: proto: HTTP/2.0 @@ -624,9 +624,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 06 Nov 2025 05:15:20 GMT + - Mon, 01 Dec 2025 05:02:49 GMT Server: - - Scaleway API Gateway (fr-par-3;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -634,7 +634,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cf5bcf6a-dd08-40cf-9007-f6500c078441 + - 5d56ef8a-6428-406c-b30b-acbef2e4daec status: 204 No Content code: 204 - duration: 1.659130417s + duration: 1.746509958s diff --git a/templates/data-sources/cockpit_sources.md.tmpl b/templates/data-sources/cockpit_sources.md.tmpl index 750ba4e315..ad4d0d556a 100644 --- a/templates/data-sources/cockpit_sources.md.tmpl +++ b/templates/data-sources/cockpit_sources.md.tmpl @@ -38,9 +38,9 @@ data "scaleway_cockpit_sources" "my_sources" { ### Filter sources by origin ```hcl -data "scaleway_cockpit_sources" "external" { +data "scaleway_cockpit_sources" "custom" { project_id = "11111111-1111-1111-1111-111111111111" - origin = "external" + origin = "custom" } ``` @@ -61,7 +61,7 @@ The following arguments are supported: - `region` - (Optional) The region in which the cockpit sources are located. - `name` - (Optional) Filter sources by name. - `type` - (Optional) Filter sources by type. Possible values are: `metrics`, `logs`, `traces`. -- `origin` - (Optional) Filter sources by origin. Possible values are: `scaleway`, `external`, `custom`. +- `origin` - (Optional) Filter sources by origin. Possible values are: `scaleway`, `custom`. ## Attributes Reference