diff --git a/docs/resources/cockpit_source.md b/docs/resources/cockpit_source.md index d124f9927b..c297bf52ba 100644 --- a/docs/resources/cockpit_source.md +++ b/docs/resources/cockpit_source.md @@ -24,6 +24,7 @@ resource "scaleway_cockpit_source" "main" { project_id = scaleway_account_project.project.id name = "my-data-source" type = "metrics" + retention_days = 6 } ``` @@ -35,6 +36,7 @@ This section lists the arguments that are supported: - `type` - (Required) The [type](https://www.scaleway.com/en/docs/observability/cockpit/concepts/#data-types) of data source. Possible values are: `metrics`, `logs`, or `traces`. - `region` - (Defaults to the region specified in the [provider configuration](../index.md#region)) The [region](../guides/regions_and_zones.md#regions) where the data source is located. - `project_id` - (Defaults to the Project ID specified in the [provider configuration](../index.md#project_id)) The ID of the Project the data source is associated with. +- `retention_days` - (Optional, Defaults to 6) The number of days to retain data in the data source. Must be a value between 1 and 365. Changes to this field will force the creation of a new resource. ## Attributes Reference diff --git a/internal/services/cockpit/cockpit_data_source_test.go b/internal/services/cockpit/cockpit_data_source_test.go index 52c3378a69..361cf31eb7 100644 --- a/internal/services/cockpit/cockpit_data_source_test.go +++ b/internal/services/cockpit/cockpit_data_source_test.go @@ -25,18 +25,21 @@ func TestAccDataSourceCockpit_Basic(t *testing.T) { project_id = scaleway_account_project.project.id name = "my-data-source-metrics" type = "metrics" + retention_days = 31 } resource "scaleway_cockpit_source" "logs" { project_id = scaleway_account_project.project.id name = "my-data-source-logs" type = "logs" + retention_days = 7 } resource "scaleway_cockpit_source" "traces" { project_id = scaleway_account_project.project.id name = "my-data-source-traces" type = "traces" + retention_days = 7 } resource "scaleway_cockpit_alert_manager" "alert_manager" { diff --git a/internal/services/cockpit/source.go b/internal/services/cockpit/source.go index 4107d20e8d..6ac3e43bf9 100644 --- a/internal/services/cockpit/source.go +++ b/internal/services/cockpit/source.go @@ -5,6 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" @@ -18,6 +19,7 @@ func ResourceCockpitSource() *schema.Resource { return &schema.Resource{ CreateContext: ResourceCockpitSourceCreate, ReadContext: ResourceCockpitSourceRead, + UpdateContext: ResourceCockpitSourceUpdate, DeleteContext: ResourceCockpitSourceDelete, Timeouts: &schema.ResourceTimeout{ Create: schema.DefaultTimeout(DefaultCockpitTimeout), @@ -42,6 +44,12 @@ func ResourceCockpitSource() *schema.Resource { Description: "The type of the datasource", ValidateDiagFunc: verify.ValidateEnum[cockpit.DataSourceType](), }, + "retention_days": { + Type: schema.TypeInt, + Required: true, + ValidateFunc: validation.IntBetween(1, 365), + Description: "The number of days to retain data, must be between 1 and 365.", + }, // computed "url": { Type: schema.TypeString, @@ -85,11 +93,13 @@ func ResourceCockpitSourceCreate(ctx context.Context, d *schema.ResourceData, me return diag.FromErr(err) } + retentionDays := uint32(d.Get("retention_days").(int)) res, err := api.CreateDataSource(&cockpit.RegionalAPICreateDataSourceRequest{ - Region: region, - ProjectID: d.Get("project_id").(string), - Name: d.Get("name").(string), - Type: cockpit.DataSourceType(d.Get("type").(string)), + Region: region, + ProjectID: d.Get("project_id").(string), + Name: d.Get("name").(string), + Type: cockpit.DataSourceType(d.Get("type").(string)), + RetentionDays: &retentionDays, }, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) @@ -132,6 +142,38 @@ func ResourceCockpitSourceRead(ctx context.Context, d *schema.ResourceData, meta _ = d.Set("updated_at", types.FlattenTime(res.UpdatedAt)) _ = d.Set("project_id", res.ProjectID) _ = d.Set("push_url", pushURL) + _ = d.Set("retention_days", int(res.RetentionDays)) + + return nil +} + +func ResourceCockpitSourceUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { + api, region, id, err := NewAPIWithRegionAndID(meta, d.Id()) + if err != nil { + return diag.FromErr(err) + } + + updateRequest := &cockpit.RegionalAPIUpdateDataSourceRequest{ + DataSourceID: id, + Region: region, + } + + if d.HasChange("name") { + name := d.Get("name").(string) + updateRequest.Name = &name + } + + if d.HasChange("retention_days") { + retentionDays := uint32(d.Get("retention_days").(int)) + updateRequest.RetentionDays = &retentionDays + } + + if d.HasChanges("retention_days", "name") { + _, err = api.UpdateDataSource(updateRequest, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + } return nil } diff --git a/internal/services/cockpit/source_test.go b/internal/services/cockpit/source_test.go index 8b942d9df3..295e35a107 100644 --- a/internal/services/cockpit/source_test.go +++ b/internal/services/cockpit/source_test.go @@ -31,6 +31,7 @@ func TestAccCockpitSource_Basic_metrics(t *testing.T) { project_id = scaleway_account_project.project.id name = "my-source" type = "metrics" + retention_days = 31 } `, Check: resource.ComposeTestCheckFunc( @@ -38,6 +39,7 @@ func TestAccCockpitSource_Basic_metrics(t *testing.T) { resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "name", "my-source"), resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "type", "metrics"), resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "region", "fr-par"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "retention_days", "31"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "url"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "push_url"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "origin"), @@ -70,6 +72,49 @@ func TestAccCockpitSource_Basic_logs(t *testing.T) { project_id = scaleway_account_project.project.id name = "my-source" type = "logs" + retention_days = 31 + + } + `, + Check: resource.ComposeTestCheckFunc( + isSourcePresent(tt, "scaleway_cockpit_source.main"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "name", "my-source"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "type", "logs"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "region", "fr-par"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "push_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "origin"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "created_at"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "updated_at"), + resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "synchronized_with_grafana"), + resource.TestCheckResourceAttrPair("scaleway_cockpit_source.main", "project_id", "scaleway_account_project.project", "id"), + ), + }, + }, + }) +} + +func TestAccCockpitSource_retention_days(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProviderFactories: tt.ProviderFactories, + CheckDestroy: isSourceDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: ` + resource "scaleway_account_project" "project" { + name = "tf_tests_cockpit_datasource_basic" + } + + resource "scaleway_cockpit_source" "main" { + project_id = scaleway_account_project.project.id + name = "my-source" + type = "logs" + retention_days = 13 + } `, Check: resource.ComposeTestCheckFunc( @@ -77,6 +122,7 @@ func TestAccCockpitSource_Basic_logs(t *testing.T) { resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "name", "my-source"), resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "type", "logs"), resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "region", "fr-par"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "retention_days", "13"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "url"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "push_url"), resource.TestCheckResourceAttrSet("scaleway_cockpit_source.main", "origin"), @@ -90,6 +136,75 @@ func TestAccCockpitSource_Basic_logs(t *testing.T) { }) } +func TestAccCockpitSource_Update(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProviderFactories: tt.ProviderFactories, + CheckDestroy: isSourceDestroyed(tt), + Steps: []resource.TestStep{ + // Initial creation + { + Config: ` + resource "scaleway_account_project" "project" { + name = "tf_tests_cockpit_source_update" + } + + resource "scaleway_cockpit_source" "main" { + project_id = scaleway_account_project.project.id + name = "initial-name" + type = "logs" + retention_days = 10 + } + `, + Check: resource.ComposeTestCheckFunc( + isSourcePresent(tt, "scaleway_cockpit_source.main"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "name", "initial-name"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "retention_days", "10"), + ), + }, + { + Config: ` + resource "scaleway_account_project" "project" { + name = "tf_tests_cockpit_source_update" + } + + resource "scaleway_cockpit_source" "main" { + project_id = scaleway_account_project.project.id + name = "initial-name" + type = "logs" + retention_days = 20 + } + `, + Check: resource.ComposeTestCheckFunc( + isSourcePresent(tt, "scaleway_cockpit_source.main"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "retention_days", "20"), + ), + }, + { + Config: ` + resource "scaleway_account_project" "project" { + name = "tf_tests_cockpit_source_update" + } + + resource "scaleway_cockpit_source" "main" { + project_id = scaleway_account_project.project.id + name = "updated-name" + type = "logs" + retention_days = 20 + } + `, + Check: resource.ComposeTestCheckFunc( + isSourcePresent(tt, "scaleway_cockpit_source.main"), + resource.TestCheckResourceAttr("scaleway_cockpit_source.main", "name", "updated-name"), + ), + }, + }, + }) +} + func isSourcePresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { return func(state *terraform.State) error { rs, ok := state.RootModule().Resources[n] diff --git a/internal/services/cockpit/testdata/cockpit-source-basic-logs.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-basic-logs.cassette.yaml index 772df4a022..22075e95cb 100644 --- a/internal/services/cockpit/testdata/cockpit-source-basic-logs.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-source-basic-logs.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,18 +27,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:28.543800Z","description":"","id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:28.543800Z"}' + body: '{"created_at":"2024-12-12T14:54:36.490449Z","description":"","id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:36.490449Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Thu, 12 Dec 2024 14:54:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0cc70d65-ae88-4dce-803c-64633f090099 + - 7d4f1035-6b10-4c9e-a841-8823ac84a372 status: 200 OK code: 200 - duration: 539.001513ms + duration: 545.295875ms - 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/643f5a2d-bf67-4b95-83e8-4721cdee5eb1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/5b1330fa-f0c0-4245-858d-acbe89fca85a method: GET response: proto: HTTP/2.0 @@ -76,18 +76,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:28.543800Z","description":"","id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:28.543800Z"}' + body: '{"created_at":"2024-12-12T14:54:36.490449Z","description":"","id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:36.490449Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Thu, 12 Dec 2024 14:54:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -97,28 +97,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f5256bc8-6621-4399-8e86-ccb1e5d32403 + - 2244f0c2-d95e-499d-af2d-93f4fc30f729 status: 200 OK code: 200 - duration: 93.569685ms + duration: 167.432375ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 86 + content_length: 106 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","name":"my-source","type":"logs"}' + body: '{"project_id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","name":"my-source","type":"logs","retention_days":31}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -127,18 +127,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 389 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:29.274351Z","id":"374f6666-ea1a-4a4f-b637-766185b0e86c","name":"my-source","origin":"external","project_id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:29.274351Z","url":"https://374f6666-ea1a-4a4f-b637-766185b0e86c.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:37.234781Z","id":"32742a1d-a023-457e-b399-4e198d3b2fde","name":"my-source","origin":"custom","project_id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:37.234781Z","url":"https://32742a1d-a023-457e-b399-4e198d3b2fde.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "380" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Thu, 12 Dec 2024 14:54:37 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09df74e3-db22-417c-8ee5-c1d87fb2aa6b + - 2acb4d7e-d325-4f50-b7ae-6da5a128770a status: 200 OK code: 200 - duration: 193.267351ms + duration: 259.22875ms - id: 3 request: proto: HTTP/1.1 @@ -167,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/374f6666-ea1a-4a4f-b637-766185b0e86c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/32742a1d-a023-457e-b399-4e198d3b2fde method: GET response: proto: HTTP/2.0 @@ -176,18 +176,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 389 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:29.274351Z","id":"374f6666-ea1a-4a4f-b637-766185b0e86c","name":"my-source","origin":"external","project_id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:29.274351Z","url":"https://374f6666-ea1a-4a4f-b637-766185b0e86c.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:37.234781Z","id":"32742a1d-a023-457e-b399-4e198d3b2fde","name":"my-source","origin":"custom","project_id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:37.234781Z","url":"https://32742a1d-a023-457e-b399-4e198d3b2fde.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "380" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Thu, 12 Dec 2024 14:54:37 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75c445f9-c109-4b0e-a0e9-b9f9fb766477 + - 15e4581a-9489-4249-8922-ed33ea061510 status: 200 OK code: 200 - duration: 69.391815ms + duration: 152.852416ms - id: 4 request: proto: HTTP/1.1 @@ -216,8 +216,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/374f6666-ea1a-4a4f-b637-766185b0e86c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/32742a1d-a023-457e-b399-4e198d3b2fde method: GET response: proto: HTTP/2.0 @@ -225,18 +225,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 389 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:29.274351Z","id":"374f6666-ea1a-4a4f-b637-766185b0e86c","name":"my-source","origin":"external","project_id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:29.274351Z","url":"https://374f6666-ea1a-4a4f-b637-766185b0e86c.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:37.234781Z","id":"32742a1d-a023-457e-b399-4e198d3b2fde","name":"my-source","origin":"custom","project_id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:37.234781Z","url":"https://32742a1d-a023-457e-b399-4e198d3b2fde.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "380" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Thu, 12 Dec 2024 14:54:37 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58e75efa-5965-414e-804d-4502a30167d8 + - b457f51a-38c5-40ba-9e15-4271b5f7af00 status: 200 OK code: 200 - duration: 75.202148ms + duration: 78.686917ms - id: 5 request: proto: HTTP/1.1 @@ -265,8 +265,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/643f5a2d-bf67-4b95-83e8-4721cdee5eb1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/5b1330fa-f0c0-4245-858d-acbe89fca85a method: GET response: proto: HTTP/2.0 @@ -274,18 +274,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:28.543800Z","description":"","id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:28.543800Z"}' + body: '{"created_at":"2024-12-12T14:54:36.490449Z","description":"","id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:36.490449Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Thu, 12 Dec 2024 14:54:38 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 29a82004-1224-4e48-96b8-fa87b8f0e6e0 + - a37e4572-d0ad-4a1f-8119-bbe0fba3873b status: 200 OK code: 200 - duration: 94.812947ms + duration: 170.257875ms - id: 6 request: proto: HTTP/1.1 @@ -314,8 +314,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/374f6666-ea1a-4a4f-b637-766185b0e86c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/32742a1d-a023-457e-b399-4e198d3b2fde method: GET response: proto: HTTP/2.0 @@ -323,18 +323,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 389 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:29.274351Z","id":"374f6666-ea1a-4a4f-b637-766185b0e86c","name":"my-source","origin":"external","project_id":"643f5a2d-bf67-4b95-83e8-4721cdee5eb1","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:29.274351Z","url":"https://374f6666-ea1a-4a4f-b637-766185b0e86c.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:37.234781Z","id":"32742a1d-a023-457e-b399-4e198d3b2fde","name":"my-source","origin":"custom","project_id":"5b1330fa-f0c0-4245-858d-acbe89fca85a","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:37.234781Z","url":"https://32742a1d-a023-457e-b399-4e198d3b2fde.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "380" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:30 GMT + - Thu, 12 Dec 2024 14:54:38 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8bc32a50-27be-43a3-ba6e-d4db1f5c7189 + - 26cf386f-4776-423d-9abf-d81a1873ed02 status: 200 OK code: 200 - duration: 159.297138ms + duration: 67.160542ms - id: 7 request: proto: HTTP/1.1 @@ -363,8 +363,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/374f6666-ea1a-4a4f-b637-766185b0e86c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/32742a1d-a023-457e-b399-4e198d3b2fde method: DELETE response: proto: HTTP/2.0 @@ -381,7 +381,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:30 GMT + - Thu, 12 Dec 2024 14:54:39 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a2dc2b21-03ee-436b-b430-02590cc6f223 + - c03b9cea-07a0-415f-b59d-d9721de4287e status: 204 No Content code: 204 - duration: 175.83618ms + duration: 223.728125ms - 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/643f5a2d-bf67-4b95-83e8-4721cdee5eb1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/5b1330fa-f0c0-4245-858d-acbe89fca85a method: DELETE response: proto: HTTP/2.0 @@ -428,7 +428,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:32 GMT + - Thu, 12 Dec 2024 14:54:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5bd3455e-66d3-4da2-a57f-fabb7cd8e48e + - 399a19fd-e83c-4e92-b240-b546132b286f status: 204 No Content code: 204 - duration: 1.285003641s + duration: 1.455796208s - id: 9 request: proto: HTTP/1.1 @@ -457,8 +457,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/374f6666-ea1a-4a4f-b637-766185b0e86c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/32742a1d-a023-457e-b399-4e198d3b2fde method: GET response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 132 uncompressed: false - body: '{"message":"resource is not found","resource":"data source","resource_id":"374f6666-ea1a-4a4f-b637-766185b0e86c","type":"not_found"}' + body: '{"message":"resource is not found","resource":"data source","resource_id":"32742a1d-a023-457e-b399-4e198d3b2fde","type":"not_found"}' headers: Content-Length: - "132" @@ -477,7 +477,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:32 GMT + - Thu, 12 Dec 2024 14:54:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 40053baf-3898-4816-b5b3-bf1a3a6ae2ee + - 5842e2bf-406b-42ad-ac76-8c86be322058 status: 404 Not Found code: 404 - duration: 22.687848ms + duration: 24.829167ms diff --git a/internal/services/cockpit/testdata/cockpit-source-basic-metrics.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-basic-metrics.cassette.yaml index 98d7df1509..b272c188a6 100644 --- a/internal/services/cockpit/testdata/cockpit-source-basic-metrics.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-source-basic-metrics.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:37.858195Z","description":"","id":"faed509e-4da5-4198-9dd7-67947765ce36","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:37.858195Z"}' + body: '{"created_at":"2024-12-12T14:54:23.052479Z","description":"","id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:23.052479Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:38 GMT + - Thu, 12 Dec 2024 14:54:23 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 07aa69e1-eae7-4a59-9bb9-24c8c69d04bb + - 5fa12e8c-eaca-4edf-9c3f-4df7680a20c3 status: 200 OK code: 200 - duration: 273.063975ms + duration: 977.68625ms - 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/faed509e-4da5-4198-9dd7-67947765ce36 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f9d7fbd6-c86c-45d8-ad28-963e0a251e0c method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:37.858195Z","description":"","id":"faed509e-4da5-4198-9dd7-67947765ce36","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:37.858195Z"}' + body: '{"created_at":"2024-12-12T14:54:23.052479Z","description":"","id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:23.052479Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:38 GMT + - Thu, 12 Dec 2024 14:54:23 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,28 +97,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4178d406-0849-4bb9-94e5-53b5c29869b8 + - 6e23808e-426f-4575-8d17-00f5b23f611d status: 200 OK code: 200 - duration: 91.366804ms + duration: 110.312959ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 89 + content_length: 109 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"faed509e-4da5-4198-9dd7-67947765ce36","name":"my-source","type":"metrics"}' + body: '{"project_id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","name":"my-source","type":"metrics","retention_days":31}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 395 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:38.311618Z","id":"b0901127-6489-4a6a-b282-8253c15d2fd0","name":"my-source","origin":"external","project_id":"faed509e-4da5-4198-9dd7-67947765ce36","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:38.311618Z","url":"https://b0901127-6489-4a6a-b282-8253c15d2fd0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:23.714975Z","id":"547c1b2d-321c-4a80-8c53-5e58a866b0c3","name":"my-source","origin":"custom","project_id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-12T14:54:23.714975Z","url":"https://547c1b2d-321c-4a80-8c53-5e58a866b0c3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "386" + - "395" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:38 GMT + - Thu, 12 Dec 2024 14:54:23 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - de69c5e9-cf71-4ba6-b19f-e902afe3b14f + - 6c35e620-38ee-4b3e-99f5-fe4a300e3313 status: 200 OK code: 200 - duration: 226.416862ms + duration: 339.527125ms - id: 3 request: proto: HTTP/1.1 @@ -167,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b0901127-6489-4a6a-b282-8253c15d2fd0 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/547c1b2d-321c-4a80-8c53-5e58a866b0c3 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 395 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:38.311618Z","id":"b0901127-6489-4a6a-b282-8253c15d2fd0","name":"my-source","origin":"external","project_id":"faed509e-4da5-4198-9dd7-67947765ce36","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:38.311618Z","url":"https://b0901127-6489-4a6a-b282-8253c15d2fd0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:23.714975Z","id":"547c1b2d-321c-4a80-8c53-5e58a866b0c3","name":"my-source","origin":"custom","project_id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-12T14:54:23.714975Z","url":"https://547c1b2d-321c-4a80-8c53-5e58a866b0c3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "386" + - "395" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:38 GMT + - Thu, 12 Dec 2024 14:54:23 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 98bccd4d-d04f-40f6-88ae-9294b4053b9f + - ff682e64-a8ad-4a83-96b4-54115e8fc05f status: 200 OK code: 200 - duration: 57.524136ms + duration: 147.375709ms - id: 4 request: proto: HTTP/1.1 @@ -216,8 +216,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/b0901127-6489-4a6a-b282-8253c15d2fd0 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/547c1b2d-321c-4a80-8c53-5e58a866b0c3 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 395 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:38.311618Z","id":"b0901127-6489-4a6a-b282-8253c15d2fd0","name":"my-source","origin":"external","project_id":"faed509e-4da5-4198-9dd7-67947765ce36","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:38.311618Z","url":"https://b0901127-6489-4a6a-b282-8253c15d2fd0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:23.714975Z","id":"547c1b2d-321c-4a80-8c53-5e58a866b0c3","name":"my-source","origin":"custom","project_id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-12T14:54:23.714975Z","url":"https://547c1b2d-321c-4a80-8c53-5e58a866b0c3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "386" + - "395" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:38 GMT + - Thu, 12 Dec 2024 14:54:24 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 96e95733-2698-4cff-9a4a-ca04677d5529 + - 41cade1c-b80d-4e9f-8547-029cf5f8a21c status: 200 OK code: 200 - duration: 57.886587ms + duration: 109.970125ms - id: 5 request: proto: HTTP/1.1 @@ -265,8 +265,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/faed509e-4da5-4198-9dd7-67947765ce36 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f9d7fbd6-c86c-45d8-ad28-963e0a251e0c method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 253 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:37.858195Z","description":"","id":"faed509e-4da5-4198-9dd7-67947765ce36","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:37.858195Z"}' + body: '{"created_at":"2024-12-12T14:54:23.052479Z","description":"","id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:23.052479Z"}' headers: Content-Length: - - "253" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:39 GMT + - Thu, 12 Dec 2024 14:54:24 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09460014-dc0f-445b-842f-e05cad04b3ea + - 6ec08702-e303-4b3f-8108-80a63525be85 status: 200 OK code: 200 - duration: 101.876151ms + duration: 146.50125ms - id: 6 request: proto: HTTP/1.1 @@ -314,8 +314,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b0901127-6489-4a6a-b282-8253c15d2fd0 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/547c1b2d-321c-4a80-8c53-5e58a866b0c3 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 395 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:38.311618Z","id":"b0901127-6489-4a6a-b282-8253c15d2fd0","name":"my-source","origin":"external","project_id":"faed509e-4da5-4198-9dd7-67947765ce36","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:38.311618Z","url":"https://b0901127-6489-4a6a-b282-8253c15d2fd0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-12T14:54:23.714975Z","id":"547c1b2d-321c-4a80-8c53-5e58a866b0c3","name":"my-source","origin":"custom","project_id":"f9d7fbd6-c86c-45d8-ad28-963e0a251e0c","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-12T14:54:23.714975Z","url":"https://547c1b2d-321c-4a80-8c53-5e58a866b0c3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "386" + - "395" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:39 GMT + - Thu, 12 Dec 2024 14:54:25 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 389f1b02-d645-46c8-8c00-a130005b370a + - 709f87bc-a9a7-423e-900e-0c2c25cbb038 status: 200 OK code: 200 - duration: 56.682861ms + duration: 103.497542ms - id: 7 request: proto: HTTP/1.1 @@ -363,8 +363,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b0901127-6489-4a6a-b282-8253c15d2fd0 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/547c1b2d-321c-4a80-8c53-5e58a866b0c3 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:45 GMT + - Thu, 12 Dec 2024 14:54:26 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 367a05af-ba9f-4d88-81a7-f56c99a2060e + - 2f765233-6068-4774-92c6-3530110cd98b status: 204 No Content code: 204 - duration: 5.582140886s + duration: 428.495834ms - 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/faed509e-4da5-4198-9dd7-67947765ce36 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f9d7fbd6-c86c-45d8-ad28-963e0a251e0c method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:46 GMT + - Thu, 12 Dec 2024 14:54:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c9da858-d4ff-4843-980b-22a6468e05d9 + - 520787bc-c213-4344-99a1-78830c9407b3 status: 204 No Content code: 204 - duration: 1.331958582s + duration: 1.448017958s - id: 9 request: proto: HTTP/1.1 @@ -457,8 +457,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/b0901127-6489-4a6a-b282-8253c15d2fd0 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/547c1b2d-321c-4a80-8c53-5e58a866b0c3 method: GET response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 132 uncompressed: false - body: '{"message":"resource is not found","resource":"data source","resource_id":"b0901127-6489-4a6a-b282-8253c15d2fd0","type":"not_found"}' + body: '{"message":"resource is not found","resource":"data source","resource_id":"547c1b2d-321c-4a80-8c53-5e58a866b0c3","type":"not_found"}' headers: Content-Length: - "132" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:46 GMT + - Thu, 12 Dec 2024 14:54:27 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7569973b-4e7a-4533-98e7-a55c8c7225f0 + - b759f7b2-eeae-4351-a230-4813e34e82e2 status: 404 Not Found code: 404 - duration: 32.910222ms + duration: 26.838917ms diff --git a/internal/services/cockpit/testdata/cockpit-source-retention-days.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-retention-days.cassette.yaml new file mode 100644 index 0000000000..1549395594 --- /dev/null +++ b/internal/services/cockpit/testdata/cockpit-source-retention-days.cassette.yaml @@ -0,0 +1,493 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 118 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","description":""}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 248 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:13.536170Z","description":"","id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:13.536170Z"}' + headers: + Content-Length: + - "248" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:13 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: + - 549dff2f-c5eb-4e76-9457-f606344c1d3b + status: 200 OK + code: 200 + duration: 454.639208ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 248 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:13.536170Z","description":"","id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:13.536170Z"}' + headers: + Content-Length: + - "248" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:13 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: + - 32fa7504-a91c-4941-9b36-115d7ebe0142 + status: 200 OK + code: 200 + duration: 104.469958ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 106 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","name":"my-source","type":"logs","retention_days":13}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 389 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:14.094682Z","id":"7326fe86-2a89-4621-bb89-0f1ea9ecdc67","name":"my-source","origin":"custom","project_id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","region":"fr-par","retention_days":13,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:14.094682Z","url":"https://7326fe86-2a89-4621-bb89-0f1ea9ecdc67.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "389" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:14 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 21bfc227-22cf-4640-a509-b8dfc50a38f4 + status: 200 OK + code: 200 + duration: 235.868584ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7326fe86-2a89-4621-bb89-0f1ea9ecdc67 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 389 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:14.094682Z","id":"7326fe86-2a89-4621-bb89-0f1ea9ecdc67","name":"my-source","origin":"custom","project_id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","region":"fr-par","retention_days":13,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:14.094682Z","url":"https://7326fe86-2a89-4621-bb89-0f1ea9ecdc67.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "389" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:14 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 41d683b4-f472-4b9d-bf45-5c5e5a0d3b6e + status: 200 OK + code: 200 + duration: 64.712458ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7326fe86-2a89-4621-bb89-0f1ea9ecdc67 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 389 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:14.094682Z","id":"7326fe86-2a89-4621-bb89-0f1ea9ecdc67","name":"my-source","origin":"custom","project_id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","region":"fr-par","retention_days":13,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:14.094682Z","url":"https://7326fe86-2a89-4621-bb89-0f1ea9ecdc67.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "389" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:14 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 670f28f5-8f13-43f4-a22e-8874a3d63b00 + status: 200 OK + code: 200 + duration: 80.201625ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 248 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:13.536170Z","description":"","id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:13.536170Z"}' + headers: + Content-Length: + - "248" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:15 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: + - 88f1fd4e-4e5d-42fd-ab93-3e30fd03d471 + status: 200 OK + code: 200 + duration: 126.220459ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7326fe86-2a89-4621-bb89-0f1ea9ecdc67 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 389 + uncompressed: false + body: '{"created_at":"2024-12-11T11:19:14.094682Z","id":"7326fe86-2a89-4621-bb89-0f1ea9ecdc67","name":"my-source","origin":"custom","project_id":"ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9","region":"fr-par","retention_days":13,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:14.094682Z","url":"https://7326fe86-2a89-4621-bb89-0f1ea9ecdc67.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "389" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:15 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: + - 37f585f4-d183-4437-88a0-2cdc05d71daf + status: 200 OK + code: 200 + duration: 77.749375ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7326fe86-2a89-4621-bb89-0f1ea9ecdc67 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:16 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: + - e100b61f-5cd0-4846-ac4e-2d1323224fb5 + status: 204 No Content + code: 204 + duration: 157.88375ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ae3d2ebf-6a8d-4577-90c7-075d45a5d7d9 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:17 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: + - 4ec70dd9-a034-4c81-922c-899238226c58 + status: 204 No Content + code: 204 + duration: 1.360312166s + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7326fe86-2a89-4621-bb89-0f1ea9ecdc67 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 132 + uncompressed: false + body: '{"message":"resource is not found","resource":"data source","resource_id":"7326fe86-2a89-4621-bb89-0f1ea9ecdc67","type":"not_found"}' + headers: + Content-Length: + - "132" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 11 Dec 2024 11:19:17 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: + - 5eb6dc81-54f7-4aa3-acb7-f1703b3971bd + status: 404 Not Found + code: 404 + duration: 27.245208ms diff --git a/internal/services/cockpit/testdata/cockpit-source-update.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-update.cassette.yaml new file mode 100644 index 0000000000..a665a7cbc4 --- /dev/null +++ b/internal/services/cockpit/testdata/cockpit-source-update.cassette.yaml @@ -0,0 +1,1181 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 115 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","description":""}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:56 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c5b9eef3-7d8c-4a50-9029-a250e08b0d6d + status: 200 OK + code: 200 + duration: 824.167417ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:57 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0cf8e8a1-8313-4b26-8eb3-b924adc568ce + status: 200 OK + code: 200 + duration: 210.0565ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 109 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"initial-name","type":"logs","retention_days":10}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":10,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:57 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bdd9f51d-d507-4876-b96e-747748fe20dd + status: 200 OK + code: 200 + duration: 340.680542ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":10,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:57 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0575b83f-2bd7-44d5-a58f-2aa95e17d78a + status: 200 OK + code: 200 + duration: 77.383583ms + - 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.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":10,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:57 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 05f75ea4-9177-4b64-922a-3384893084cb + status: 200 OK + code: 200 + duration: 86.330292ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:58 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5b560bb1-8757-4c54-bf2b-3d8275e50db6 + status: 200 OK + code: 200 + duration: 127.175417ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":10,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:58 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1a736053-0743-4d34-8a59-5cfc7bcc89ef + status: 200 OK + code: 200 + duration: 139.368209ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:59 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a90afdbf-22dd-44c4-bc2a-71e239461032 + status: 200 OK + code: 200 + duration: 149.129792ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":10,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:54:59 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f5836d90-85c2-42f4-aae1-553bd76d4da6 + status: 200 OK + code: 200 + duration: 59.458666ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 21 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"retention_days":20}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:00 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ca21ee3c-2607-4771-aa8e-7ee216bec009 + status: 200 OK + code: 200 + duration: 98.252958ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:00 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d35ab9b1-d5eb-4ae8-b446-1fd6e8099b0a + status: 200 OK + code: 200 + duration: 113.277125ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:01 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 20be134a-e3f6-4a3b-b287-fc38a33a2c32 + status: 200 OK + code: 200 + duration: 124.8935ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:01 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 075d3256-01c3-4ad6-a9a9-1b79a2db0dbe + status: 200 OK + code: 200 + duration: 97.682875ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:02 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0e266784-4fce-420b-b43e-0f2fc8ca4437 + status: 200 OK + code: 200 + duration: 136.970791ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:57.467145Z","id":"7e47c93a-5398-4e28-aff5-2d3ad5b74a55","name":"initial-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:54:57.467145Z","url":"https://7e47c93a-5398-4e28-aff5-2d3ad5b74a55.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:02 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 30991a50-80c2-4490-ba70-783329dee8c0 + status: 200 OK + code: 200 + duration: 101.804791ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7e47c93a-5398-4e28-aff5-2d3ad5b74a55 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:03 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b69c9f38-f560-49b9-8602-e6595e0c8191 + status: 204 No Content + code: 204 + duration: 197.867459ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 109 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"updated-name","type":"logs","retention_days":20}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:55:03.624376Z","id":"819c2924-d6e6-4b2a-b16a-64a43ba222f6","name":"updated-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:55:03.624376Z","url":"https://819c2924-d6e6-4b2a-b16a-64a43ba222f6.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:03 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c31e50e9-3139-4ba9-ae4f-241111a3d52f + status: 200 OK + code: 200 + duration: 735.39425ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/819c2924-d6e6-4b2a-b16a-64a43ba222f6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:55:03.624376Z","id":"819c2924-d6e6-4b2a-b16a-64a43ba222f6","name":"updated-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:55:03.624376Z","url":"https://819c2924-d6e6-4b2a-b16a-64a43ba222f6.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:04 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e3536826-706b-4fd9-a3ec-b4e8de60e51b + status: 200 OK + code: 200 + duration: 83.334875ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/819c2924-d6e6-4b2a-b16a-64a43ba222f6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:55:03.624376Z","id":"819c2924-d6e6-4b2a-b16a-64a43ba222f6","name":"updated-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:55:03.624376Z","url":"https://819c2924-d6e6-4b2a-b16a-64a43ba222f6.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:04 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 094b6e1b-62fb-4ca8-ab18-b0176de9c91c + status: 200 OK + code: 200 + duration: 64.457291ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 245 + uncompressed: false + body: '{"created_at":"2024-12-12T14:54:56.667579Z","description":"","id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","name":"tf_tests_cockpit_source_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-12T14:54:56.667579Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:05 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 23d297aa-9376-4459-8306-e9464e655d60 + status: 200 OK + code: 200 + duration: 145.275958ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/819c2924-d6e6-4b2a-b16a-64a43ba222f6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 392 + uncompressed: false + body: '{"created_at":"2024-12-12T14:55:03.624376Z","id":"819c2924-d6e6-4b2a-b16a-64a43ba222f6","name":"updated-name","origin":"custom","project_id":"90abc510-f0b3-4f25-bd2a-eb22adc31f40","region":"fr-par","retention_days":20,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-12T14:55:03.624376Z","url":"https://819c2924-d6e6-4b2a-b16a-64a43ba222f6.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "392" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:05 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c068ef96-15e2-4f93-a47f-858d4a28a906 + status: 200 OK + code: 200 + duration: 261.626417ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/819c2924-d6e6-4b2a-b16a-64a43ba222f6 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:06 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d4b3876d-945c-4bbf-b051-39d7b74bf974 + status: 204 No Content + code: 204 + duration: 338.650667ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/90abc510-f0b3-4f25-bd2a-eb22adc31f40 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:08 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a47c4842-44d0-496b-9db9-f2d84dec57ed + status: 204 No Content + code: 204 + duration: 1.587281166s + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/819c2924-d6e6-4b2a-b16a-64a43ba222f6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 132 + uncompressed: false + body: '{"message":"resource is not found","resource":"data source","resource_id":"819c2924-d6e6-4b2a-b16a-64a43ba222f6","type":"not_found"}' + headers: + Content-Length: + - "132" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 12 Dec 2024 14:55:08 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 40f2f1e4-e5e1-47d7-a0a9-ee8aa6bba8da + status: 404 Not Found + code: 404 + duration: 31.858167ms 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 34c206ecfc..6478313c60 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 252 + content_length: 247 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:22.910554Z","description":"","id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:22.910554Z"}' + body: '{"created_at":"2024-12-11T11:19:57.049595Z","description":"","id":"20c94887-1862-4c8f-b866-a6e8561281fb","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:57.049595Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c5f8736d-70cc-463c-b200-3ed9a60d9b3f + - a6a17660-a18c-47c3-814d-264bc53070a4 status: 200 OK code: 200 - duration: 498.873006ms + duration: 439.780834ms - 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/a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 252 + content_length: 247 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:22.910554Z","description":"","id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:22.910554Z"}' + body: '{"created_at":"2024-12-11T11:19:57.049595Z","description":"","id":"20c94887-1862-4c8f-b866-a6e8561281fb","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:57.049595Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a39e5629-4783-4b28-988e-95fb3762bc1c + - 67acb91d-4aa5-458b-b888-d37a6985a922 status: 200 OK code: 200 - duration: 130.416856ms + duration: 154.327209ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/enable method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 187 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "187" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,28 +148,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 748066ef-e470-41b0-9b86-63b17290567e + - e62e967a-2f99-4ff7-ae4d-81e6e39d3f93 status: 200 OK code: 200 - duration: 184.607037ms + duration: 142.497ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 100 + content_length: 115 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"my-data-source-traces","type":"traces"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 396 + content_length: 398 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "396" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,28 +199,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a7df4291-d7ed-4bca-9ee0-d4d042070ea7 + - 1eca066f-fdd0-46c0-9479-82cc1b00f430 status: 200 OK code: 200 - duration: 222.543906ms + duration: 325.0685ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 102 + content_length: 119 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"my-data-source-metrics","type":"metrics"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 + content_length: 404 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "399" + - "404" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,28 +250,28 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c687b4f6-7198-4010-a277-d00b00b69508 + - d77524d2-64fd-48d7-acb3-5f533d0017b4 status: 200 OK code: 200 - duration: 225.4169ms + duration: 325.688708ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 96 + content_length: 122 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"my-data-source-logs","type":"logs"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 408 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a1a11fa-5359-43b7-a7d3-496b57a001ed + - 41776601-b33c-409a-990c-3e7e1e32048b status: 200 OK code: 200 - duration: 268.325314ms + duration: 325.073833ms - 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/3a0f6618-29fb-496e-a697-e68337f1ba3e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b4f906d7-7dae-4fe4-9f45-abff6e69847a method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 396 + content_length: 398 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "396" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d4c3a962-43f0-4aac-b890-a73e3f1711c8 + - 9cc934e1-4805-4d25-b1ef-122314e72c0a status: 200 OK code: 200 - duration: 73.760577ms + duration: 66.309958ms - id: 7 request: proto: HTTP/1.1 @@ -369,8 +369,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/5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7f6a911d-e1af-44fc-9a10-25e67583f3f5 method: GET response: proto: HTTP/2.0 @@ -378,20 +378,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 + content_length: 404 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "399" + - "404" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a003c44-b8b8-463a-bcc8-36bc01976c07 + - bd9fa67b-3631-4b4c-9cb2-adc930b827f5 status: 200 OK code: 200 - duration: 72.3338ms + duration: 69.314041ms - id: 8 request: proto: HTTP/1.1 @@ -418,8 +418,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/0923a514-b6c3-4845-85b0-9e65c515a783 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4053066d-d8e9-453e-b90d-cc29f1eb0149 method: GET response: proto: HTTP/2.0 @@ -427,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 408 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6245d72a-7fcc-48db-8855-951751320707 + - dbb27d65-adea-47eb-ab7d-5715a95ec854 status: 200 OK code: 200 - duration: 78.551717ms + duration: 70.287875ms - id: 9 request: proto: HTTP/1.1 @@ -463,13 +463,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: @@ -478,20 +478,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:57 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -499,10 +499,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 03ec6517-563b-4397-ac95-ed682a0f45db + - 9a7f52cd-dc9f-4f05-9212-9eeef3e549fe status: 200 OK code: 200 - duration: 247.66762ms + duration: 336.866667ms - 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -527,20 +527,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:23 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -548,10 +548,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 368c84f0-deb1-4a7f-b510-7ea0c7be240c + - 776024a0-08a0-4705-8c6d-6eb8378e8c94 status: 200 OK code: 200 - duration: 88.84905ms + duration: 68.67125ms - 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.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -576,20 +576,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 111 + content_length: 108 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "111" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -597,10 +597,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0f601f37-2bf4-4493-8fd1-63ce3d520d73 + - 9df327c9-e048-4525-a964-340e994c3300 status: 200 OK code: 200 - duration: 242.143249ms + duration: 195.99975ms - id: 12 request: proto: HTTP/1.1 @@ -616,7 +616,7 @@ 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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 method: GET response: @@ -625,20 +625,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 754 + content_length: 730 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" + - "730" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -646,10 +646,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f44671de-eaea-4ef3-b298-372bab2c705d + - af0b1895-d66a-49d3-9043-f25d105f0568 status: 200 OK code: 200 - duration: 35.386597ms + duration: 25.466333ms - id: 13 request: proto: HTTP/1.1 @@ -661,13 +661,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","plan_name":"free"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","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 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/plans method: PATCH response: @@ -676,20 +676,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -697,10 +697,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4eac62cd-933c-434b-86c1-49e93ded5a75 + - 95298168-3b0e-4e1d-bafb-ba5ad8aee94a status: 200 OK code: 200 - duration: 121.816088ms + duration: 144.966916ms - id: 14 request: proto: HTTP/1.1 @@ -716,8 +716,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -725,20 +725,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -746,10 +746,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9c171d1-7edf-485e-8829-bac5f37b2078 + - 553617f5-3afd-4fcb-9156-5a98015bf98e status: 200 OK code: 200 - duration: 70.566417ms + duration: 70.60775ms - id: 15 request: proto: HTTP/1.1 @@ -765,8 +765,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -774,20 +774,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -795,10 +795,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a615c429-08be-45cc-9f98-2ef9221cafe7 + - cf4adcbf-b61f-443d-a790-3e831d21d105 status: 200 OK code: 200 - duration: 273.075284ms + duration: 319.32875ms - id: 16 request: proto: HTTP/1.1 @@ -814,8 +814,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -834,9 +834,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -844,10 +844,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 91e3be51-9242-48d8-a9bd-c1521470e84c + - 63740984-5891-4cca-952e-2d4e5744e785 status: 200 OK code: 200 - duration: 61.453701ms + duration: 81.473208ms - id: 17 request: proto: HTTP/1.1 @@ -863,8 +863,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -872,20 +872,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:58 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -893,10 +893,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a2d4d3e7-f75a-4dcc-94af-b7ec2d579911 + - 5fdd0c38-1535-4bc0-a58f-e2b924486b44 status: 200 OK code: 200 - duration: 84.976954ms + duration: 90.870209ms - id: 18 request: proto: HTTP/1.1 @@ -912,8 +912,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -921,20 +921,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:24 GMT + - Wed, 11 Dec 2024 11:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -942,10 +942,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3fb04787-947e-48c2-ba89-8d2f56a01cd9 + - 2dea9575-c7e4-4a70-9b3a-2f555b04d6f5 status: 200 OK code: 200 - duration: 122.205266ms + duration: 84.92425ms - id: 19 request: proto: HTTP/1.1 @@ -961,8 +961,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -970,20 +970,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:25 GMT + - Wed, 11 Dec 2024 11:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -991,10 +991,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46735ea4-fcb6-4a36-b5b3-1a86d826718f + - 41596091-668c-431c-8205-5e36bb6d81ff status: 200 OK code: 200 - duration: 386.728943ms + duration: 359.958333ms - id: 20 request: proto: HTTP/1.1 @@ -1010,8 +1010,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1030,9 +1030,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:25 GMT + - Wed, 11 Dec 2024 11:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1040,10 +1040,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a53788c-e66d-4c8e-a3db-e1c6644486d1 + - 2c79d124-e5a4-46b3-a6ff-763af3a48fb4 status: 200 OK code: 200 - duration: 850.599879ms + duration: 70.997ms - id: 21 request: proto: HTTP/1.1 @@ -1059,8 +1059,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1068,20 +1068,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:26 GMT + - Wed, 11 Dec 2024 11:19:59 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1089,10 +1089,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec98e019-e37e-4855-b2ca-c8a9b1866eef + - 02e8fb22-5be3-44c5-be21-3a22764333a9 status: 200 OK code: 200 - duration: 59.41537ms + duration: 68.037666ms - id: 22 request: proto: HTTP/1.1 @@ -1108,8 +1108,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1117,20 +1117,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:26 GMT + - Wed, 11 Dec 2024 11:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1138,10 +1138,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e15a3f5b-2b2b-4747-b345-a5d8b6c6fcb6 + - 799eb249-d9c7-47e7-9c3e-3d2c4cb8865c status: 200 OK code: 200 - duration: 73.471439ms + duration: 65.596917ms - id: 23 request: proto: HTTP/1.1 @@ -1157,8 +1157,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1166,20 +1166,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:26 GMT + - Wed, 11 Dec 2024 11:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1187,10 +1187,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 69da013c-234e-459f-a423-1fa51256fcb7 + - b3854f4c-1114-4299-b451-74ef89093b15 status: 200 OK code: 200 - duration: 292.563143ms + duration: 361.100375ms - id: 24 request: proto: HTTP/1.1 @@ -1206,8 +1206,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1226,9 +1226,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:26 GMT + - Wed, 11 Dec 2024 11:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1236,10 +1236,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b60a617b-01d9-4402-9f7b-fe612bf3aa9a + - 1bb882ca-b81f-4dc0-b7e8-fc493f81354b status: 200 OK code: 200 - duration: 212.001924ms + duration: 62.084667ms - id: 25 request: proto: HTTP/1.1 @@ -1255,8 +1255,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1264,20 +1264,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:00 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a3b0dd08-468d-4271-9dc0-997dbf9bcecb + - f808d166-0704-413c-87d3-f8af98827494 status: 200 OK code: 200 - duration: 77.692242ms + duration: 82.422458ms - id: 26 request: proto: HTTP/1.1 @@ -1304,8 +1304,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/a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1313,20 +1313,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 252 + content_length: 247 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:22.910554Z","description":"","id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-09-19T09:04:22.910554Z"}' + body: '{"created_at":"2024-12-11T11:19:57.049595Z","description":"","id":"20c94887-1862-4c8f-b866-a6e8561281fb","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-12-11T11:19:57.049595Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 54d3771b-ddad-409c-9295-6e9f95c92208 + - 74847aac-e1aa-4a45-bc88-5930d14a8488 status: 200 OK code: 200 - duration: 96.377248ms + duration: 117.191834ms - id: 27 request: proto: HTTP/1.1 @@ -1353,8 +1353,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/5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b4f906d7-7dae-4fe4-9f45-abff6e69847a method: GET response: proto: HTTP/2.0 @@ -1362,20 +1362,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 + content_length: 398 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "399" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1383,10 +1383,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 092c7d8e-4a96-4375-923c-14a3dc402710 + - fcf42266-1ef5-4b58-8ec8-a454e3cffe16 status: 200 OK code: 200 - duration: 50.018035ms + duration: 65.863708ms - id: 28 request: proto: HTTP/1.1 @@ -1402,8 +1402,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1411,20 +1411,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1432,10 +1432,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 19e836ee-52f9-404f-8b75-35b61605e72f + - ebf61f42-8233-424d-9361-e8a201bd2b52 status: 200 OK code: 200 - duration: 55.496687ms + duration: 71.629875ms - id: 29 request: proto: HTTP/1.1 @@ -1451,8 +1451,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/3a0f6618-29fb-496e-a697-e68337f1ba3e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7f6a911d-e1af-44fc-9a10-25e67583f3f5 method: GET response: proto: HTTP/2.0 @@ -1460,20 +1460,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 396 + content_length: 404 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "396" + - "404" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1481,10 +1481,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ef85ae93-dcd3-4353-b50f-c83d6ce54a08 + - 98eecdbb-0973-4170-9dbb-ecd1e8a3f3b9 status: 200 OK code: 200 - duration: 61.432903ms + duration: 68.409958ms - id: 30 request: proto: HTTP/1.1 @@ -1500,8 +1500,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/0923a514-b6c3-4845-85b0-9e65c515a783 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4053066d-d8e9-453e-b90d-cc29f1eb0149 method: GET response: proto: HTTP/2.0 @@ -1509,20 +1509,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 408 uncompressed: false - body: '{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "408" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1530,10 +1530,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 73a31bad-5e02-449a-9c1b-0726c352f30c + - 0c2cb03c-dcfa-485b-8e11-9a9f2c7eaa34 status: 200 OK code: 200 - duration: 61.91139ms + duration: 87.532041ms - id: 31 request: proto: HTTP/1.1 @@ -1549,8 +1549,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/contact-points?project_id=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1558,20 +1558,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 111 + content_length: 108 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "111" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1579,10 +1579,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8f9a8dc9-22cd-4d92-bb7c-50c6d7ea35d6 + - 606736ad-2013-4789-ab22-4ebf9deaac1e status: 200 OK code: 200 - duration: 162.334855ms + duration: 117.980959ms - id: 32 request: proto: HTTP/1.1 @@ -1598,8 +1598,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1607,20 +1607,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1628,10 +1628,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1c2f0781-0091-4239-8af1-815ae624f3ab + - 261f39cd-b6b7-4832-b869-908f6761d552 status: 200 OK code: 200 - duration: 65.928943ms + duration: 71.973458ms - id: 33 request: proto: HTTP/1.1 @@ -1647,8 +1647,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1656,20 +1656,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:01 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1677,10 +1677,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 632cc882-99cb-4dc6-91fd-8c86d110b93d + - 895f1506-d974-4715-b6f5-232a5af06af7 status: 200 OK code: 200 - duration: 240.861287ms + duration: 401.576125ms - id: 34 request: proto: HTTP/1.1 @@ -1696,8 +1696,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1716,9 +1716,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1726,10 +1726,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fed418a1-a620-4138-b576-93c4e929d4d8 + - 9e160677-a337-4b55-85ca-926daf46b124 status: 200 OK code: 200 - duration: 55.560849ms + duration: 501.70875ms - id: 35 request: proto: HTTP/1.1 @@ -1745,8 +1745,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1754,20 +1754,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:27 GMT + - Wed, 11 Dec 2024 11:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1775,10 +1775,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a7c3ed8-209f-4f83-af71-36bd7e5072a2 + - f8928820-bed5-44b4-a462-37d3240eb34a status: 200 OK code: 200 - duration: 53.17632ms + duration: 110.080792ms - id: 36 request: proto: HTTP/1.1 @@ -1794,8 +1794,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1803,20 +1803,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1824,10 +1824,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f4f479e7-52e4-4393-98f5-1dcd5ff8332b + - d26b2271-fabf-4c94-bc2b-7120bdcd3a73 status: 200 OK code: 200 - duration: 62.560903ms + duration: 80.265667ms - id: 37 request: proto: HTTP/1.1 @@ -1843,8 +1843,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1852,20 +1852,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1873,10 +1873,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a7184e0-1e07-474c-b7b3-b659e393a945 + - 0bdff8a4-af2c-4508-b497-ab0e6bbc80b9 status: 200 OK code: 200 - duration: 288.574336ms + duration: 353.962625ms - id: 38 request: proto: HTTP/1.1 @@ -1892,8 +1892,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1912,9 +1912,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1922,10 +1922,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9ca6a4a7-fca7-457b-bad5-60e732ae5cc5 + - 4f266bd4-42ef-4813-839d-eb8bd1705969 status: 200 OK code: 200 - duration: 77.544919ms + duration: 85.721917ms - id: 39 request: proto: HTTP/1.1 @@ -1941,8 +1941,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1950,20 +1950,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1971,10 +1971,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6512179f-5c7c-4d6e-aed3-a5208dae8e5e + - 0f79f62a-bc09-47fd-b452-796195153a5a status: 200 OK code: 200 - duration: 56.635706ms + duration: 98.155875ms - id: 40 request: proto: HTTP/1.1 @@ -1990,8 +1990,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -1999,20 +1999,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 229 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" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2020,10 +2020,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 05ec89d7-4f79-4868-b30c-892a3db550b8 + - d3c9dc9f-4427-47c0-b130-e7d320f0ddde status: 200 OK code: 200 - duration: 66.073808ms + duration: 77.859875ms - id: 41 request: proto: HTTP/1.1 @@ -2039,8 +2039,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -2048,20 +2048,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1225 + content_length: 1247 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-09-19T09:04:23.450385Z","id":"3a0f6618-29fb-496e-a697-e68337f1ba3e","name":"my-data-source-traces","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-09-19T09:04:23.450385Z","url":"https://3a0f6618-29fb-496e-a697-e68337f1ba3e.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.452224Z","id":"5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d","name":"my-data-source-metrics","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-09-19T09:04:23.452224Z","url":"https://5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-09-19T09:04:23.500089Z","id":"0923a514-b6c3-4845-85b0-9e65c515a783","name":"my-data-source-logs","origin":"external","project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-09-19T09:04:23.500089Z","url":"https://0923a514-b6c3-4845-85b0-9e65c515a783.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + body: '{"data_sources":[{"created_at":"2024-12-11T11:19:57.715471Z","id":"7f6a911d-e1af-44fc-9a10-25e67583f3f5","name":"my-data-source-traces","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"traces","updated_at":"2024-12-11T11:19:57.715471Z","url":"https://7f6a911d-e1af-44fc-9a10-25e67583f3f5.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.740932Z","id":"b4f906d7-7dae-4fe4-9f45-abff6e69847a","name":"my-data-source-logs","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":7,"synchronized_with_grafana":false,"type":"logs","updated_at":"2024-12-11T11:19:57.740932Z","url":"https://b4f906d7-7dae-4fe4-9f45-abff6e69847a.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-12-11T11:19:57.745750Z","id":"4053066d-d8e9-453e-b90d-cc29f1eb0149","name":"my-data-source-metrics","origin":"custom","project_id":"20c94887-1862-4c8f-b866-a6e8561281fb","region":"fr-par","retention_days":31,"synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-12-11T11:19:57.745750Z","url":"https://4053066d-d8e9-453e-b90d-cc29f1eb0149.metrics.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1225" + - "1247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:28 GMT + - Wed, 11 Dec 2024 11:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2069,10 +2069,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3e8e4d3f-56de-4589-84e1-5acdc95a2b8a + - ad247d67-3de8-4db4-a42f-f5cec1b88008 status: 200 OK code: 200 - duration: 336.585849ms + duration: 345.47175ms - id: 42 request: proto: HTTP/1.1 @@ -2088,8 +2088,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -2108,9 +2108,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2118,10 +2118,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6eddf023-507e-4c7c-9339-a6bb41844b41 + - 4fbb3440-e747-4a44-86a3-30df002309d1 status: 200 OK code: 200 - duration: 59.794483ms + duration: 67.601958ms - id: 43 request: proto: HTTP/1.1 @@ -2137,8 +2137,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=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -2146,20 +2146,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 186 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "186" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2167,10 +2167,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fbecd434-7f27-4ed3-a5cb-d3eb83c2c0ac + - 41de4543-102c-4aa0-a59c-32924ed25329 status: 200 OK code: 200 - duration: 78.51438ms + duration: 81.829375ms - id: 44 request: proto: HTTP/1.1 @@ -2186,8 +2186,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/3a0f6618-29fb-496e-a697-e68337f1ba3e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/7f6a911d-e1af-44fc-9a10-25e67583f3f5 method: DELETE response: proto: HTTP/2.0 @@ -2204,9 +2204,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2214,10 +2214,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f520ccdc-80b0-423b-bce7-cf0e733560d7 + - ee39fc73-b5f0-431d-850a-be6f6bb77daf status: 204 No Content code: 204 - duration: 88.518516ms + duration: 76.315ms - id: 45 request: proto: HTTP/1.1 @@ -2233,8 +2233,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/contact-points?project_id=a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=20c94887-1862-4c8f-b866-a6e8561281fb method: GET response: proto: HTTP/2.0 @@ -2242,20 +2242,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 111 + content_length: 108 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "111" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2263,10 +2263,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c979ecfd-c9fd-4195-bc31-21a0f7256804 + - d2ec078e-9f20-47ef-9cbb-3be27c812e59 status: 200 OK code: 200 - duration: 177.285756ms + duration: 103.063709ms - id: 46 request: proto: HTTP/1.1 @@ -2282,8 +2282,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/0923a514-b6c3-4845-85b0-9e65c515a783 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b4f906d7-7dae-4fe4-9f45-abff6e69847a method: DELETE response: proto: HTTP/2.0 @@ -2300,9 +2300,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2310,10 +2310,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0211e705-c0dc-438a-bca6-fb7c59cf9987 + - 3b7901a6-d687-4b54-94e0-8cbb5af1f45d status: 204 No Content code: 204 - duration: 235.918854ms + duration: 260.973834ms - id: 47 request: proto: HTTP/1.1 @@ -2325,13 +2325,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -2340,20 +2340,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 187 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://3190d101-7041-4ed7-894d-27eae39f5a12.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://c827424b-6f25-4050-af52-4b692491f6c0.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "187" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:29 GMT + - Wed, 11 Dec 2024 11:20:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2361,10 +2361,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 406d2538-2118-4c58-b9a7-6e49d38b8ab6 + - 00662974-9df3-4850-b8b7-ce2ac284b45e status: 200 OK code: 200 - duration: 234.611054ms + duration: 268.773583ms - id: 48 request: proto: HTTP/1.1 @@ -2380,8 +2380,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/5ba0ccc3-0d3c-4b4b-b083-bb82965ec28d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4053066d-d8e9-453e-b90d-cc29f1eb0149 method: DELETE response: proto: HTTP/2.0 @@ -2398,9 +2398,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:30 GMT + - Wed, 11 Dec 2024 11:20:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2408,10 +2408,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dd6223c1-ab90-4ae1-853c-14e9dcac9c95 + - c2188e5e-65d1-435d-89e5-aa69c21ee50d status: 204 No Content code: 204 - duration: 695.441402ms + duration: 707.598083ms - id: 49 request: proto: HTTP/1.1 @@ -2423,13 +2423,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a6d9deb7-246e-422f-bbc2-ec69db69b12c"}' + body: '{"project_id":"20c94887-1862-4c8f-b866-a6e8561281fb"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.0; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable method: POST response: @@ -2438,20 +2438,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 105 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "108" + - "105" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:30 GMT + - Wed, 11 Dec 2024 11:20:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2459,10 +2459,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3421dc9e-8fce-439b-9a25-f7c39a0b0d62 + - ed0bec93-b60b-4ca9-b04c-a140633d81ef status: 200 OK code: 200 - duration: 400.612714ms + duration: 334.509083ms - id: 50 request: proto: HTTP/1.1 @@ -2478,8 +2478,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/a6d9deb7-246e-422f-bbc2-ec69db69b12c + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/20c94887-1862-4c8f-b866-a6e8561281fb method: DELETE response: proto: HTTP/2.0 @@ -2496,9 +2496,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 19 Sep 2024 09:04:31 GMT + - Wed, 11 Dec 2024 11:20:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge03) + - Scaleway API Gateway (fr-par-2;edge01) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -2506,7 +2506,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3bcd8264-1858-46dd-9b33-90df2028a6e8 + - 23f51af9-d116-45a0-8683-ba8a5986ab06 status: 204 No Content code: 204 - duration: 1.274676545s + duration: 1.466510833s