From f9b80accfa97789611f37f9a8b3ee8e5d1f5d67f Mon Sep 17 00:00:00 2001 From: jremy Date: Thu, 1 Aug 2024 16:36:06 +0200 Subject: [PATCH 01/10] feat/cockpit migrate api v1 --- internal/services/cockpit/cockpit.go | 116 +- .../services/cockpit/cockpit_data_source.go | 54 +- .../cockpit/cockpit_data_source_test.go | 56 +- internal/services/cockpit/cockpit_test.go | 169 +- internal/services/cockpit/helpers_cockpit.go | 29 +- internal/services/cockpit/plan_data_source.go | 9 +- ...reate-with-multiple-contacts.cassette.yaml | 514 +-- ...r-create-with-single-contact.cassette.yaml | 402 +-- ...alert-manager-enable-disable.cassette.yaml | 424 +-- ...anager-update-single-contact.cassette.yaml | 486 +-- .../testdata/cockpit-basic.cassette.yaml | 2069 ++++++----- .../cockpit-premium-plan-by-id.cassette.yaml | 1279 +------ ...cockpit-premium-plan-by-name.cassette.yaml | 1374 ++++---- .../cockpit-source-basic.cassette.yaml | 136 +- ...ockpit-with-source-endpoints.cassette.yaml | 1877 ++++++++++ .../data-source-cockpit-basic.cassette.yaml | 3023 ++++++++++++----- ...ta-source-cockpit-plan-basic.cassette.yaml | 1296 ++++--- .../testdata/grafana-user-basic.cassette.yaml | 196 +- .../grafana-user-update.cassette.yaml | 324 +- .../testdata/token-basic.cassette.yaml | 164 +- .../testdata/token-no-scopes.cassette.yaml | 164 +- .../testdata/token-update.cassette.yaml | 302 +- internal/services/cockpit/testfuncs/sweep.go | 30 +- internal/services/cockpit/types.go | 57 +- 24 files changed, 8753 insertions(+), 5797 deletions(-) create mode 100644 internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index 1867c0c49..b5f8dda0c 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - cockpit "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" + "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" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" @@ -37,11 +37,13 @@ func ResourceCockpit() *schema.Resource { Type: schema.TypeString, Computed: true, Description: "The plan ID of the cockpit", + Deprecated: "Please use Name only", }, "endpoints": { Type: schema.TypeList, Computed: true, Description: "Endpoints", + Deprecated: "Please use `scaleway_cockpit_source` instead", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "metrics_url": { @@ -76,6 +78,7 @@ func ResourceCockpit() *schema.Resource { Type: schema.TypeList, Computed: true, Description: "Push_url", + Deprecated: "Please use `scaleway_cockpit_source` instead", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "push_metrics_url": { @@ -96,60 +99,59 @@ func ResourceCockpit() *schema.Resource { } func ResourceCockpitCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) + api, err := NewGlobalAPI(m) if err != nil { return diag.FromErr(err) } projectID := d.Get("project_id").(string) - - res, err := api.ActivateCockpit(&cockpit.ActivateCockpitRequest{ - ProjectID: projectID, - }, scw.WithContext(ctx)) - if err != nil { - return diag.FromErr(err) - } - if targetPlanI, ok := d.GetOk("plan"); ok { targetPlan := targetPlanI.(string) - plans, err := api.ListPlans(&cockpit.ListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) + plans, err := api.ListPlans(&cockpit.GlobalAPIListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) if err != nil { return diag.FromErr(err) } - var planID string + var planName string for _, plan := range plans.Plans { - if plan.Name.String() == targetPlan || plan.ID == targetPlan { - planID = plan.ID + if plan.Name.String() == targetPlan { + planName = plan.Name.String() break } } - if planID == "" { + if planName == "" { return diag.Errorf("plan %s not found", targetPlan) } - _, err = api.SelectPlan(&cockpit.SelectPlanRequest{ + _, err = api.SelectPlan(&cockpit.GlobalAPISelectPlanRequest{ ProjectID: projectID, - PlanID: planID, + PlanName: cockpit.PlanName(planName), }, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) } } - d.SetId(res.ProjectID) + d.SetId(projectID) return ResourceCockpitRead(ctx, d, m) } func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) + api, err := NewGlobalAPI(m) if err != nil { return diag.FromErr(err) } - res, err := waitForCockpit(ctx, api, d.Id(), d.Timeout(schema.TimeoutRead)) + regionalAPI, region, err := cockpitAPIWithRegion(d, m) + if err != nil { + return diag.FromErr(err) + } + + res, err := api.GetCurrentPlan(&cockpit.GlobalAPIGetCurrentPlanRequest{ + ProjectID: d.Get("project_id").(string), + }, scw.WithContext(ctx)) if err != nil { if httperrors.Is404(err) { d.SetId("") @@ -157,26 +159,40 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interfac } return diag.FromErr(err) } + _ = d.Set("project_id", d.Get("project_id").(string)) + _ = d.Set("plan", res.Name.String()) + _ = d.Set("plan_id", res.Name.String()) + + dataSourcesRes, err := regionalAPI.ListDataSources(&cockpit.RegionalAPIListDataSourcesRequest{ + Region: region, + ProjectID: d.Get("project_id").(string), + Origin: "external", + }, scw.WithContext(ctx), scw.WithAllPages()) + if err != nil { + return diag.FromErr(err) + } + + grafana, err := api.GetGrafana(&cockpit.GlobalAPIGetGrafanaRequest{ + ProjectID: d.Get("project_id").(string), + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL) - _ = d.Set("project_id", res.ProjectID) - _ = d.Set("plan_id", res.Plan.ID) - _ = d.Set("endpoints", flattenCockpitEndpoints(res.Endpoints)) - _ = d.Set("push_url", createCockpitPushURL(res.Endpoints)) + _ = d.Set("endpoints", endpoints) + _ = d.Set("push_url", createCockpitPushURL(endpoints)) return nil } func ResourceCockpitUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) + api, err := NewGlobalAPI(m) if err != nil { return diag.FromErr(err) } projectID := d.Id() - _, err = waitForCockpit(ctx, api, projectID, d.Timeout(schema.TimeoutDelete)) - if err != nil { - return diag.FromErr(err) - } if d.HasChange("plan") { targetPlan := cockpit.PlanNameFree.String() @@ -184,26 +200,26 @@ func ResourceCockpitUpdate(ctx context.Context, d *schema.ResourceData, m interf targetPlan = targetPlanI.(string) } - plans, err := api.ListPlans(&cockpit.ListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) + plans, err := api.ListPlans(&cockpit.GlobalAPIListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) if err != nil { return diag.FromErr(err) } - var planID string + var planName string for _, plan := range plans.Plans { - if plan.Name.String() == targetPlan || plan.ID == targetPlan { - planID = plan.ID + if plan.Name.String() == targetPlan { + planName = plan.Name.String() break } } - if planID == "" { + if planName == "" { return diag.Errorf("plan %s not found", targetPlan) } - _, err = api.SelectPlan(&cockpit.SelectPlanRequest{ + _, err = api.SelectPlan(&cockpit.GlobalAPISelectPlanRequest{ ProjectID: projectID, - PlanID: planID, + PlanName: cockpit.PlanName(planName), }, scw.WithContext(ctx)) if err != nil { return diag.FromErr(err) @@ -213,32 +229,6 @@ func ResourceCockpitUpdate(ctx context.Context, d *schema.ResourceData, m interf return ResourceCockpitRead(ctx, d, m) } -func ResourceCockpitDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) - if err != nil { - return diag.FromErr(err) - } - - _, err = waitForCockpit(ctx, api, d.Id(), d.Timeout(schema.TimeoutDelete)) - if err != nil { - if httperrors.Is404(err) { - d.SetId("") - return nil - } - return diag.FromErr(err) - } - - _, err = api.DeactivateCockpit(&cockpit.DeactivateCockpitRequest{ - ProjectID: d.Id(), - }, scw.WithContext(ctx)) - if err != nil && !httperrors.Is404(err) { - return diag.FromErr(err) - } - - _, err = waitForCockpit(ctx, api, d.Id(), d.Timeout(schema.TimeoutDelete)) - if err != nil && !httperrors.Is404(err) { - return diag.FromErr(err) - } - +func ResourceCockpitDelete(_ context.Context, _ *schema.ResourceData, _ interface{}) diag.Diagnostics { return nil } diff --git a/internal/services/cockpit/cockpit_data_source.go b/internal/services/cockpit/cockpit_data_source.go index b48b98ed2..3bc3fbbf7 100644 --- a/internal/services/cockpit/cockpit_data_source.go +++ b/internal/services/cockpit/cockpit_data_source.go @@ -5,7 +5,10 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" + "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/datasource" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" ) @@ -19,31 +22,64 @@ func DataSourceCockpit() *schema.Resource { Optional: true, ValidateFunc: verify.IsUUID(), } - delete(dsSchema, "plan") + dsSchema["plan"] = &schema.Schema{ + Type: schema.TypeString, + Computed: true, + Description: "The current plan of the cockpit project", + } return &schema.Resource{ - ReadContext: dataSourceCockpitRead, - Schema: dsSchema, + ReadContext: dataSourceCockpitRead, + Schema: dsSchema, + DeprecationMessage: "The 'scaleway_cockpit' data source is deprecated because it duplicates the functionality of the 'scaleway_cockpit' resource. Please use the 'scaleway_cockpit' resource instead.", } } func dataSourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) + api, err := NewGlobalAPI(m) + if err != nil { + return diag.FromErr(err) + } + regionalAPI, region, err := cockpitAPIWithRegion(d, m) if err != nil { return diag.FromErr(err) } projectID := d.Get("project_id").(string) - res, err := waitForCockpit(ctx, api, projectID, d.Timeout(schema.TimeoutRead)) + res, err := api.GetCurrentPlan(&cockpit.GlobalAPIGetCurrentPlanRequest{ + ProjectID: projectID, + }, scw.WithContext(ctx)) if err != nil { + if httperrors.Is404(err) { + d.SetId("") + return nil + } return diag.FromErr(err) } + _ = d.Set("project_id", d.Get("project_id").(string)) + _ = d.Set("plan", res.Name) + _ = d.Set("plan_id", res.Name) - d.SetId(res.ProjectID) - _ = d.Set("project_id", res.ProjectID) - _ = d.Set("plan_id", res.Plan.ID) - _ = d.Set("endpoints", flattenCockpitEndpoints(res.Endpoints)) + dataSourcesRes, err := regionalAPI.ListDataSources(&cockpit.RegionalAPIListDataSourcesRequest{ + Region: region, + ProjectID: d.Get("project_id").(string), + Origin: "external", + }, scw.WithContext(ctx), scw.WithAllPages()) + if err != nil { + return diag.FromErr(err) + } + + grafana, err := api.GetGrafana(&cockpit.GlobalAPIGetGrafanaRequest{ + ProjectID: d.Get("project_id").(string), + }, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL) + _ = d.Set("endpoints", endpoints) + _ = d.Set("push_url", createCockpitPushURL(endpoints)) + d.SetId(projectID) return nil } diff --git a/internal/services/cockpit/cockpit_data_source_test.go b/internal/services/cockpit/cockpit_data_source_test.go index 64aa0ad1e..52c3378a6 100644 --- a/internal/services/cockpit/cockpit_data_source_test.go +++ b/internal/services/cockpit/cockpit_data_source_test.go @@ -14,37 +14,63 @@ func TestAccDataSourceCockpit_Basic(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ PreCheck: func() { acctest.PreCheck(t) }, ProviderFactories: tt.ProviderFactories, - CheckDestroy: isCockpitDestroyed(tt), Steps: []resource.TestStep{ { Config: ` resource "scaleway_account_project" "project" { - name = "tf_tests_datasource_cockpit_project_basic" + name = "tf_tests_cockpit_project_premium" + } + + resource "scaleway_cockpit_source" "metrics" { + project_id = scaleway_account_project.project.id + name = "my-data-source-metrics" + type = "metrics" + } + + resource "scaleway_cockpit_source" "logs" { + project_id = scaleway_account_project.project.id + name = "my-data-source-logs" + type = "logs" + } + + resource "scaleway_cockpit_source" "traces" { + project_id = scaleway_account_project.project.id + name = "my-data-source-traces" + type = "traces" + } + + resource "scaleway_cockpit_alert_manager" "alert_manager" { + project_id = scaleway_account_project.project.id + enable_managed_alerts = true } + resource "scaleway_cockpit" "main" { project_id = scaleway_account_project.project.id + plan = "free" + depends_on = [ + scaleway_cockpit_source.metrics, + scaleway_cockpit_source.logs, + scaleway_cockpit_source.traces, + scaleway_cockpit_alert_manager.alert_manager, + ] } data "scaleway_cockpit" "selected" { project_id = scaleway_cockpit.main.project_id } - data "scaleway_cockpit_plan" "free" { - name = "free" - } + `, Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), - isCockpitPresent(tt, "data.scaleway_cockpit.selected"), - - resource.TestCheckResourceAttrPair("data.scaleway_cockpit.selected", "plan_id", "data.scaleway_cockpit_plan.free", "id"), - resource.TestCheckResourceAttrSet("data.scaleway_cockpit.selected", "endpoints.0.metrics_url"), - resource.TestCheckResourceAttrSet("data.scaleway_cockpit.selected", "endpoints.0.metrics_url"), - resource.TestCheckResourceAttrSet("data.scaleway_cockpit.selected", "endpoints.0.logs_url"), - resource.TestCheckResourceAttrSet("data.scaleway_cockpit.selected", "endpoints.0.alertmanager_url"), - resource.TestCheckResourceAttrSet("data.scaleway_cockpit.selected", "endpoints.0.grafana_url"), - resource.TestCheckResourceAttrPair("data.scaleway_cockpit.selected", "project_id", "scaleway_account_project.project", "id"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "free"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan_id", "free"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.metrics_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.logs_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.alertmanager_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.traces_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "push_url.0.push_logs_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "push_url.0.push_metrics_url"), ), }, }, diff --git a/internal/services/cockpit/cockpit_test.go b/internal/services/cockpit/cockpit_test.go index 4070488de..d814f48f3 100644 --- a/internal/services/cockpit/cockpit_test.go +++ b/internal/services/cockpit/cockpit_test.go @@ -1,15 +1,11 @@ package cockpit_test import ( - "fmt" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - cockpitSDK "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" - "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" - "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/cockpit" ) func TestAccCockpit_Basic(t *testing.T) { @@ -29,20 +25,14 @@ func TestAccCockpit_Basic(t *testing.T) { resource scaleway_cockpit main { project_id = scaleway_account_project.project.id + plan = "free" } `, Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan_id"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.metrics_url"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.logs_url"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.alertmanager_url"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.grafana_url"), - resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.traces_url"), - resource.TestCheckResourceAttr("scaleway_cockpit.main", "push_url.0.push_logs_url", "https://logs.cockpit.fr-par.scw.cloud/loki/api/v1/push"), - resource.TestCheckResourceAttr("scaleway_cockpit.main", "push_url.0.push_metrics_url", "https://metrics.cockpit.fr-par.scw.cloud/api/v1/push"), - resource.TestCheckResourceAttrPair("scaleway_cockpit.main", "project_id", "scaleway_account_project.project", "id"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan_id"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "free"), ), }, { @@ -50,26 +40,22 @@ func TestAccCockpit_Basic(t *testing.T) { resource "scaleway_account_project" "project" { name = "tf_tests_cockpit_project_basic" } - - data "scaleway_cockpit_plan" "premium" { - name = "premium" - } - resource "scaleway_cockpit" "main" { project_id = scaleway_account_project.project.id - plan = data.scaleway_cockpit_plan.premium.id + plan = "premium" } `, Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan"), resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "plan_id"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "premium"), ), }, }, }) } -func TestAccCockpit_PremiumPlanByID(t *testing.T) { +func TestAccCockpit_WithSourceEndpoints(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -82,124 +68,67 @@ func TestAccCockpit_PremiumPlanByID(t *testing.T) { Config: ` resource "scaleway_account_project" "project" { name = "tf_tests_cockpit_project_premium" - } - - data "scaleway_cockpit_plan" "premium" { - name = "premium" } - - resource scaleway_cockpit main { + + resource "scaleway_cockpit_source" "metrics" { project_id = scaleway_account_project.project.id - plan = data.scaleway_cockpit_plan.premium.id + name = "my-data-source-metrics" + type = "metrics" } - `, - Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), - ), - }, - { - Config: ` - resource "scaleway_account_project" "project" { - name = "tf_tests_cockpit_project_premium" - } - - data "scaleway_cockpit_plan" "free" { - name = "free" + + resource "scaleway_cockpit_source" "logs" { + project_id = scaleway_account_project.project.id + name = "my-data-source-logs" + type = "logs" } - - resource scaleway_cockpit main { + + resource "scaleway_cockpit_source" "traces" { project_id = scaleway_account_project.project.id + name = "my-data-source-traces" + type = "traces" } - `, - Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), - resource.TestCheckResourceAttrPair("scaleway_cockpit.main", "plan_id", "data.scaleway_cockpit_plan.free", "id"), - ), - }, - }, - }) -} - -func TestAccCockpit_PremiumPlanByName(t *testing.T) { - tt := acctest.NewTestTools(t) - defer tt.Cleanup() - - resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(t) }, - ProviderFactories: tt.ProviderFactories, - CheckDestroy: isCockpitDestroyed(tt), - Steps: []resource.TestStep{ - { - Config: ` - resource "scaleway_account_project" "project" { - name = "tf_tests_cockpit_project_premium" - } - - data "scaleway_cockpit_plan" "premium" { - name = "premium" + + resource "scaleway_cockpit_alert_manager" "alert_manager" { + project_id = scaleway_account_project.project.id + enable_managed_alerts = true } + resource "scaleway_cockpit_grafana_user" "main" { + project_id = scaleway_account_project.project.id + login = "cockpit_test" + role = "editor" + } + resource "scaleway_cockpit" "main" { project_id = scaleway_account_project.project.id plan = "premium" + depends_on = [ + scaleway_cockpit_source.metrics, + scaleway_cockpit_source.logs, + scaleway_cockpit_source.traces, + scaleway_cockpit_alert_manager.alert_manager, + scaleway_cockpit_grafana_user.main + ] } `, Check: resource.ComposeTestCheckFunc( - isCockpitPresent(tt, "scaleway_cockpit.main"), - resource.TestCheckResourceAttrPair("scaleway_cockpit.main", "plan_id", "data.scaleway_cockpit_plan.premium", "id"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan", "premium"), + resource.TestCheckResourceAttr("scaleway_cockpit.main", "plan_id", "premium"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.metrics_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.logs_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.alertmanager_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.grafana_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "endpoints.0.traces_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "push_url.0.push_logs_url"), + resource.TestCheckResourceAttrSet("scaleway_cockpit.main", "push_url.0.push_metrics_url"), ), }, }, }) } -func isCockpitPresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { - return func(state *terraform.State) error { - rs, ok := state.RootModule().Resources[n] - if !ok { - return fmt.Errorf("resource cockpit not found: %s", n) - } - - api, err := cockpit.NewAPI(tt.Meta) - if err != nil { - return err - } - - _, err = api.GetCockpit(&cockpitSDK.GetCockpitRequest{ - ProjectID: rs.Primary.ID, - }) - if err != nil { - return err - } - - return nil - } -} - -func isCockpitDestroyed(tt *acctest.TestTools) resource.TestCheckFunc { - return func(state *terraform.State) error { - for _, rs := range state.RootModule().Resources { - if rs.Type != "scaleway_cockpit" { - continue - } - - api, err := cockpit.NewAPI(tt.Meta) - if err != nil { - return err - } - - _, err = api.DeactivateCockpit(&cockpitSDK.DeactivateCockpitRequest{ - ProjectID: rs.Primary.ID, - }) - if err == nil { - return fmt.Errorf("cockpit (%s) still exists", rs.Primary.ID) - } - - if !httperrors.Is404(err) { - return err - } - } - +func isCockpitDestroyed(_ *acctest.TestTools) resource.TestCheckFunc { + return func(_ *terraform.State) error { return nil } } diff --git a/internal/services/cockpit/helpers_cockpit.go b/internal/services/cockpit/helpers_cockpit.go index 7be58e4fb..8fe6085b0 100644 --- a/internal/services/cockpit/helpers_cockpit.go +++ b/internal/services/cockpit/helpers_cockpit.go @@ -10,28 +10,18 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" - cockpitv1beta1 "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/scaleway-sdk-go/validation" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" "github.com/scaleway/terraform-provider-scaleway/v2/internal/meta" - "github.com/scaleway/terraform-provider-scaleway/v2/internal/transport" ) const ( - DefaultCockpitTimeout = 5 * time.Minute - defaultCockpitRetryInterval = 5 * time.Second - pathMetricsURL = "/api/v1/push" - pathLogsURL = "/loki/api/v1/push" + DefaultCockpitTimeout = 5 * time.Minute + pathMetricsURL = "/api/v1/push" + pathLogsURL = "/loki/api/v1/push" ) -// NewAPI returns a new cockpit API. -func NewAPI(m interface{}) (*cockpitv1beta1.API, error) { - api := cockpitv1beta1.NewAPI(meta.ExtractScwClient(m)) - - return api, nil -} - // NewGlobalAPI returns a new global cockpit API. func NewGlobalAPI(m interface{}) (*cockpit.GlobalAPI, error) { api := cockpit.NewGlobalAPI(meta.ExtractScwClient(m)) @@ -93,19 +83,6 @@ func parseCockpitID(id string) (projectID string, cockpitID string, err error) { return parts[0], parts[1], nil } -func waitForCockpit(ctx context.Context, api *cockpitv1beta1.API, projectID string, timeout time.Duration) (*cockpitv1beta1.Cockpit, error) { - retryInterval := defaultCockpitRetryInterval - if transport.DefaultWaitRetryInterval != nil { - retryInterval = *transport.DefaultWaitRetryInterval - } - - return api.WaitForCockpit(&cockpitv1beta1.WaitForCockpitRequest{ - ProjectID: projectID, - Timeout: scw.TimeDurationPtr(timeout), - RetryInterval: &retryInterval, - }, scw.WithContext(ctx)) -} - func cockpitTokenUpgradeV1SchemaType() cty.Type { return cty.Object(map[string]cty.Type{ "id": cty.String, diff --git a/internal/services/cockpit/plan_data_source.go b/internal/services/cockpit/plan_data_source.go index 08115b9ca..9d4b35b57 100644 --- a/internal/services/cockpit/plan_data_source.go +++ b/internal/services/cockpit/plan_data_source.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - cockpit "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" + "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" "github.com/scaleway/scaleway-sdk-go/scw" ) @@ -19,18 +19,19 @@ func DataSourcePlan() *schema.Resource { Required: true, }, }, + DeprecationMessage: "The 'Plan' data source is deprecated because it duplicates the functionality of the 'scaleway_cockpit' resource. Please use the 'scaleway_cockpit' resource instead.", } } func DataSourceCockpitPlanRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { - api, err := NewAPI(m) + api, err := NewGlobalAPI(m) if err != nil { return diag.FromErr(err) } name := d.Get("name").(string) - res, err := api.ListPlans(&cockpit.ListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) + res, err := api.ListPlans(&cockpit.GlobalAPIListPlansRequest{}, scw.WithContext(ctx), scw.WithAllPages()) if err != nil { return diag.FromErr(err) } @@ -47,7 +48,7 @@ func DataSourceCockpitPlanRead(ctx context.Context, d *schema.ResourceData, m in return diag.Errorf("could not find plan with name %s", name) } - d.SetId(plan.ID) + d.SetId(plan.Name.String()) _ = d.Set("name", plan.Name.String()) return nil diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml index 47cdb7ae7..a6a66de28 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + body: '{"name":"tf_test_project","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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:14.055610Z","description":"","id":"bf545347-0895-4fc9-981b-c044669654eb","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:14.055610Z"}' + body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c7a95552-556c-4233-8704-501e72524694 + - 31e35e0c-e23c-418c-aafc-fc32fc1bd7df status: 200 OK code: 200 - duration: 248.177802ms + duration: 246.158068ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:14.055610Z","description":"","id":"bf545347-0895-4fc9-981b-c044669654eb","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:14.055610Z"}' + body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eec9c287-450d-4d38-92db-92bb7b5e419e + - e342cf4f-8c6c-478f-b9f8-bdc748d301f4 status: 200 OK code: 200 - duration: 58.577504ms + duration: 58.876304ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb"}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) 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: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1537a14-15b2-4e94-9ee4-9d0e1791987a + - e0fe38c5-cb2b-45c4-9e1d-5fd87ab5740f status: 200 OK code: 200 - duration: 94.366738ms + duration: 104.689608ms - id: 3 request: proto: HTTP/1.1 @@ -163,13 +163,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb"}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f9a5089-d11e-45f4-b79b-eee0968bfb6d + - 170d1592-cb8e-4ff2-bfc5-e703847a4660 status: 200 OK code: 200 - duration: 69.126972ms + duration: 208.228798ms - id: 4 request: proto: HTTP/1.1 @@ -214,13 +214,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"initial1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff6eb53f-dc51-43ae-aa2b-21d8d28f34d3 + - a2b93a87-7a3a-48b6-a0fa-2ad8396234ce status: 200 OK code: 200 - duration: 349.62061ms + duration: 290.933944ms - id: 5 request: proto: HTTP/1.1 @@ -265,13 +265,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"initial2@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial2@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"initial2@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c15e97d-6f92-4b16-a392-671f5599cce7 + - 20d3d990-7511-4686-802e-8f2de220d3ae status: 200 OK code: 200 - duration: 255.049823ms + duration: 200.09324ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 131f152e-73e1-444c-93fd-31db6468e0e7 + - 14e531a9-d53d-4464-9d5a-75258eadd64f status: 200 OK code: 200 - duration: 51.473412ms + duration: 51.628135ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -378,20 +378,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 26291fba-1618-450f-8454-8e17dd4336d3 + - b31504a5-ed7a-453c-9ade-0d8e44fd77a9 status: 200 OK code: 200 - duration: 103.394235ms + duration: 94.316213ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -427,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46e4b93d-29b7-4f62-934f-e08c2225bcfa + - 9b79c746-6cd9-4a48-be97-9c99d76f3ec8 status: 200 OK code: 200 - duration: 163.443815ms + duration: 105.611888ms - id: 9 request: proto: HTTP/1.1 @@ -467,8 +467,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -476,20 +476,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:14.055610Z","description":"","id":"bf545347-0895-4fc9-981b-c044669654eb","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:14.055610Z"}' + body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -497,10 +497,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f8d5ee90-2374-4032-8185-f934da171d61 + - a62cd8b1-9412-4829-bcef-232d1ae93552 status: 200 OK code: 200 - duration: 41.840674ms + duration: 71.112145ms - id: 10 request: proto: HTTP/1.1 @@ -516,8 +516,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -525,20 +525,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -546,10 +546,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d3f2385b-d376-425d-9a76-b2b70614f430 + - 83d2ad37-303e-40f5-96bf-9decec3e2874 status: 200 OK code: 200 - duration: 45.747748ms + duration: 45.955342ms - id: 11 request: proto: HTTP/1.1 @@ -565,8 +565,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -574,20 +574,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -595,10 +595,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a194ae7-ecdf-49bd-ad5d-33cbd06a4239 + - 75bdee44-ae1d-476c-b4d8-916e4020e1fa status: 200 OK code: 200 - duration: 121.904893ms + duration: 110.045118ms - id: 12 request: proto: HTTP/1.1 @@ -614,8 +614,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -623,20 +623,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:14.055610Z","description":"","id":"bf545347-0895-4fc9-981b-c044669654eb","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:14.055610Z"}' + body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -644,10 +644,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e3cfe9d-c77f-4c9d-a773-acac574523c5 + - 15b070ae-800d-4e6f-ac69-d4f9d0afda24 status: 200 OK code: 200 - duration: 54.924232ms + duration: 58.546753ms - id: 13 request: proto: HTTP/1.1 @@ -663,8 +663,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -672,20 +672,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -693,10 +693,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d04ab708-f68d-4aa2-9166-1a7ff34fd54d + - 82e748e5-eb0f-4dd8-84c6-e4ee6c412bba status: 200 OK code: 200 - duration: 46.670788ms + duration: 51.100934ms - id: 14 request: proto: HTTP/1.1 @@ -712,8 +712,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -721,20 +721,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:17 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -742,10 +742,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1e5bbaa-260e-42d8-a2c5-ff2f06c62f40 + - c818cca4-3a17-4be9-89bc-dbddf7ae799f status: 200 OK code: 200 - duration: 80.613474ms + duration: 93.912358ms - id: 15 request: proto: HTTP/1.1 @@ -757,13 +757,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -781,9 +781,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a3b69f0e-ccfe-464b-9542-2b47faf6b33f + - 1eb5a59b-13c2-4f39-823e-eb7642bd5c4c status: 204 No Content code: 204 - duration: 343.584531ms + duration: 623.091204ms - id: 16 request: proto: HTTP/1.1 @@ -806,13 +806,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"initial2@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial2@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -830,9 +830,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -840,10 +840,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf64bc41-8c93-4b51-9ecc-e6a5ef336b0a + - 9c193612-564d-4a34-afa6-3ac272bae4e9 status: 204 No Content code: 204 - duration: 257.618803ms + duration: 300.154114ms - id: 17 request: proto: HTTP/1.1 @@ -855,13 +855,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -870,20 +870,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"updated1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6f3d71eb-d05b-4a91-aeae-e1318c12de45 + - 6d55c877-24e6-4d1e-ba11-cb95a82fca07 status: 200 OK code: 200 - duration: 196.185104ms + duration: 458.058742ms - id: 18 request: proto: HTTP/1.1 @@ -906,13 +906,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"updated2@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated2@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -921,20 +921,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"updated2@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -942,10 +942,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fef78589-6916-4170-9ae9-f78a09982a56 + - d5980116-c69b-4895-999a-167e36e89b55 status: 200 OK code: 200 - duration: 295.04332ms + duration: 440.882245ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -970,20 +970,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -991,10 +991,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1d29efa7-1d30-4a70-8068-aba979bd6215 + - a5811c8f-c99e-4da2-bf97-c27112255dc4 status: 200 OK code: 200 - duration: 55.431828ms + duration: 49.396097ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1019,20 +1019,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1040,10 +1040,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - decd1597-394b-4cf5-b1b7-00cc0b17e3b5 + - 5c6e0a5f-d451-45aa-8f01-f3853cc4e60e status: 200 OK code: 200 - duration: 101.944361ms + duration: 104.6658ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1068,20 +1068,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1089,10 +1089,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0dd62fda-a30a-4af7-9d24-e4ba95936694 + - 315f5e8f-dc83-460c-863c-2f48510e6a14 status: 200 OK code: 200 - duration: 179.798711ms + duration: 100.458883ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1117,20 +1117,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:14.055610Z","description":"","id":"bf545347-0895-4fc9-981b-c044669654eb","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:14.055610Z"}' + body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1138,10 +1138,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5b3de1f1-b4c5-42f1-93fe-a9121a6ff7b6 + - c2a2d1a5-6edd-449c-a27b-15919bdea11a status: 200 OK code: 200 - duration: 41.189011ms + duration: 54.694514ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1166,20 +1166,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1187,10 +1187,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f3c6b074-331b-4600-8de8-328bb11e04e0 + - 57063a30-6cd7-40c4-8190-3d8507c50a42 status: 200 OK code: 200 - duration: 57.068035ms + duration: 52.516066ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1215,20 +1215,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:20 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1236,10 +1236,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1e05405c-db65-43e2-be15-82653c2b3181 + - 08459a92-a064-4d67-a70a-e33249d9a7a8 status: 200 OK code: 200 - duration: 77.630092ms + duration: 110.847164ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1264,20 +1264,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 223 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "229" + - "223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:20 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c421a95f-749b-4721-82cb-65cb209b1e72 + - 89f65c23-e2cb-4ae9-ad5e-b98ea2c7c52d status: 200 OK code: 200 - duration: 114.071266ms + duration: 83.224119ms - id: 26 request: proto: HTTP/1.1 @@ -1300,13 +1300,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -1324,9 +1324,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 27bbf7ec-86b3-41b4-b009-d11a70b766a6 + - 28f96abf-098b-4c8b-b937-a514692b5a8b status: 204 No Content code: 204 - duration: 522.483769ms + duration: 192.42332ms - id: 27 request: proto: HTTP/1.1 @@ -1349,13 +1349,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb","email":{"to":"updated2@example.com"}}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated2@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -1373,9 +1373,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1383,10 +1383,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9ae9ec9-dfbf-41a5-9e13-5927273dbca6 + - cbaaa477-dbcf-4f79-9ab3-5c7ca55b9d79 status: 204 No Content code: 204 - duration: 249.62806ms + duration: 184.404292ms - id: 28 request: proto: HTTP/1.1 @@ -1398,13 +1398,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb"}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -1413,20 +1413,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1434,10 +1434,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 53456821-3d41-4c2d-b5b9-82a161c7006c + - b8e4fa5c-a5bf-4998-b8a7-4c13ca083931 status: 200 OK code: 200 - duration: 49.421699ms + duration: 239.615454ms - id: 29 request: proto: HTTP/1.1 @@ -1449,13 +1449,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"bf545347-0895-4fc9-981b-c044669654eb"}' + body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable method: POST response: @@ -1464,20 +1464,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: - - Wed, 22 May 2024 12:42:21 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1485,10 +1485,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 951c383d-e268-452b-9853-7aa3681c2700 + - ff33e34f-3077-4672-98ea-e9871cd0360c status: 200 OK code: 200 - duration: 176.985388ms + duration: 281.967338ms - id: 30 request: proto: HTTP/1.1 @@ -1504,8 +1504,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: DELETE response: proto: HTTP/2.0 @@ -1522,9 +1522,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:23 GMT + - Thu, 01 Aug 2024 13:53:12 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1532,10 +1532,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5bd062f2-29d0-443e-96a0-51a9995cdcf4 + - 4f92a1e9-1729-4649-ad91-0195bb7cc8f9 status: 204 No Content code: 204 - duration: 1.189821195s + duration: 1.252646672s - id: 31 request: proto: HTTP/1.1 @@ -1551,8 +1551,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=bf545347-0895-4fc9-981b-c044669654eb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 method: GET response: proto: HTTP/2.0 @@ -1571,9 +1571,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:23 GMT + - Thu, 01 Aug 2024 13:53:13 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1581,7 +1581,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2825a4a2-6e95-4252-aa9e-6b5bfbcf67cb + - cc6bc139-4d67-4a8a-9b4d-0087b06373eb status: 403 Forbidden code: 403 - duration: 54.157505ms + duration: 51.540577ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml index 394172991..d2837258d 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + body: '{"name":"tf_test_project","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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) 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: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:40:51.626538Z","description":"","id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:40:51.626538Z"}' + body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:51 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae99895f-3e45-4999-b612-02ae07f83ed1 + - aba6a08e-9210-4403-a190-b1b6f6cabecd status: 200 OK code: 200 - duration: 272.246203ms + duration: 1.137620478s - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -76,18 +76,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:40:51.626538Z","description":"","id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:40:51.626538Z"}' + body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:51 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0d38ef0a-c047-4733-bee6-a0e08a7e952b + - 099146a2-a7ab-45ff-ad25-0146cac7d3a3 status: 200 OK code: 200 - duration: 49.196723ms + duration: 57.411301ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d"}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/enable method: POST response: @@ -127,18 +127,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e0deb8dd-b6f3-42a6-9935-0d935c04b5b0 + - 46d55ee9-bff4-4d50-89ba-2f28fdcca612 status: 200 OK code: 200 - duration: 91.938019ms + duration: 215.325903ms - id: 3 request: proto: HTTP/1.1 @@ -163,13 +163,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d"}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: @@ -178,18 +178,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6e389b7a-2fae-4c6a-a1bd-2dbf0efa1d23 + - 12b7dfa7-2f3d-4e11-bddd-15294ade1ab7 status: 200 OK code: 200 - duration: 85.680071ms + duration: 553.528993ms - id: 4 request: proto: HTTP/1.1 @@ -214,13 +214,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","email":{"to":"initial@example.com"}}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"initial@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -229,18 +229,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 56 uncompressed: false body: '{"email":{"to":"initial@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "56" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e53cc03-620c-4352-948b-617aa098327c + - c6c8c090-bd1e-4bb3-94ca-5f868066ccfc status: 200 OK code: 200 - duration: 549.735551ms + duration: 451.417072ms - id: 5 request: proto: HTTP/1.1 @@ -269,8 +269,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -278,18 +278,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -299,10 +299,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f995c199-6ceb-4e2f-8572-f31362c1422f + - b73c9f58-5791-4e55-b5f0-58c29a81636d status: 200 OK code: 200 - duration: 56.000168ms + duration: 54.748537ms - id: 6 request: proto: HTTP/1.1 @@ -318,8 +318,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -327,18 +327,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -348,10 +348,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a98266c1-b952-4c79-b255-3c0838d7cd19 + - 75372489-f26b-4544-ba6e-e01c0c62273b status: 200 OK code: 200 - duration: 166.947593ms + duration: 146.053979ms - id: 7 request: proto: HTTP/1.1 @@ -367,8 +367,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -376,18 +376,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -397,10 +397,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 25ccf442-349f-484b-91bd-f6a5d103f110 + - b56036d5-5dba-441f-b9c6-e4ff8cf353d2 status: 200 OK code: 200 - duration: 94.130354ms + duration: 102.025589ms - id: 8 request: proto: HTTP/1.1 @@ -416,8 +416,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -425,18 +425,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:40:51.626538Z","description":"","id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:40:51.626538Z"}' + body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -446,10 +446,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c5b722c-575f-4615-af01-6f1af4e19d13 + - 354335bc-0b55-490d-980b-af7a76802e76 status: 200 OK code: 200 - duration: 54.767063ms + duration: 61.173264ms - id: 9 request: proto: HTTP/1.1 @@ -465,8 +465,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -474,18 +474,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -495,10 +495,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4491f05b-d18d-487a-864f-27e8412acf5e + - d61a5f8d-204f-42f7-aa51-c32f7b479ccf status: 200 OK code: 200 - duration: 44.887707ms + duration: 49.289298ms - id: 10 request: proto: HTTP/1.1 @@ -514,8 +514,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -523,18 +523,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -544,10 +544,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a010943-a998-4b2f-81c9-b5caf4f00466 + - 41e772c0-b9a6-4e0b-ba6e-9ce4b7021cf6 status: 200 OK code: 200 - duration: 149.60835ms + duration: 91.369761ms - id: 11 request: proto: HTTP/1.1 @@ -563,8 +563,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -572,18 +572,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:40:51.626538Z","description":"","id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:40:51.626538Z"}' + body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -593,10 +593,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 45ff78cb-4c19-46dc-a59e-f8fc2fa090d8 + - 956a160b-08e3-4b4e-8016-fc92f8643a5d status: 200 OK code: 200 - duration: 47.778448ms + duration: 53.506229ms - id: 12 request: proto: HTTP/1.1 @@ -612,8 +612,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -621,18 +621,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -642,10 +642,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 59cae494-ba07-401b-b4f8-9957972d14aa + - 4a257b60-a7ac-4ed9-8999-23295b49e11c status: 200 OK code: 200 - duration: 35.920508ms + duration: 51.938811ms - id: 13 request: proto: HTTP/1.1 @@ -661,8 +661,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -670,18 +670,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -691,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ed24dff4-ac8c-417a-9b51-6f27165b6263 + - 97ab76b7-b59a-4621-8a51-42c31c35c103 status: 200 OK code: 200 - duration: 101.506309ms + duration: 104.383294ms - id: 14 request: proto: HTTP/1.1 @@ -706,13 +706,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","email":{"to":"initial@example.com"}}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"initial@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -730,7 +730,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:55 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -740,10 +740,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e2160e60-dbb3-40cf-a285-e95bf1ef2e1c + - 86ee25a9-828f-45e2-85b4-12f660db3c9a status: 204 No Content code: 204 - duration: 192.794078ms + duration: 330.8068ms - id: 15 request: proto: HTTP/1.1 @@ -755,13 +755,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","email":{"to":"updated@example.com"}}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"updated@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -770,18 +770,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 56 uncompressed: false body: '{"email":{"to":"updated@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "56" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 28a1165a-900c-494f-94ec-a2941ad73a08 + - f6bfe3c6-6638-40d1-8521-e917b7510cb2 status: 200 OK code: 200 - duration: 403.659466ms + duration: 402.588668ms - id: 16 request: proto: HTTP/1.1 @@ -810,8 +810,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -819,18 +819,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -840,10 +840,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 243cea81-5d64-4247-a033-6a3c60835463 + - e998f759-8a7d-49b7-8704-ef5398b44e7e status: 200 OK code: 200 - duration: 54.88508ms + duration: 48.325592ms - id: 17 request: proto: HTTP/1.1 @@ -859,8 +859,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -868,18 +868,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -889,10 +889,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9fb1bff3-8ea5-4d8f-b11e-cf7c2553b1e9 + - 10c490de-6b7e-4202-856b-73e44eb2f318 status: 200 OK code: 200 - duration: 101.939693ms + duration: 141.196151ms - id: 18 request: proto: HTTP/1.1 @@ -908,8 +908,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -917,18 +917,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -938,10 +938,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0f4ba24d-ec0c-4f91-926d-b5d10be3ba46 + - 8a6e529e-51f3-4f8e-81d8-662cdc428724 status: 200 OK code: 200 - duration: 162.838196ms + duration: 1.124669029s - id: 19 request: proto: HTTP/1.1 @@ -957,8 +957,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -966,18 +966,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:40:51.626538Z","description":"","id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:40:51.626538Z"}' + body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -987,10 +987,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a044861c-78e4-4509-96d6-71fb91c644ee + - eab61b69-941b-4dc7-aaa8-5c6e3cacc2e8 status: 200 OK code: 200 - duration: 53.877364ms + duration: 50.160226ms - id: 20 request: proto: HTTP/1.1 @@ -1006,8 +1006,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -1015,18 +1015,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1036,10 +1036,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f82cf205-24e3-470c-9388-f29115e34efe + - 4a824ab3-0c39-49a1-bb1f-1993da1511ca status: 200 OK code: 200 - duration: 46.663234ms + duration: 44.615955ms - id: 21 request: proto: HTTP/1.1 @@ -1055,8 +1055,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -1064,18 +1064,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1085,10 +1085,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6f2a11fc-74c4-474a-899b-e13ab10b3518 + - d11ebcc8-e13f-4343-810e-ff2c37680ef7 status: 200 OK code: 200 - duration: 149.342836ms + duration: 139.960808ms - id: 22 request: proto: HTTP/1.1 @@ -1104,8 +1104,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -1113,18 +1113,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 168 + content_length: 164 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "168" + - "164" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:58 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1134,10 +1134,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a670770-ff67-4eb9-be9c-8ac8d771c35c + - f06c245d-1f7c-429e-b973-8775f29cd834 status: 200 OK code: 200 - duration: 133.911285ms + duration: 88.336191ms - id: 23 request: proto: HTTP/1.1 @@ -1149,13 +1149,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d","email":{"to":"updated@example.com"}}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"updated@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -1173,7 +1173,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41:05 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c5fef7b-6bef-4dee-803a-74e9c5d2ece5 + - e9d02a32-9b07-4eb9-ad9a-9b9e672c573e status: 204 No Content code: 204 - duration: 7.149486853s + duration: 297.651207ms - id: 24 request: proto: HTTP/1.1 @@ -1198,13 +1198,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d"}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -1213,18 +1213,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41:05 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1234,10 +1234,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 48f09fc2-c3c1-47e9-ad72-f82be60c790e + - 4e15c1c7-a550-4aca-ab37-6c55d0ec38df status: 200 OK code: 200 - duration: 55.357598ms + duration: 195.824996ms - id: 25 request: proto: HTTP/1.1 @@ -1249,13 +1249,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d"}' + body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable method: POST response: @@ -1264,18 +1264,18 @@ 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: - - Wed, 22 May 2024 12:41:05 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c523fc25-bf99-4f30-8606-80c8eebb7b23 + - 8176eed3-4ab5-4633-8cbd-c9f7efa93d8c status: 200 OK code: 200 - duration: 172.987254ms + duration: 259.512432ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 method: DELETE response: proto: HTTP/2.0 @@ -1322,7 +1322,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41:06 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1332,10 +1332,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9d7a992-907a-4092-94a5-f660fac3ebc4 + - 5eb2c044-570a-44ee-bc76-69098ad3f302 status: 204 No Content code: 204 - duration: 1.31203248s + duration: 1.217883832s - id: 27 request: proto: HTTP/1.1 @@ -1351,8 +1351,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=0fe71b2c-e3ae-46b9-a9d4-e04e7733c23d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 method: GET response: proto: HTTP/2.0 @@ -1371,7 +1371,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41:06 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: @@ -1381,7 +1381,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8bbb062c-7ae5-46af-9b47-a9c966ec36b8 + - 26ea0330-2a3c-4e91-8a94-bf8fd0a1de7c status: 403 Forbidden code: 403 - duration: 48.303558ms + duration: 49.739583ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml index 5e3a34051..b8e2772b6 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + body: '{"name":"tf_test_project","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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:56.701438Z","description":"","id":"b409249b-233c-471f-9eca-e8489b2ac7d3","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:56.701438Z"}' + body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:56 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f88bb622-1538-4937-9cbf-c94df2411774 + - 9621856a-5080-4e10-8597-2088322b7064 status: 200 OK code: 200 - duration: 240.599746ms + duration: 1.214730464s - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:56.701438Z","description":"","id":"b409249b-233c-471f-9eca-e8489b2ac7d3","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:56.701438Z"}' + body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:56 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a1836db9-6948-4463-a570-a7c9cd170ff8 + - 1daf4a67-95df-41d4-b2c4-d77a75a3f2c4 status: 200 OK code: 200 - duration: 32.592692ms + duration: 61.397986ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"b409249b-233c-471f-9eca-e8489b2ac7d3"}' + body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) 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: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b07588bc-aabc-42ba-adc3-3e6828036f3f + - f79276ec-0d38-4331-a711-6cce7b9ff761 status: 200 OK code: 200 - duration: 91.692971ms + duration: 126.476469ms - id: 3 request: proto: HTTP/1.1 @@ -163,13 +163,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"b409249b-233c-471f-9eca-e8489b2ac7d3"}' + body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 57b355fc-6f94-4510-a988-6a818ae038e0 + - 96761787-b917-49ac-a89e-e9459812644b status: 200 OK code: 200 - duration: 53.638871ms + duration: 538.775171ms - id: 4 request: proto: HTTP/1.1 @@ -218,8 +218,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -227,20 +227,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -248,10 +248,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c438beb-6011-40d4-a791-5e213d094b61 + - ec9baa55-ecfb-4f86-8ee2-db43780ba77f status: 200 OK code: 200 - duration: 47.323107ms + duration: 103.429882ms - id: 5 request: proto: HTTP/1.1 @@ -267,8 +267,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -276,20 +276,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: - - Wed, 22 May 2024 12:42:57 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -297,10 +297,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11189d88-3070-4a94-96dd-f4d4dafd9215 + - d41d1d36-66b6-4291-83f4-693c6d97921f status: 200 OK code: 200 - duration: 120.390369ms + duration: 96.190607ms - id: 6 request: proto: HTTP/1.1 @@ -316,8 +316,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -325,20 +325,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -346,10 +346,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6108a3d6-cd0d-439d-9162-2d685055b61d + - e6f4dd40-5038-4b80-9a98-511368843007 status: 200 OK code: 200 - duration: 64.157756ms + duration: 143.132186ms - id: 7 request: proto: HTTP/1.1 @@ -365,8 +365,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -374,20 +374,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:56.701438Z","description":"","id":"b409249b-233c-471f-9eca-e8489b2ac7d3","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:56.701438Z"}' + body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -395,10 +395,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aa94c888-387f-463d-b5bb-0bb478ca7aa8 + - add95a97-41ea-4486-a403-3f8b861335b9 status: 200 OK code: 200 - duration: 38.901031ms + duration: 73.678281ms - id: 8 request: proto: HTTP/1.1 @@ -414,8 +414,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -423,20 +423,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -444,10 +444,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 500d3aba-a726-4b00-b90e-7c699fa78bab + - 34d20929-e03e-4136-accc-a25a84edb5b9 status: 200 OK code: 200 - duration: 47.3001ms + duration: 57.39701ms - id: 9 request: proto: HTTP/1.1 @@ -463,8 +463,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -472,20 +472,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: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -493,10 +493,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46856ed3-0019-4f4c-8574-17133e3aeb57 + - 8fb49b2f-9d2a-4b9d-9f23-86daa987b681 status: 200 OK code: 200 - duration: 99.823326ms + duration: 93.059587ms - id: 10 request: proto: HTTP/1.1 @@ -512,8 +512,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -521,20 +521,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:56.701438Z","description":"","id":"b409249b-233c-471f-9eca-e8489b2ac7d3","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:56.701438Z"}' + body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -542,10 +542,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5423b1ed-1caa-4203-8933-3255595d2a71 + - dedb7b0b-7a73-4080-adfc-2f933e2acc7f status: 200 OK code: 200 - duration: 42.885046ms + duration: 63.622887ms - id: 11 request: proto: HTTP/1.1 @@ -561,8 +561,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -570,20 +570,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -591,10 +591,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 212a002e-e70e-422a-9d7f-7d26ad6714dc + - b6fcf409-7538-4939-8049-c8a77c1439b8 status: 200 OK code: 200 - duration: 50.078223ms + duration: 46.368072ms - id: 12 request: proto: HTTP/1.1 @@ -610,8 +610,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -619,20 +619,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: - - Wed, 22 May 2024 12:42:58 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -640,10 +640,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - afdfc7f7-92cc-4ab6-ae26-86d9bbd47a98 + - 6433649c-86fe-453b-bfea-881933aade5c status: 200 OK code: 200 - duration: 82.803505ms + duration: 99.746058ms - id: 13 request: proto: HTTP/1.1 @@ -655,13 +655,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"b409249b-233c-471f-9eca-e8489b2ac7d3"}' + body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -670,20 +670,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:59 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -691,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7720b4bc-8a4e-438c-90a6-788ca36e0c23 + - ff9a71f3-3cb0-4120-8683-66a716f15a2d status: 200 OK code: 200 - duration: 66.011996ms + duration: 216.003792ms - id: 14 request: proto: HTTP/1.1 @@ -710,8 +710,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -719,20 +719,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:59 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -740,10 +740,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63c0b56c-1a70-462b-8ee5-4057c76324c4 + - 0fabd56e-9729-4af9-bf9a-cdc26ebc3417 status: 200 OK code: 200 - duration: 49.427945ms + duration: 49.638028ms - id: 15 request: proto: HTTP/1.1 @@ -759,8 +759,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -768,20 +768,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: - - Wed, 22 May 2024 12:42:59 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -789,10 +789,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a06e928-03a5-48db-a2ba-31a6fa51790f + - 02494d09-e2fd-4590-b09e-e299a4ec6742 status: 200 OK code: 200 - duration: 125.494456ms + duration: 99.488351ms - id: 16 request: proto: HTTP/1.1 @@ -808,8 +808,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -817,20 +817,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -838,10 +838,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97b3a0e2-5399-4301-816b-f0ba04b4b3a2 + - 5100084b-cd3c-40db-8d20-b76c587cb1ae status: 200 OK code: 200 - duration: 57.035052ms + duration: 62.015072ms - id: 17 request: proto: HTTP/1.1 @@ -857,8 +857,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -866,20 +866,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:56.701438Z","description":"","id":"b409249b-233c-471f-9eca-e8489b2ac7d3","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:56.701438Z"}' + body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -887,10 +887,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb2a93c2-2704-4a82-b79a-b973b723b312 + - 30b0f522-114c-44de-881b-9751d85893c6 status: 200 OK code: 200 - duration: 40.430492ms + duration: 64.11925ms - id: 18 request: proto: HTTP/1.1 @@ -906,8 +906,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -915,20 +915,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -936,10 +936,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 64a69e8f-0491-4de0-b8cf-82701d669709 + - b42b6211-94e8-4847-ae2e-7e4f9a294758 status: 200 OK code: 200 - duration: 39.385519ms + duration: 57.78256ms - id: 19 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -964,20 +964,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: - - Wed, 22 May 2024 12:43:00 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -985,10 +985,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bb5decd6-c213-4a0a-9844-ec8343b7b2c9 + - 787e21b5-4e28-4bbe-847f-19edaa2ed6b3 status: 200 OK code: 200 - duration: 79.195034ms + duration: 429.927356ms - id: 20 request: proto: HTTP/1.1 @@ -1004,8 +1004,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -1013,20 +1013,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: - - Wed, 22 May 2024 12:43:01 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1034,10 +1034,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d292b483-6550-46a1-a73e-af59c3a91f14 + - 20765f3e-d2cc-4c67-ac2c-c8fae6824205 status: 200 OK code: 200 - duration: 110.75728ms + duration: 391.280878ms - id: 21 request: proto: HTTP/1.1 @@ -1049,13 +1049,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"b409249b-233c-471f-9eca-e8489b2ac7d3"}' + body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -1064,20 +1064,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:01 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1085,10 +1085,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b030ce7e-8efc-44f9-8b23-91de0004117a + - c2d828f8-8160-4666-b429-39b39ceb5870 status: 200 OK code: 200 - duration: 55.039145ms + duration: 226.005666ms - id: 22 request: proto: HTTP/1.1 @@ -1100,13 +1100,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"b409249b-233c-471f-9eca-e8489b2ac7d3"}' + body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable method: POST response: @@ -1115,20 +1115,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: - - Wed, 22 May 2024 12:43:01 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - de076723-caf7-4d33-852c-62cbb534adcc + - 072c1424-960b-4c01-87dd-340ad0a95b25 status: 200 OK code: 200 - duration: 119.268293ms + duration: 272.880706ms - id: 23 request: proto: HTTP/1.1 @@ -1155,8 +1155,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: DELETE response: proto: HTTP/2.0 @@ -1173,9 +1173,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:03 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7b125eab-edb1-4108-ada2-f30921db2218 + - dc8f961d-372e-4aad-9c45-eda00c383f2a status: 204 No Content code: 204 - duration: 1.207594709s + duration: 1.253276416s - id: 24 request: proto: HTTP/1.1 @@ -1202,8 +1202,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=b409249b-233c-471f-9eca-e8489b2ac7d3 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a method: GET response: proto: HTTP/2.0 @@ -1222,9 +1222,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:03 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1232,7 +1232,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bae734bd-6eaf-45ad-99f9-5a59997eba10 + - e75ffc5f-92f5-4da0-bef9-25e251931beb status: 403 Forbidden code: 403 - duration: 43.551462ms + duration: 44.507724ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml index 1a3ec7e49..9eb28483b 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + body: '{"name":"tf_test_project","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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:34.282594Z","description":"","id":"719e7356-2929-485e-837b-934b92ff547b","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:34.282594Z"}' + body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Thu, 01 Aug 2024 13:53:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 602d438b-ba70-4b00-9395-5ab71283fbe9 + - 4c87211b-fcb7-469a-b24c-1d8251155285 status: 200 OK code: 200 - duration: 240.062767ms + duration: 1.094481749s - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:34.282594Z","description":"","id":"719e7356-2929-485e-837b-934b92ff547b","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:34.282594Z"}' + body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63dd17b2-732e-4a35-8eb9-7deb4c1e9191 + - 74d517f7-63a6-445c-8994-84da097f3ef7 status: 200 OK code: 200 - duration: 43.54418ms + duration: 61.361178ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b"}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) 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: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39bf3465-eb77-494b-85bb-77c6ca6f7738 + - 8025b86e-d87f-4600-be6b-edce9316a847 status: 200 OK code: 200 - duration: 107.158774ms + duration: 153.907884ms - id: 3 request: proto: HTTP/1.1 @@ -163,13 +163,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b"}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 060e8564-c7c2-484f-b3e6-d1dfae93e857 + - d1f4bea7-9ea9-446b-98a6-402ac55bfc85 status: 200 OK code: 200 - duration: 65.589698ms + duration: 521.076611ms - id: 4 request: proto: HTTP/1.1 @@ -214,13 +214,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"notupdated@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"notupdated@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 60 + content_length: 59 uncompressed: false body: '{"email":{"to":"notupdated@example.com"},"region":"fr-par"}' headers: Content-Length: - - "60" + - "59" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fb136d4f-9c90-48d0-a28b-c7bd38c2faed + - 7ccf59f9-867c-4900-aee2-de4528f031b8 status: 200 OK code: 200 - duration: 523.909412ms + duration: 583.712927ms - id: 5 request: proto: HTTP/1.1 @@ -265,13 +265,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"initial1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6611e43-2c07-4cad-a720-3d266b25ad25 + - 6919f688-85a9-4cf8-9c5d-85f56b6bff10 status: 200 OK code: 200 - duration: 398.09631ms + duration: 974.869859ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 22244f0c-8b6f-4d9a-85bc-d25ccc238b31 + - 55413536-89e6-4857-bfd3-c01ce310b9c2 status: 200 OK code: 200 - duration: 48.392523ms + duration: 42.921726ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -378,20 +378,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 276edd8a-3166-4076-944a-8c066347ae7a + - 34a9a4d6-359a-4eb3-b0eb-953aa4873e91 status: 200 OK code: 200 - duration: 77.52606ms + duration: 97.137735ms - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -427,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a4b2e109-126f-454c-ac9b-1afe7cab8517 + - 06de482c-8543-4758-adcf-c785ef700824 status: 200 OK code: 200 - duration: 104.774926ms + duration: 99.89962ms - id: 9 request: proto: HTTP/1.1 @@ -467,8 +467,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -476,20 +476,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:34.282594Z","description":"","id":"719e7356-2929-485e-837b-934b92ff547b","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:34.282594Z"}' + body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -497,10 +497,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0eef9243-8b79-454d-aa28-29670ff169d5 + - 7fe7b70b-2220-4fb7-83c8-d322b7a6da06 status: 200 OK code: 200 - duration: 46.051182ms + duration: 52.454794ms - id: 10 request: proto: HTTP/1.1 @@ -516,8 +516,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -525,20 +525,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -546,10 +546,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 242b41cd-2e3d-40f7-b788-f2b37f176b92 + - e9121cac-57bb-4a22-bb1f-0d58798e0a63 status: 200 OK code: 200 - duration: 47.218657ms + duration: 49.891249ms - id: 11 request: proto: HTTP/1.1 @@ -565,8 +565,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -574,20 +574,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -595,10 +595,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f234c9d-97c2-4a09-a23c-eaa1b76e4f1f + - c54c6b63-7650-4364-9c4a-2ce09a860a48 status: 200 OK code: 200 - duration: 103.932675ms + duration: 122.416871ms - id: 12 request: proto: HTTP/1.1 @@ -614,8 +614,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -623,20 +623,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:34.282594Z","description":"","id":"719e7356-2929-485e-837b-934b92ff547b","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:34.282594Z"}' + body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -644,10 +644,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7e5080ca-9add-4e41-b0ba-c823f677e18b + - 2e2c8249-7bcd-46d7-9bab-3adb69b9553f status: 200 OK code: 200 - duration: 52.650654ms + duration: 57.345573ms - id: 13 request: proto: HTTP/1.1 @@ -663,8 +663,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -672,20 +672,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -693,10 +693,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3ae7e02a-bb65-4e36-bfd2-f568b9021375 + - f1cb723a-3156-4dea-a2c3-c33360815f12 status: 200 OK code: 200 - duration: 46.010952ms + duration: 48.820116ms - id: 14 request: proto: HTTP/1.1 @@ -712,8 +712,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -721,20 +721,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -742,10 +742,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 890b965e-e8a6-44d6-9b04-0bc4f2cd708d + - 51d3b6a7-795d-400e-a6f8-517959e13199 status: 200 OK code: 200 - duration: 69.951681ms + duration: 112.438509ms - id: 15 request: proto: HTTP/1.1 @@ -757,13 +757,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -781,9 +781,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:38 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e72769f-e3b4-4242-8179-f90f0d0801a0 + - a661d3cf-494f-4b06-9f04-2b5929c1325a status: 204 No Content code: 204 - duration: 242.698397ms + duration: 992.241242ms - id: 16 request: proto: HTTP/1.1 @@ -806,13 +806,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points method: POST response: @@ -821,20 +821,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 58 + content_length: 57 uncompressed: false body: '{"email":{"to":"updated1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "58" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:41 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -842,10 +842,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 270c85d3-adce-4cc7-a584-3ee96be85f1f + - 1a4437a4-b556-41f6-bc3a-c42a9e509c1b status: 200 OK code: 200 - duration: 2.799652083s + duration: 277.51308ms - id: 17 request: proto: HTTP/1.1 @@ -861,8 +861,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -870,20 +870,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:41 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a4701b9-a711-4261-8b2b-e42498797d0b + - 87b42516-98e4-4228-94e1-dd6574d34326 status: 200 OK code: 200 - duration: 49.657002ms + duration: 47.617058ms - id: 18 request: proto: HTTP/1.1 @@ -910,8 +910,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -919,20 +919,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -940,10 +940,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21190ae6-dabd-4474-8d8f-a4ca643a52fc + - 861460a5-9737-405a-b118-ee1b25378dfc status: 200 OK code: 200 - duration: 810.059377ms + duration: 199.133926ms - id: 19 request: proto: HTTP/1.1 @@ -959,8 +959,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -968,20 +968,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -989,10 +989,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8835a0c5-9378-4417-9ac8-4713f54a82d8 + - 5eaf58ad-ffa8-4376-bb3b-a1985149839c status: 200 OK code: 200 - duration: 107.427205ms + duration: 212.809307ms - id: 20 request: proto: HTTP/1.1 @@ -1008,8 +1008,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -1017,20 +1017,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 235 + content_length: 230 uncompressed: false - body: '{"created_at":"2024-05-22T12:42:34.282594Z","description":"","id":"719e7356-2929-485e-837b-934b92ff547b","name":"tf_test_project","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-05-22T12:42:34.282594Z"}' + body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' headers: Content-Length: - - "235" + - "230" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1038,10 +1038,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c6ea3ce-efe0-4e29-8edd-90372afeeac0 + - a80d8ea5-2ee9-4400-a153-6f345047478c status: 200 OK code: 200 - duration: 35.06513ms + duration: 66.506678ms - id: 21 request: proto: HTTP/1.1 @@ -1057,8 +1057,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -1066,20 +1066,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:43 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1087,10 +1087,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e5069d2-17d1-4d19-a642-adf11432f88a + - b8dcee55-2864-4fc6-b145-0606a16fa6d7 status: 200 OK code: 200 - duration: 44.501327ms + duration: 57.682437ms - id: 22 request: proto: HTTP/1.1 @@ -1106,8 +1106,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -1115,20 +1115,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:43 GMT + - Thu, 01 Aug 2024 13:53:09 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d8bf1d64-f60d-45e3-87cb-2e4204c89ad8 + - 7ed123e7-25cc-4aee-8782-51ecb7bc7f77 status: 200 OK code: 200 - duration: 118.175699ms + duration: 85.103047ms - id: 23 request: proto: HTTP/1.1 @@ -1155,8 +1155,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -1164,20 +1164,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 231 + content_length: 225 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "231" + - "225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1185,10 +1185,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7708881d-a54d-4413-be68-549d0e17b020 + - c8c2cea6-2e75-4f78-94a1-cabca8140355 status: 200 OK code: 200 - duration: 101.867184ms + duration: 97.53901ms - id: 24 request: proto: HTTP/1.1 @@ -1200,13 +1200,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"notupdated@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"notupdated@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -1224,9 +1224,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1234,10 +1234,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 479464cc-1458-4620-861c-f6b10960320e + - cff649f0-cfae-479a-b686-a70edea87e2c status: 204 No Content code: 204 - duration: 336.7361ms + duration: 202.515442ms - id: 25 request: proto: HTTP/1.1 @@ -1249,13 +1249,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points/delete method: POST response: @@ -1273,9 +1273,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Thu, 01 Aug 2024 13:53:10 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1283,10 +1283,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 306981df-8b22-49ec-86a8-345db7200467 + - f1335dc2-d3fe-476c-91c9-80b40c24e657 status: 204 No Content code: 204 - duration: 239.37662ms + duration: 246.4898ms - id: 26 request: proto: HTTP/1.1 @@ -1298,13 +1298,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b"}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: @@ -1313,20 +1313,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb3abc0a-e613-4a99-8d19-f40898fdad27 + - 58fa3c64-2e15-4c05-8b3d-05dc8c935584 status: 200 OK code: 200 - duration: 74.586188ms + duration: 205.700985ms - id: 27 request: proto: HTTP/1.1 @@ -1349,13 +1349,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"719e7356-2929-485e-837b-934b92ff547b"}' + body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable method: POST response: @@ -1364,20 +1364,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: - - Wed, 22 May 2024 12:42:44 GMT + - Thu, 01 Aug 2024 13:53:11 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1385,10 +1385,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 627d0821-4561-4f42-98c6-45dd7e176066 + - 8be85a38-e6d6-4e15-ad3a-9784deadb142 status: 200 OK code: 200 - duration: 167.975958ms + duration: 266.513895ms - id: 28 request: proto: HTTP/1.1 @@ -1404,8 +1404,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 method: DELETE response: proto: HTTP/2.0 @@ -1422,9 +1422,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:46 GMT + - Thu, 01 Aug 2024 13:53:12 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1432,10 +1432,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7718e3e5-2cff-44ac-8e9b-798b9a69fd55 + - 965b05ac-e6b5-43d1-bbf6-1470279316ec status: 204 No Content code: 204 - duration: 1.137323198s + duration: 1.205601314s - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=719e7356-2929-485e-837b-934b92ff547b + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 method: GET response: proto: HTTP/2.0 @@ -1471,9 +1471,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:46 GMT + - Thu, 01 Aug 2024 13:53:12 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1481,7 +1481,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7f65e41d-9482-448d-982e-0ba52e1a09c6 + - 6dae8bec-cc25-44a8-91bd-b1f53d1770ee status: 403 Forbidden code: 403 - duration: 45.353813ms + duration: 55.154779ms diff --git a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml index 80e739105..c75046ce0 100644 --- a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml @@ -1,843 +1,1232 @@ --- version: 2 interactions: -- request: - body: '{"name":"tf_tests_cockpit_project_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.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects - method: POST - response: - body: '{"created_at":"2024-02-20T14:38:26.293762Z","description":"","id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-02-20T14:38:26.293762Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:26 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5e84578b-a189-4ec3-a450-45ac6d7d342d - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.293762Z","description":"","id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-02-20T14:38:26.293762Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:26 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bc961e23-7698-4d36-8c91-698065c42b34 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/activate - method: POST - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:27 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a271feeb-be60-4fac-8486-7b8dbc3ef212 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:27 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c8404789-f13f-477f-a105-af3288c7befb - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:27 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4ecb8609-844b-4cd9-b662-cf8375edd09c - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.293762Z","description":"","id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-02-20T14:38:26.293762Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:27 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a8215508-20e8-4e6c-b0d2-4556ecf756e2 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:27 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a5f8ce09-48b1-499d-a4c7-105283b7c846 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d300e7bc-2bf4-41e2-944e-3826d925cb3b - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.293762Z","description":"","id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-02-20T14:38:26.293762Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9e82c6a2-44b9-45c7-8111-708a8db3d6ed - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a4d678ea-d32a-4310-81f9-980244ad13b0 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:28 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fa71af6b-c4d4-4b24-a367-f0e3fc4b75df - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:26.729580Z"}' - headers: - Content-Length: - - "792" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9730786d-126a-400d-bdb1-858085c07708 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a987ea97-7674-488c-90bc-f2a527ecf2cf - status: 200 OK - code: 200 -- request: - body: '{"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","plan_id":"premium"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/select-plan - method: POST - response: - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cbda3991-44ef-4996-9ae3-1f706a7f62ed - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:29.645153Z"}' - headers: - Content-Length: - - "802" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 04ec6dfd-8e85-46c1-a50c-6feb8318fccb - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:29.645153Z"}' - headers: - Content-Length: - - "802" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:29 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 71d71197-acd8-4c5a-ab2a-a9f8ebc43833 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0c224653-f688-4b04-98b1-b20161f55295 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0e1ac9fb-88b9-42e4-911a-1facc1dfaf10 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.293762Z","description":"","id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-02-20T14:38:26.293762Z"}' - headers: - Content-Length: - - "250" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 387e5879-0842-4851-920b-e5d16d6ab1da - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:29.645153Z"}' - headers: - Content-Length: - - "802" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b9a4e59f-5a9b-4729-a3cf-6a88def3b869 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":null,"sample_ingestion_price":15,"traces_ingestion_price":0}],"total_count":3}' - headers: - Content-Length: - - "784" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:30 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 045af3e2-1e18-4866-9404-99c93556f224 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:29.645153Z"}' - headers: - Content-Length: - - "802" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:31 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 5e2eeb0e-15ba-4806-9933-85a72319d25b - status: 200 OK - code: 200 -- request: - body: '{"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"created_at":"2024-02-20T14:38:26.729580Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://55ee4259-bbaf-464d-98d4-c2e8f9841428.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","status":"ready","updated_at":"2024-02-20T14:38:29.645153Z"}' - headers: - Content-Length: - - "802" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:32 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a90d82a6-34cf-45fd-94b3-bdf3c0ff5fb7 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: GET - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:32 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cad1e5b5-b94e-47cc-977c-35fe7088a8aa - status: 404 Not Found - code: 404 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/55ee4259-bbaf-464d-98d4-c2e8f9841428 - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 318b7a94-32f4-4b64-bc0e-4d90353c7980 - status: 204 No Content - code: 204 -- request: - body: '{"project_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.21.5; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"55ee4259-bbaf-464d-98d4-c2e8f9841428","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 20 Feb 2024 14:38:34 GMT - Server: - - Scaleway API Gateway (fr-par-1;edge01) - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4b007076-d4d6-4259-a2b6-0858fd57b850 - status: 404 Not Found - code: 404 + - 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_project_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.22.4; darwin; amd64) 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-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 8e7e39e6-45c1-4ff9-8ff8-4fdcded0cb79 + status: 200 OK + code: 200 + duration: 1.174815795s + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + 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-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - b810fbc1-8282-4981-b2ba-47e0ec4fb9ed + status: 200 OK + code: 200 + duration: 79.191075ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 6ef7d436-eb5b-476c-994b-4d2b46f98a7b + status: 200 OK + code: 200 + duration: 25.715305ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 72 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","plan_name":"free"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 078259db-5684-4f88-9b68-c919a0a045f9 + status: 200 OK + code: 200 + duration: 84.236667ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 32e8f2a1-144f-4645-89c7-601dcdd76b93 + status: 200 OK + code: 200 + duration: 67.656365ms + - 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.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 35 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "35" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - bc23b656-1bf9-46b1-b724-c5b6e01fe4a4 + status: 200 OK + code: 200 + duration: 590.720073ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 2eaabb55-e09f-4aa5-a118-8d00cab3afaf + status: 200 OK + code: 200 + duration: 51.099536ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + 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-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 535ee3cb-2669-4b56-a78f-ea780f073f58 + status: 200 OK + code: 200 + duration: 59.044783ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 67eb107b-11a7-4336-a5ad-8dce8728880b + status: 200 OK + code: 200 + duration: 49.183611ms + - 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.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 35 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "35" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 0b88ca6c-1b76-4c21-aef1-fe42c3e9f1b6 + status: 200 OK + code: 200 + duration: 261.47429ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - d1f61fa1-42a6-4682-92fc-3762c04b6699 + status: 200 OK + code: 200 + duration: 44.724589ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + 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-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 940ff39b-a21c-4e19-aae4-5bd2b9a1b641 + status: 200 OK + code: 200 + duration: 67.925645ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 2fbd5943-3b28-4cdc-b08a-cd433a436537 + status: 200 OK + code: 200 + duration: 52.983364ms + - 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.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 35 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "35" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - f3b01769-b4f6-462c-a230-d4be739829ef + status: 200 OK + code: 200 + duration: 260.602886ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 77747322-6ad5-416b-b45b-cd8701c98ed1 + status: 200 OK + code: 200 + duration: 46.99638ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - d632100e-2618-48e4-8cc0-5cfb6e949703 + status: 200 OK + code: 200 + duration: 31.343168ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 75 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","plan_name":"premium"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 6c3e1304-624d-4b88-b290-ac3fb241a9d2 + status: 200 OK + code: 200 + duration: 70.267219ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 45612bc6-2451-47b1-9d4c-4eb4753fb8aa + status: 200 OK + code: 200 + duration: 50.148221ms + - 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.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 35 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "35" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 5cc4d56b-8fbf-4723-82de-dcc29056308a + status: 200 OK + code: 200 + duration: 280.071365ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - a6fa4781-a8a8-4b5e-96db-019a8053860e + status: 200 OK + code: 200 + duration: 69.412855ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + 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-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + headers: + Content-Length: + - "245" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - d41883e3-ef30-4300-ae12-8d0097a30bc1 + status: 200 OK + code: 200 + duration: 63.767273ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - bf20c81f-7969-4eba-8f72-4f790c588573 + status: 200 OK + code: 200 + duration: 52.534299ms + - 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.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 35 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "35" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - a1e0a277-9c77-4c58-9eea-7faaa6682780 + status: 200 OK + code: 200 + duration: 299.416034ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - 5da3da8a-4ab5-4b2c-9c60-bbe5e7ed6738 + status: 200 OK + code: 200 + duration: 54.20254ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + 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, 01 Aug 2024 13:53:09 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: + - b02dd87f-76c9-4fb0-81fb-8c323849f545 + status: 204 No Content + code: 204 + duration: 1.195655322s diff --git a/internal/services/cockpit/testdata/cockpit-premium-plan-by-id.cassette.yaml b/internal/services/cockpit/testdata/cockpit-premium-plan-by-id.cassette.yaml index b2fa0fad4..48a97c092 100644 --- a/internal/services/cockpit/testdata/cockpit-premium-plan-by-id.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-premium-plan-by-id.cassette.yaml @@ -1,1133 +1,152 @@ --- version: 2 interactions: -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f0e3803e-a71c-46e2-a1dc-6656e9eebbe0 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bfe070b4-73c6-479b-a7fb-134b55d0c9ac - status: 200 OK - code: 200 -- request: - body: '{"name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","description":""}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:51.906807Z","description":"","id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.906807Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:51 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 765ed965-0f6e-4f07-a2bb-02f59a9ad180 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.906807Z","description":"","id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.906807Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e2af35f4-6ddf-4bea-94f5-d708e21dfb0c - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/activate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"creating","updated_at":"2023-07-19T14:06:52.483630Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0df58132-2fbd-4092-b99c-ca6903887ad9 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 73e2f033-6a4b-463e-934e-e21ecd64cf0b - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","plan_id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/select-plan - method: POST - response: - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 4e93d50b-bfd3-46f1-8f5a-f3f26f268e10 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"creating","updated_at":"2023-07-19T14:06:52.794698Z"}' - headers: - Content-Length: - - "694" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a353f87f-2ad9-4c8f-96b7-512c92fd4a9b - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:06:54.246319Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fe522a0c-6ac7-4228-90a4-dfa54a738b58 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:06:54.246319Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3c9d2bba-49ab-4587-a7ca-bdfba5c0e75d - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 17451637-5876-4569-9d1b-f3157024f07f - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cab127ed-de97-415d-a307-60bfa13ebfbc - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.906807Z","description":"","id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.906807Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 75cca500-31db-4283-9c43-c33ddb165562 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:06:54.246319Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 015e7875-4ad5-44ac-a0b4-7e2e32af3547 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e209b5f4-1fcd-4356-beef-46b6c9978b2a - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 3510177e-9640-49a9-987d-602c8b72c5ee - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.906807Z","description":"","id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.906807Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c918b0d4-f2db-4b6e-a6e1-defb3a1abbfd - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:06:54.246319Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7f4352bc-9e38-4da2-bcd6-4b36d55261fa - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 300f44d2-5a39-4f01-bf17-237f17dd753a - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:06:54.246319Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 62160638-ec02-4530-920c-64c523dd1fb8 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ceb23384-4323-4c7c-8ddd-2b1bac6e3010 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","plan_id":"2cf9b13e-8737-42c6-9b30-9032b0d72693"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/select-plan - method: POST - response: - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d437580e-613e-4268-9958-211f0627db23 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:07:00.487412Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f557a05d-9fa5-42d6-ae72-efc13bc7795c - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:07:00.487412Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 09ced87d-afab-4f90-906c-149fbe38a0ad - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e41290a9-01e7-4022-b5b3-960878858d3b - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7354a534-5dea-4b79-9a8b-b3793085e498 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.906807Z","description":"","id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.906807Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6b4d1a11-9c94-4c3e-8fdf-f3f917ecab71 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:07:00.487412Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 74401566-809a-429f-8dcc-8187de90e19f - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c0b73807-39ae-47e8-b031-e1c36a9d5006 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"ready","updated_at":"2023-07-19T14:07:00.487412Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cef4e370-523b-4075-b0cf-ca3f280ef7b9 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"deleting","updated_at":"2023-07-19T14:07:01.573362Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 16df96e2-6022-4f8e-9afb-64968d228cdf - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.483630Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f3812b03-2cbe-483e-a1fe-5774b10762bc.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","status":"deleting","updated_at":"2023-07-19T14:07:01.573362Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:01 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 711bfa16-98c0-4547-8c9f-df8ed5626c28 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f3812b03-2cbe-483e-a1fe-5774b10762bc - method: GET - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cf995f06-c3bf-445f-a18d-aa96194500d5 - status: 404 Not Found - code: 404 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f3812b03-2cbe-483e-a1fe-5774b10762bc - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:07 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 72cc8bb6-aef5-4fb2-ae93-a3f0bfebe181 - status: 204 No Content - code: 204 -- request: - body: '{"project_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"f3812b03-2cbe-483e-a1fe-5774b10762bc","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:08 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - bd8d15b7-a6b6-4be8-ac41-db7a4b6e0459 - status: 404 Not Found - code: 404 + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 804 + uncompressed: false + body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 12 Jun 2024 12:09:41 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: + - 176871aa-eb53-4f8b-a6cc-12fb93168971 + status: 200 OK + code: 200 + duration: 137.78409ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 804 + uncompressed: false + body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 12 Jun 2024 12:09:42 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: + - 9443539e-d463-4f43-a241-685ddf74d251 + status: 200 OK + code: 200 + duration: 79.859893ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_project_premium","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) 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: 142 + uncompressed: false + body: '{"details":[{"current":25,"quota":25,"resource":"UsrProjectsWidth"}],"message":"quota(s) exceeded for this resource","type":"quotas_exceeded"}' + headers: + Content-Length: + - "142" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Wed, 12 Jun 2024 12:09:42 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: + - 1e343e36-a7f4-4095-b06f-1bdbc5f1aa5c + status: 403 Forbidden + code: 403 + duration: 70.49167ms diff --git a/internal/services/cockpit/testdata/cockpit-premium-plan-by-name.cassette.yaml b/internal/services/cockpit/testdata/cockpit-premium-plan-by-name.cassette.yaml index a873d3c4e..309217f4b 100644 --- a/internal/services/cockpit/testdata/cockpit-premium-plan-by-name.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-premium-plan-by-name.cassette.yaml @@ -1,683 +1,697 @@ --- version: 2 interactions: -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 40146d37-b987-46af-ab12-c0629670e1c6 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f746b14a-dbaa-4d88-a565-1408e58826cd - status: 200 OK - code: 200 -- request: - body: '{"name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","description":""}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:51.875491Z","description":"","id":"fb679493-56f4-4ded-98e9-45d178900c75","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.875491Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:51 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e5f595e9-1f6d-4d5d-bcb7-2480c44d702e - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.875491Z","description":"","id":"fb679493-56f4-4ded-98e9-45d178900c75","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.875491Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ab7d571f-702a-4b0f-af41-df2eb17f0151 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"fb679493-56f4-4ded-98e9-45d178900c75"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/activate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"creating","updated_at":"2023-07-19T14:06:52.501255Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2f4531f1-3469-41ad-8dc9-a2d6f68480a0 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - fb01bdfd-16b8-43b8-8670-03d0e3f73ce6 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","plan_id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/select-plan - method: POST - response: - body: '{}' - headers: - Content-Length: - - "2" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0924069c-63d8-4fc3-beb2-1ff262b07103 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"creating","updated_at":"2023-07-19T14:06:52.816435Z"}' - headers: - Content-Length: - - "694" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 9c07a7b8-f261-4e70-b2c3-07a4995fd774 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"ready","updated_at":"2023-07-19T14:06:54.269852Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f378b6b4-c500-4a09-b3b8-1e437a3bc87f - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"ready","updated_at":"2023-07-19T14:06:54.269852Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - eda2809c-43ba-4576-84af-69cf6aae0a01 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f484f484-e932-4b99-b3f9-3081b588a749 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 70a1379f-d94b-4e22-87a7-7a6e3590c847 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.875491Z","description":"","id":"fb679493-56f4-4ded-98e9-45d178900c75","name":"tf_tests_cockpit_project_premium","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.875491Z"}' - headers: - Content-Length: - - "247" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d8b4820c-e17d-4eba-bde4-23b99c837e24 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"ready","updated_at":"2023-07-19T14:06:54.269852Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b614fa34-0d6c-4405-9a36-1d630316e4d5 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a3fa69ee-4f39-49ea-a129-3cc2776927cc - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"ready","updated_at":"2023-07-19T14:06:54.269852Z"}' - headers: - Content-Length: - - "691" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 36fd9d88-f898-468f-8960-0c90f6c9454a - status: 200 OK - code: 200 -- request: - body: '{"project_id":"fb679493-56f4-4ded-98e9-45d178900c75"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"deleting","updated_at":"2023-07-19T14:06:59.548974Z"}' - headers: - Content-Length: - - "694" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - ff9045bf-540a-4552-b64a-e7e79fd7ffb1 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.501255Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://fb679493-56f4-4ded-98e9-45d178900c75.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},"project_id":"fb679493-56f4-4ded-98e9-45d178900c75","status":"deleting","updated_at":"2023-07-19T14:06:59.548974Z"}' - headers: - Content-Length: - - "694" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a26279d2-7864-4833-81a4-b11d3ba55e4e - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=fb679493-56f4-4ded-98e9-45d178900c75 - method: GET - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"fb679493-56f4-4ded-98e9-45d178900c75","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:05 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - e506fac8-4cec-49d0-8062-2bf9a01d6a43 - status: 404 Not Found - code: 404 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/fb679493-56f4-4ded-98e9-45d178900c75 - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8a0c5abe-3169-4d44-baaa-35746c756abd - status: 204 No Content - code: 204 -- request: - body: '{"project_id":"fb679493-56f4-4ded-98e9-45d178900c75"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"fb679493-56f4-4ded-98e9-45d178900c75","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8a18a3b6-8b79-43b4-bb24-fe32b384485c - status: 404 Not Found - code: 404 + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 804 + uncompressed: false + body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:24 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: + - a7a42c6b-76eb-42be-8ffc-4498ebaf8aa0 + status: 200 OK + code: 200 + duration: 85.047282ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 804 + uncompressed: false + body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:24 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: + - b08e9030-4643-4b1c-8875-f402379193dd + status: 200 OK + code: 200 + duration: 29.984875ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_project_premium","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","description":""}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) 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: 252 + uncompressed: false + body: '{"created_at":"2024-06-14T09:05:25.153485Z","description":"","id":"0ea77091-b9c7-479e-b807-573db95cc0b3","name":"tf_tests_cockpit_project_premium","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-06-14T09:05:25.153485Z"}' + headers: + Content-Length: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - fc984417-f241-42ee-8541-f0b8d357bb25 + status: 200 OK + code: 200 + duration: 212.210601ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/0ea77091-b9c7-479e-b807-573db95cc0b3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 252 + uncompressed: false + body: '{"created_at":"2024-06-14T09:05:25.153485Z","description":"","id":"0ea77091-b9c7-479e-b807-573db95cc0b3","name":"tf_tests_cockpit_project_premium","organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae","updated_at":"2024-06-14T09:05:25.153485Z"}' + headers: + Content-Length: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - 8c0056d4-5af5-4084-b2c3-21ed52a72dde + status: 200 OK + code: 200 + duration: 47.413996ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/activate + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - ac83b261-41a3-429d-a9c2-41a1c5ef6b51 + status: 200 OK + code: 200 + duration: 45.965453ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 804 + uncompressed: false + body: '{"plans":[{"id":"custom","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"id":"premium","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "804" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - 071825b2-6e0a-4748-8422-3f45fb917ddd + status: 200 OK + code: 200 + duration: 27.713208ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 73 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","plan_id":"premium"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/select-plan + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 2 + uncompressed: false + body: '{}' + headers: + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - 0ffecd0f-6fd9-4b2c-a759-76cc18ec331e + status: 200 OK + code: 200 + duration: 79.90595ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=0ea77091-b9c7-479e-b807-573db95cc0b3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - 0041371c-ea0c-4320-a59d-6adbe6c3f4bb + status: 200 OK + code: 200 + duration: 39.661086ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=0ea77091-b9c7-479e-b807-573db95cc0b3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:25 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: + - addfe95d-38c0-4582-b483-f0929c6a059c + status: 200 OK + code: 200 + duration: 39.194393ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=0ea77091-b9c7-479e-b807-573db95cc0b3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:26 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: + - 7246e8f4-0ec1-4f37-8871-f60d4ebce2f2 + status: 200 OK + code: 200 + duration: 50.147963ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/deactivate + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:26 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: + - 40182359-7b4d-4b24-9ebf-c7125958d22a + status: 200 OK + code: 200 + duration: 41.906438ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=0ea77091-b9c7-479e-b807-573db95cc0b3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 742 + uncompressed: false + body: '{"created_at":null,"endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://0ea77091-b9c7-479e-b807-573db95cc0b3.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud","traces_url":"https://traces.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"free","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3","status":"ready","updated_at":null}' + headers: + Content-Length: + - "742" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:26 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: + - bc1728d7-a974-43b2-9a6b-ef76783d45a4 + status: 200 OK + code: 200 + duration: 51.812486ms + - 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.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/0ea77091-b9c7-479e-b807-573db95cc0b3 + 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: + - Fri, 14 Jun 2024 09:05:27 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: + - fe4e1da5-cad0-4a4e-9299-954ff0cfbe80 + status: 204 No Content + code: 204 + duration: 1.378108136s + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"0ea77091-b9c7-479e-b807-573db95cc0b3"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.3; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1beta1/deactivate + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 118 + uncompressed: false + body: '{"details":[{"action":"write","resource":"cockpit"}],"message":"insufficient permissions","type":"permissions_denied"}' + headers: + Content-Length: + - "118" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 14 Jun 2024 09:05:27 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: + - 8b08bece-99f2-45c3-8eb5-b81e1d2ee1da + status: 403 Forbidden + code: 403 + duration: 36.960026ms diff --git a/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml index 8f8d0e013..b93e944af 100644 --- a/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_tests_cockpit_datasource_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","description":""}' + 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 248 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.167530Z","description":"","id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","name":"tf_tests_cockpit_datasource_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-18T13:52:54.167530Z"}' + body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' headers: Content-Length: - "248" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:54 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e659d71-fed0-493a-97d1-8e8c46cab5f3 + - 263067ce-856c-4842-8f46-ffb58f97dde0 status: 200 OK code: 200 - duration: 300.06273ms + duration: 1.108438549s - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/42fb1081-0f75-4076-8248-3fa9cf90e3c1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 248 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.167530Z","description":"","id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","name":"tf_tests_cockpit_datasource_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-18T13:52:54.167530Z"}' + body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' headers: Content-Length: - "248" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:54 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 47d1a181-a8db-4f07-95aa-03765591158e + - 4dba95ef-46d2-4611-85a3-97e9f6b95fb0 status: 200 OK code: 200 - duration: 47.109329ms + duration: 57.554021ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","name":"my-source","type":"metrics"}' + body: '{"project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"my-source","type":"metrics"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources method: POST response: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 377 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.541968Z","id":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","name":"my-source","origin":"external","project_id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-04-18T13:52:54.541968Z","url":"https://60f3fe7b-c6e7-4ff7-a352-7db0095c2821.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - "377" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:54 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 370df396-86c4-49a1-87c4-b399a15f08af + - b3772829-d584-4466-ab3a-23900f10beff status: 200 OK code: 200 - duration: 150.493787ms + duration: 289.323336ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/60f3fe7b-c6e7-4ff7-a352-7db0095c2821 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 method: GET response: proto: HTTP/2.0 @@ -178,7 +178,7 @@ interactions: trailer: {} content_length: 377 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.541968Z","id":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","name":"my-source","origin":"external","project_id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-04-18T13:52:54.541968Z","url":"https://60f3fe7b-c6e7-4ff7-a352-7db0095c2821.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - "377" @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:54 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4254b38d-a3db-457f-aea4-62ca07658f3f + - fa2cd8e8-015b-40ad-9c15-880cdf37afe3 status: 200 OK code: 200 - duration: 57.078563ms + duration: 48.143529ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/60f3fe7b-c6e7-4ff7-a352-7db0095c2821 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 method: GET response: proto: HTTP/2.0 @@ -227,7 +227,7 @@ interactions: trailer: {} content_length: 377 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.541968Z","id":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","name":"my-source","origin":"external","project_id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-04-18T13:52:54.541968Z","url":"https://60f3fe7b-c6e7-4ff7-a352-7db0095c2821.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - "377" @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:54 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d975cc90-a7fa-49ad-9fc6-f8892ccd57f3 + - d7cdc934-cd75-4536-97b6-fff32f4a08b8 status: 200 OK code: 200 - duration: 44.583277ms + duration: 74.363277ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/42fb1081-0f75-4076-8248-3fa9cf90e3c1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 248 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.167530Z","description":"","id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","name":"tf_tests_cockpit_datasource_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-18T13:52:54.167530Z"}' + body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' headers: Content-Length: - "248" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:55 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 35fa8ce8-0907-4613-a46f-32fff96bfbf2 + - 85ab8bf6-8f39-4eea-8bc5-864282e323bb status: 200 OK code: 200 - duration: 52.790263ms + duration: 254.934639ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/60f3fe7b-c6e7-4ff7-a352-7db0095c2821 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 method: GET response: proto: HTTP/2.0 @@ -325,7 +325,7 @@ interactions: trailer: {} content_length: 377 uncompressed: false - body: '{"created_at":"2024-04-18T13:52:54.541968Z","id":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","name":"my-source","origin":"external","project_id":"42fb1081-0f75-4076-8248-3fa9cf90e3c1","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-04-18T13:52:54.541968Z","url":"https://60f3fe7b-c6e7-4ff7-a352-7db0095c2821.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - "377" @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:55 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 62bfef63-06cc-4b5b-8728-6080923da5c8 + - b1dcd39d-f29e-405e-8c68-b6a56bd118ca status: 200 OK code: 200 - duration: 50.948313ms + duration: 50.811547ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/60f3fe7b-c6e7-4ff7-a352-7db0095c2821 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:56 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8b1df135-1044-48f8-a8c4-cb02311d5595 + - f7399523-e3d3-4cdf-805f-aa147ca46329 status: 204 No Content code: 204 - duration: 413.1223ms + duration: 213.015974ms - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/42fb1081-0f75-4076-8248-3fa9cf90e3c1 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:57 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3f44c8b7-3b7c-48cb-ac09-d3ac38ac24d6 + - 946ec907-e66b-4b5a-9bb6-eeea81589267 status: 204 No Content code: 204 - duration: 1.426102659s + duration: 1.350947032s - 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.22.1; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/60f3fe7b-c6e7-4ff7-a352-7db0095c2821 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 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":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","type":"not_found"}' + body: '{"message":"resource is not found","resource":"data source","resource_id":"b46b8a1a-201d-4397-a57f-97331598a8e0","type":"not_found"}' headers: Content-Length: - "132" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 18 Apr 2024 13:52:57 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 02374bb4-476a-4b03-99b5-b5c9c66c89cb + - 1a254c2d-ac1c-4e75-a20f-e7c7dc610c01 status: 404 Not Found code: 404 - duration: 28.129175ms + duration: 20.539537ms diff --git a/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml new file mode 100644 index 000000000..ecdb1fa92 --- /dev/null +++ b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml @@ -0,0 +1,1877 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_project_premium","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.22.4; darwin; amd64) 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: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 858c5e5e-43e1-44b6-a518-325cf3eb7e5d + status: 200 OK + code: 200 + duration: 1.121009733s + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 4d5019ef-eecd-4418-ae5a-010758762410 + status: 200 OK + code: 200 + duration: 79.275954ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 184 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "184" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 3161da62-9448-4cce-ac32-d7c731c51bb7 + status: 200 OK + code: 200 + duration: 89.097268ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 100 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-traces","type":"traces"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 387 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "387" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 53c7e91d-c77e-41ba-97e2-5e0b499c5ba2 + status: 200 OK + code: 200 + duration: 281.028011ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 96 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-logs","type":"logs"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 381 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 4be56914-a045-45af-b3cf-3891d1dbaa35 + status: 200 OK + code: 200 + duration: 324.801131ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 387 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "387" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 39fb6e21-0197-4805-96ea-d8c633650457 + status: 200 OK + code: 200 + duration: 55.057062ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 381 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - ed821526-8012-46c0-869d-b58a53f42d1b + status: 200 OK + code: 200 + duration: 59.132275ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 102 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-metrics","type":"metrics"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 569935f7-3a78-4558-9fd2-70df64880a90 + status: 200 OK + code: 200 + duration: 475.080393ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 72fd0c67-ead5-4d2f-9e38-6ca121b4f20f + status: 200 OK + code: 200 + duration: 76.902026ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - b00d6c1e-d962-40b6-b0e4-47a4b9dc9690 + status: 200 OK + code: 200 + duration: 539.273205ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 623c4d75-b82c-4239-979f-761b689dfbb4 + status: 200 OK + code: 200 + duration: 99.880583ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - d8690fd3-8163-4c19-8e98-909599b2332e + status: 200 OK + code: 200 + duration: 126.136701ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 92 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","login":"cockpit_test","role":"editor"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 28 + uncompressed: false + body: '{"message":"Internal error"}' + headers: + Content-Length: + - "28" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:38 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: + - 622ac735-6f69-44bc-9f65-0367713c11d8 + status: 500 Internal Server Error + code: 500 + duration: 35.644454392s + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 92 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","login":"cockpit_test","role":"editor"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 77 + uncompressed: false + body: '{"id":2,"login":"cockpit_test","password":"k-UBBiBf8xtepQbu","role":"editor"}' + headers: + Content-Length: + - "77" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - a0e7593f-c610-42d9-998e-29e23b10fac0 + status: 200 OK + code: 200 + duration: 6.391790528s + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - 55d6e379-2e13-49fb-adec-8d9be26a39b1 + status: 200 OK + code: 200 + duration: 137.45924ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - a1ab6b66-dd71-4d37-9940-75de70f2f1b3 + status: 200 OK + code: 200 + duration: 26.611725ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 75 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","plan_name":"premium"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - 40b665d7-040f-4c67-bccb-3cf76cb293a8 + status: 200 OK + code: 200 + duration: 98.556332ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - 606572a6-dca7-4bfc-9cbf-e05bd2aa1fae + status: 200 OK + code: 200 + duration: 64.839977ms + - 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.22.4; 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=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1589 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:03.426686Z","id":"f7f4d32e-8243-404e-965c-5b6b43cae772","name":"Scaleway Alerting","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:03.426686Z","url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1589" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:47 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: + - 1e494daa-9653-44b1-81da-ae10ad9f9826 + status: 200 OK + code: 200 + duration: 260.800949ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 93 + uncompressed: false + body: '{"grafana_url":"https://f34318dd-14e1-41a6-9025-1732bd326e0f.dashboard.obs.fr-par.scw.cloud"}' + headers: + Content-Length: + - "93" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 9f8599a0-a300-4c79-a316-f498c01be647 + status: 200 OK + code: 200 + duration: 123.484554ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - ded3130f-5ab1-4e7e-a44e-f133f22dcaba + status: 200 OK + code: 200 + duration: 53.165641ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 596b7aa3-0270-4496-b4d0-84a92bc5e88e + status: 200 OK + code: 200 + duration: 51.511149ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - c1f24211-a82a-4a8a-b681-ad29f6205c3a + status: 200 OK + code: 200 + duration: 60.905022ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 380 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "380" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 601add88-b65b-488e-8851-6a0deb70a10d + status: 200 OK + code: 200 + duration: 63.143866ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 386 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "386" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 93b95857-ec6c-4b81-8074-a2507915bcbc + status: 200 OK + code: 200 + duration: 62.912752ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 97 + uncompressed: false + body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' + headers: + Content-Length: + - "97" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 2e8f087d-a8aa-40b6-9843-c48f5726218e + status: 200 OK + code: 200 + duration: 86.847524ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 83c1d812-d7b5-4f0a-b61f-b6a3f9410546 + status: 200 OK + code: 200 + duration: 128.21899ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:48 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: + - 8baabe13-5871-4e57-a0f1-fa0beb85357d + status: 200 OK + code: 200 + duration: 45.642406ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1589 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:03.426686Z","id":"f7f4d32e-8243-404e-965c-5b6b43cae772","name":"Scaleway Alerting","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:03.426686Z","url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1589" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:49 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: + - ec8a8859-5bf3-4536-9c49-ba47408a2f51 + status: 200 OK + code: 200 + duration: 268.005735ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 93 + uncompressed: false + body: '{"grafana_url":"https://f34318dd-14e1-41a6-9025-1732bd326e0f.dashboard.obs.fr-par.scw.cloud"}' + headers: + Content-Length: + - "93" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:49 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: + - 7dd65e3d-c059-4f97-935c-dcf9656cfe31 + status: 200 OK + code: 200 + duration: 62.085526ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d + 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, 01 Aug 2024 13:53:49 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: + - 498873e9-07a0-4566-853a-915a426b5d33 + status: 204 No Content + code: 204 + duration: 70.80893ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:49 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: + - ec41dff0-31f7-4c91-acca-06f349f56a91 + status: 200 OK + code: 200 + duration: 93.540594ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + 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, 01 Aug 2024 13:53:49 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: + - ebfe25fd-0c0b-435f-ae35-9fc3d56f4c6c + status: 204 No Content + code: 204 + duration: 170.738943ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + 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, 01 Aug 2024 13:53:49 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: + - 33cdfc0c-0f61-40c2-a553-cd70d5213cce + status: 204 No Content + code: 204 + duration: 229.505954ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 184 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "184" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:49 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: + - 9791e4db-e651-4239-a73e-9953fed6511b + status: 200 OK + code: 200 + duration: 237.552808ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 105 + uncompressed: false + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "105" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:50 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: + - 41f82fe9-65c4-4dee-be00-46c0a7224b7b + status: 200 OK + code: 200 + duration: 639.056781ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + 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, 01 Aug 2024 13:53:52 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: + - 1dd119dd-83dd-4627-a0c9-f616b2b8ef52 + status: 204 No Content + code: 204 + duration: 3.147264464s + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + 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, 01 Aug 2024 13:53:53 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: + - 1007b3d3-ff1e-4882-9ce3-bdd4c5139840 + status: 204 No Content + code: 204 + duration: 1.243343087s 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 084e9ec64..127b84162 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml @@ -1,811 +1,2218 @@ --- version: 2 interactions: -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 629c3071-5ab8-46c1-b049-174a6fc90c74 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:50 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f0e5a3ea-a7a9-493e-b0e9-505c09d72c38 - status: 200 OK - code: 200 -- request: - body: '{"name":"tf_tests_datasource_cockpit_project_basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","description":""}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:51.895464Z","description":"","id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","name":"tf_tests_datasource_cockpit_project_basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.895464Z"}' - headers: - Content-Length: - - "256" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:51 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 2d6e989d-93be-48d1-a946-acd142ff59fb - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.895464Z","description":"","id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","name":"tf_tests_datasource_cockpit_project_basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.895464Z"}' - headers: - Content-Length: - - "256" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6ad69791-0837-434a-8158-d5fd588b5c78 - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/activate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"creating","updated_at":"2023-07-19T14:06:52.496833Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a8f76ecc-61d5-4f40-972c-eb47044ebf78 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"creating","updated_at":"2023-07-19T14:06:52.496833Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:52 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 19b682e9-4720-43cd-9c28-c2034dca4ac7 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b32acd56-5bd8-4bce-bc84-b1a4dcf153c0 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 06b62dea-c152-4185-ab15-b5225538592c - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7fea86ff-ff08-4958-b833-e27f86912424 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7ed58be1-462a-41f9-8906-0272f5519cda - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6d0027c5-2d73-4d5a-85ec-4b954b7e5b66 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:58 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 421d9c7c-5d30-4f7a-bd5a-0ddfcd75b062 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 721dafc9-d9d0-419a-9154-02d2c6196721 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:51.895464Z","description":"","id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","name":"tf_tests_datasource_cockpit_project_basic","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","updated_at":"2023-07-19T14:06:51.895464Z"}' - headers: - Content-Length: - - "256" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 51a820f9-f5ec-4a42-b9e4-81aa8e91d96a - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 70c2e9e0-2e68-4262-a955-525594e41f2a - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d98b0a1e-f962-40e1-a1be-98ead23444bb - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "668" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 6b231870-f280-4e20-9de0-342568e97667 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d0295094-cdae-401a-a091-5996685d5d57 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"ready","updated_at":"2023-07-19T14:06:54.259684Z"}' - headers: - Content-Length: - - "685" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:06:59 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f8768257-19c4-4f34-abf8-f0ab549f5dcb - status: 200 OK - code: 200 -- request: - body: '{"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"deleting","updated_at":"2023-07-19T14:07:00.177426Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0c762159-70e8-48e5-9554-30f20f81cf65 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"created_at":"2023-07-19T14:06:52.496833Z","endpoints":{"alertmanager_url":"https://alertmanager.cockpit.fr-par.scw.cloud","grafana_url":"https://f0c4a436-7331-48c2-8ad3-99b7e1eff4f6.dashboard.obs.fr-par.scw.cloud","logs_url":"https://logs.cockpit.fr-par.scw.cloud","metrics_url":"https://metrics.cockpit.fr-par.scw.cloud"},"managed_alerts_enabled":false,"plan":{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","status":"deleting","updated_at":"2023-07-19T14:07:00.177426Z"}' - headers: - Content-Length: - - "688" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:00 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 91c8e415-2e6d-4b13-a06b-dbf7d6bb2287 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/cockpit?project_id=f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: GET - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:05 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - eed5fd38-a2e0-4fc5-92b7-7fe127a5facd - status: 404 Not Found - code: 404 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f0c4a436-7331-48c2-8ad3-99b7e1eff4f6 - method: DELETE - response: - body: "" - headers: - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 054dbf25-6703-47dc-91b1-0e12242c5632 - status: 204 No Content - code: 204 -- request: - body: '{"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f171bda4-1192-47cd-a346-db19baec2205 - status: 404 Not Found - code: 404 -- request: - body: '{"project_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.1; linux; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/deactivate - method: POST - response: - body: '{"message":"resource is not found","resource":"cockpit","resource_id":"f0c4a436-7331-48c2-8ad3-99b7e1eff4f6","type":"not_found"}' - headers: - Content-Length: - - "128" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Wed, 19 Jul 2023 14:07:06 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - cc03c243-cea2-42e6-9b0e-de760001d165 - status: 404 Not Found - code: 404 + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 117 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf_tests_cockpit_project_premium","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.22.4; darwin; amd64) 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: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - ac79e8ec-8e7d-461a-86f1-10fbdf6b0eba + status: 200 OK + code: 200 + duration: 263.911301ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - b9eafc10-965b-40cb-b416-3fbb13d8852a + status: 200 OK + code: 200 + duration: 50.04977ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 184 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "184" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:07 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: + - b9ebb823-9008-4e41-a47c-9ae7e525c006 + status: 200 OK + code: 200 + duration: 423.790238ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 100 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-traces","type":"traces"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 387 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "387" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 2db32d9c-eeca-40fe-bdf3-31c767ad87a3 + status: 200 OK + code: 200 + duration: 723.821116ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 102 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-metrics","type":"metrics"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - f3165b60-d6c0-49ca-b155-9ed653eaa287 + status: 200 OK + code: 200 + duration: 723.683887ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 96 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-logs","type":"logs"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 381 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 94582009-cdb0-455c-b131-5857ccc483ad + status: 200 OK + code: 200 + duration: 723.918726ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 415f241a-d1ec-47fb-980b-8c5fda551693 + status: 200 OK + code: 200 + duration: 300.001915ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 387 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "387" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - a5ffe860-8859-4a19-8c94-a78fd457afcd + status: 200 OK + code: 200 + duration: 49.420938ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 381 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - e8cf72ce-e46d-4903-a30a-de63febe246b + status: 200 OK + code: 200 + duration: 49.740005ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - d06f9d3b-2bf8-4910-a9a2-66b31a38c938 + status: 200 OK + code: 200 + duration: 54.05395ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - a10e4847-a5ad-4268-8a76-747cc47fcba6 + status: 200 OK + code: 200 + duration: 53.971528ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 170c519d-c393-4289-8cb6-e15dbfc72372 + status: 200 OK + code: 200 + duration: 108.765311ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 5d2a0b62-80cc-4a86-afb7-b3850466d0f1 + status: 200 OK + code: 200 + duration: 36.133906ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 72 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","plan_name":"free"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - c7f59f13-9d49-480a-a1ba-3d947bde0ed5 + status: 200 OK + code: 200 + duration: 77.048108ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 5a02689a-0f81-4da9-afa0-9430a4ca85e6 + status: 200 OK + code: 200 + duration: 50.315976ms + - 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.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:09 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: + - 00a1ee7e-ac9d-4e4d-aa2e-fa8c19046e9c + status: 200 OK + code: 200 + duration: 263.567435ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:09 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: + - 05c6170a-3699-45fe-97f8-76613b01b976 + status: 200 OK + code: 200 + duration: 61.984904ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:09 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: + - 46c96036-4eee-4348-9a55-240732d29a74 + status: 200 OK + code: 200 + duration: 162.169368ms + - 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.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:09 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: + - 0cab8dcb-eb56-49aa-946a-2eaecbda0837 + status: 200 OK + code: 200 + duration: 287.987577ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:09 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: + - 5c0fb485-0aaa-4db2-8587-d91474d19de1 + status: 200 OK + code: 200 + duration: 52.214823ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - c10e5167-8ea5-4e69-b13c-97742bb3dd4a + status: 200 OK + code: 200 + duration: 46.814448ms + - 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.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - ce45ab69-b652-488c-adba-02168845d1f1 + status: 200 OK + code: 200 + duration: 325.046141ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - 24f9870e-3ccb-4c0c-a6fa-a859dc1e88d1 + status: 200 OK + code: 200 + duration: 53.480834ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 247 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + headers: + Content-Length: + - "247" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - eb33c77c-d5ac-42bd-9ad9-1ce281649758 + status: 200 OK + code: 200 + duration: 70.624679ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 381 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "381" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - 0b95ddd8-c1b4-4e1f-867d-a7045942de33 + status: 200 OK + code: 200 + duration: 50.610517ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 387 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "387" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - 1cee2199-3ec4-4c2e-9793-aa4440cd776d + status: 200 OK + code: 200 + duration: 50.879739ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 183 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "183" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - 64099bcd-9652-4d1f-8940-bbba1ecfcbe3 + status: 200 OK + code: 200 + duration: 52.56665ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 390 + uncompressed: false + body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + headers: + Content-Length: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - 5ad35096-7909-4e8f-8632-27be2d97338e + status: 200 OK + code: 200 + duration: 58.963642ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - f0502ee3-8e00-4503-a653-4fd5789749e7 + status: 200 OK + code: 200 + duration: 95.311962ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:10 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: + - d75322d4-0c21-461c-a895-7e61a1f5a8e7 + status: 200 OK + code: 200 + duration: 46.055028ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - b458f9f2-1451-4278-bf52-fe7682ca9222 + status: 200 OK + code: 200 + duration: 276.234832ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - b84130e9-23f4-45a2-b9b1-f8f5c165f4ca + status: 200 OK + code: 200 + duration: 46.320206ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - eee1f4b9-3c32-49ca-81a1-5afbed09950e + status: 200 OK + code: 200 + duration: 45.8096ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - 20eaeb7d-5998-4778-93e5-1ad70f7975c5 + status: 200 OK + code: 200 + duration: 255.557111ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - 037c43e6-0959-4078-8df2-d5242659852f + status: 200 OK + code: 200 + duration: 66.333166ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + 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: + - "229" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - ffc3ca20-b070-4ad5-8e40-f486981a9ca5 + status: 200 OK + code: 200 + duration: 43.361461ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1591 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + headers: + Content-Length: + - "1591" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:11 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: + - ac6becea-b7b9-405f-9cee-cca23b7dab35 + status: 200 OK + code: 200 + duration: 262.544517ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:12 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: + - 9dc1db16-dfba-43c0-96a5-e23a3b8a4e7e + status: 200 OK + code: 200 + duration: 39.797398ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 + 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, 01 Aug 2024 13:53:12 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: + - 433c810b-7dbc-4490-a01a-23d7f9848397 + status: 204 No Content + code: 204 + duration: 73.482478ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:12 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: + - ae8449c0-8133-4d63-b52a-8e444cd6a434 + status: 200 OK + code: 200 + duration: 91.097786ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + 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, 01 Aug 2024 13:53:12 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: + - 4a485fd3-6bd8-40c9-956f-6c6eea9c67d9 + status: 204 No Content + code: 204 + duration: 192.247538ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + 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, 01 Aug 2024 13:53:12 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: + - 7ff32b64-36d5-4c71-b564-a6b4c5bcef43 + status: 204 No Content + code: 204 + duration: 284.805122ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 184 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "184" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:12 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: + - 1ec2c6ce-0088-4648-9a13-0f5e8514976a + status: 200 OK + code: 200 + duration: 212.657123ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 105 + uncompressed: false + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "105" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53:12 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: + - fc2a4764-31de-440e-b280-ba881c3407d2 + status: 200 OK + code: 200 + duration: 325.827274ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + 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, 01 Aug 2024 13:53:14 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: + - 9e607b11-a082-448b-8aba-e082fe8e22dc + status: 204 No Content + code: 204 + duration: 1.180847187s diff --git a/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml b/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml index 445199902..99901b0aa 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml @@ -1,515 +1,787 @@ --- version: 2 interactions: -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 0dece626-5b08-4a35-8f51-d649e767c9d4 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 17c9749d-d425-43f0-9870-f5a80c32bc2d - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - a33917af-87c7-4f63-89e1-df6f70414237 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 21ccf57d-1fae-4eeb-b25b-cfc27d524bc3 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 22164100-4db2-4391-b903-d5cf3ff69acd - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - d48d4d25-d309-4c66-a07c-7faf04b1ade6 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 373c2b65-ecea-49d6-98b3-5825c85d7e78 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 8f6fc479-b738-4b67-a7c5-e13055e61a31 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - c3013822-4d96-4eb4-b2df-c583afc5adc4 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 567ef45d-20bc-42b5-a4b8-7da2a8da5df0 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 7ae6731c-ff28-422d-af2b-481ab95cbc91 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 919acf0b-b386-4674-b1f8-c93b62852020 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 421b6f1d-3919-4134-830d-9bfb7b58f731 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - b5b49870-9c31-4938-832c-42cd24af0b55 - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:56 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - 1093298a-b420-4f2c-aae3-85d197dd4cec - status: 200 OK - code: 200 -- request: - body: "" - form: {} - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.20.4; darwin; amd64) terraform-provider/develop - terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1beta1/plans?order_by=name_asc&page=1 - method: GET - response: - body: '{"plans":[{"id":"38ed62e2-23a4-45b3-89f8-db881bd193f8","logs_ingestion_price":35,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15},{"id":"2cf9b13e-8737-42c6-9b30-9032b0d72693","logs_ingestion_price":35,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_price":0,"sample_ingestion_price":15},{"id":"dd6d77ff-7ca8-41eb-93ae-1443311664b2","logs_ingestion_price":35,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_price":29,"sample_ingestion_price":15}],"total_count":3}' - headers: - Content-Length: - - "689" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Tue, 16 May 2023 17:45:57 GMT - Server: - - Scaleway API-Gateway - Strict-Transport-Security: - - max-age=63072000 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - DENY - X-Request-Id: - - f918a6bb-3780-4a18-a1a0-213964aa820d - status: 200 OK - code: 200 + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 44f594ab-f064-4d4d-a0cb-cd396837b587 + status: 200 OK + code: 200 + duration: 85.831256ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 635c7a3b-9b5d-472d-b0eb-600b95bbc12e + status: 200 OK + code: 200 + duration: 86.116219ms + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - b39647a7-2888-4ec2-929e-f1121d0a8ec2 + status: 200 OK + code: 200 + duration: 92.544987ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - b26b139e-4e07-4848-bdb1-a3d8799c8565 + status: 200 OK + code: 200 + duration: 26.523252ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - ff69d1c5-29f2-427d-8193-19c26afe9c77 + status: 200 OK + code: 200 + duration: 67.538965ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - f2cbc60d-3fe4-4b3d-ac47-4efd7665ae4d + status: 200 OK + code: 200 + duration: 66.427635ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - dbe17921-54b3-4681-9ae3-7c93cb0f8529 + status: 200 OK + code: 200 + duration: 26.914459ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 3817fbf1-02a5-40eb-b81a-0a6d9f33d7a8 + status: 200 OK + code: 200 + duration: 26.720984ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 6af812db-cc1f-42af-9a3e-8778240ff6e7 + status: 200 OK + code: 200 + duration: 33.507514ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 488505f8-f9e8-45e7-a9d5-7a52e3377e88 + status: 200 OK + code: 200 + duration: 28.041532ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - cc96b64e-6939-45b4-a3f8-2895ef76b58f + status: 200 OK + code: 200 + duration: 28.001525ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - beaff26f-4427-4b39-8bfa-fc2b3f1d72ab + status: 200 OK + code: 200 + duration: 28.594532ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 550ec580-ceca-4a9f-a6d8-aa19f5a75ae7 + status: 200 OK + code: 200 + duration: 26.880473ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - 13141f7b-3313-413b-9198-719a62dc80d4 + status: 200 OK + code: 200 + duration: 26.935488ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - ccd85ccb-e305-4e06-af86-3669873aed53 + status: 200 OK + code: 200 + duration: 26.994505ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/plans?order_by=name_asc&page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 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: + - "730" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 01 Aug 2024 13:53: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: + - d357e7f9-1841-45cb-a667-6b704ad46a74 + status: 200 OK + code: 200 + duration: 460.252753ms diff --git a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml index 05483fac6..91ed21b62 100644 --- a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","description":""}' + body: '{"name":"tf_tests_cockpit_grafana_user_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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-04-22T14:12:41.458631Z","description":"","id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-22T14:12:41.458631Z"}' + body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' headers: Content-Length: - - "255" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:12:41 GMT + - Thu, 01 Aug 2024 13:53:02 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fb3478bb-9457-48b3-b753-535d9deab448 + - 6825e51a-8217-4146-b7b8-4557f193328c status: 200 OK code: 200 - duration: 229.142817ms + duration: 1.137114099s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-04-22T14:12:41.458631Z","description":"","id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-22T14:12:41.458631Z"}' + body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' headers: Content-Length: - - "255" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:12:41 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 24d41817-068b-439c-9445-4f4a1d18f60a + - 2a01f2b2-718a-423d-9b40-d4fbcc2628dd status: 200 OK code: 200 - duration: 35.549234ms + duration: 57.499821ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","login":"testuserbasic","role":"editor"}' + body: '{"project_id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","login":"testuserbasic","role":"editor"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 81 + content_length: 78 uncompressed: false - body: '{"id":2,"login":"testuserbasic","password":"dLsrYcA6LZm_UBlb","role":"editor"}' + body: '{"id":2,"login":"testuserbasic","password":"7v66C74KQI4-JapK","role":"editor"}' headers: Content-Length: - - "81" + - "78" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:09 GMT + - Thu, 01 Aug 2024 13:53:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5e589c32-2e17-4895-a0bf-0b6f71d32d00 + - 65399d00-e661-4a3b-8d84-41d92c7819cc status: 200 OK code: 200 - duration: 27.839255272s + duration: 26.135276383s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 102 + content_length: 98 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "102" + - "98" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:12 GMT + - Thu, 01 Aug 2024 13:53:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 566a21fc-66ac-4ec1-9a96-1846f72628b4 + - 151f68ac-aa2d-4f96-9a7a-65396f404b4a status: 200 OK code: 200 - duration: 3.496786038s + duration: 198.794719ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 102 + content_length: 98 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "102" + - "98" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:16 GMT + - Thu, 01 Aug 2024 13:53:29 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6e5d4e2c-d8ee-4d23-9d36-23156fc58c7e + - 727b28bb-7dc2-416d-aa99-43cd763e27a9 status: 200 OK code: 200 - duration: 3.20014839s + duration: 124.984738ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-04-22T14:12:41.458631Z","description":"","id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-22T14:12:41.458631Z"}' + body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' headers: Content-Length: - - "255" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:16 GMT + - Thu, 01 Aug 2024 13:53:30 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b4f07c0e-c1af-46c9-92a2-d20a4f4a1d88 + - 81bcc1ff-b21a-42f8-91b6-2b19da93ae69 status: 200 OK code: 200 - duration: 60.768193ms + duration: 70.84779ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 102 + content_length: 98 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "102" + - "98" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:19 GMT + - Thu, 01 Aug 2024 13:53:30 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fc6a3478-70ed-4947-b3d8-4227d173c2a5 + - 31fbddb6-b4bb-4655-b515-b102c7bfe8da status: 200 OK code: 200 - duration: 3.291108213s + duration: 118.443688ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-04-22T14:12:41.458631Z","description":"","id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-22T14:12:41.458631Z"}' + body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' headers: Content-Length: - - "255" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:20 GMT + - Thu, 01 Aug 2024 13:53:30 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 15ffda66-c1df-44f2-9d0a-922418219988 + - c76f9103-010e-44f9-a25f-8fca4bc63616 status: 200 OK code: 200 - duration: 58.41986ms + duration: 68.021438ms - id: 8 request: proto: HTTP/1.1 @@ -412,8 +412,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 102 + content_length: 98 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "102" + - "98" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:20 GMT + - Thu, 01 Aug 2024 13:53:30 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 283557ea-c47c-4522-a0d4-be091a1da5cd + - 21b0a592-8441-4a64-900f-cc0cc29c91f6 status: 200 OK code: 200 - duration: 156.09072ms + duration: 132.44751ms - id: 9 request: proto: HTTP/1.1 @@ -461,8 +461,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 method: DELETE response: proto: HTTP/2.0 @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:20 GMT + - Thu, 01 Aug 2024 13:53:31 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6225b461-a50f-40dd-919c-e24cd0792b0c + - f79eae50-2bac-480b-93e8-f7273054720c status: 204 No Content code: 204 - duration: 209.648708ms + duration: 206.387233ms - id: 10 request: proto: HTTP/1.1 @@ -508,8 +508,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 method: GET response: proto: HTTP/2.0 @@ -517,20 +517,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 255 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-04-22T14:12:41.458631Z","description":"","id":"62b5fe03-1e22-4bbb-8c1e-2759bcd05761","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-22T14:12:41.458631Z"}' + body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' headers: Content-Length: - - "255" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:21 GMT + - Thu, 01 Aug 2024 13:53:31 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -538,10 +538,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d31110b5-f43e-46da-a2cd-2a0bfeb7a82a + - ba7196d2-9c33-4b7c-ba3b-3ac581f3ab14 status: 200 OK code: 200 - duration: 46.603341ms + duration: 52.957918ms - id: 11 request: proto: HTTP/1.1 @@ -557,8 +557,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/62b5fe03-1e22-4bbb-8c1e-2759bcd05761 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 method: DELETE response: proto: HTTP/2.0 @@ -575,9 +575,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:22 GMT + - Thu, 01 Aug 2024 13:53:33 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -585,7 +585,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8b557159-0065-4640-82cf-580b443a7216 + - bf5c707e-2c54-42f6-9403-3252c896895b status: 204 No Content code: 204 - duration: 1.268735207s + duration: 1.409005546s diff --git a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml index 58bd78514..b33934f5b 100644 --- a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml @@ -18,7 +18,7 @@ interactions: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:49:52 GMT + - Thu, 01 Aug 2024 13:58:18 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - faf419da-9185-4907-a7e0-26445db0b692 + - 3e03a170-65ce-44f5-ae12-321c561bf9ce status: 200 OK code: 200 - duration: 560.268815ms + duration: 280.319918ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:49:52 GMT + - Thu, 01 Aug 2024 13:58:18 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae3170e5-b2b1-4a98-8336-65084abe5a04 + - 804ea124-ba41-4c20-8e67-285a47dd6d2f status: 200 OK code: 200 - duration: 111.255023ms + duration: 64.529367ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"813353c8-9f5c-492c-8bfb-a773044d8b43","login":"testuserupdate","role":"editor"}' + body: '{"project_id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","login":"testuserupdate","role":"editor"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 82 + content_length: 79 uncompressed: false - body: '{"id":2,"login":"testuserupdate","password":"SpnwQDd4FfathjIh","role":"editor"}' + body: '{"id":2,"login":"testuserupdate","password":"kvP8w9ZuEHXzVpfp","role":"editor"}' headers: Content-Length: - - "82" + - "79" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:11 GMT + - Thu, 01 Aug 2024 13:58:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - 2f0740b1-3e22-4118-a86e-82b2dd138a5b + - 39e68db7-994c-492a-91bd-63b4f9ac8971 status: 200 OK code: 200 - duration: 19.218319772s + duration: 27.096415173s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:14 GMT + - Thu, 01 Aug 2024 13:58:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - e42f9603-a96c-4913-a323-7763d17fd1c0 + - bf26d6e3-12d0-4a8d-b34a-1a1ce2935aa7 status: 200 OK code: 200 - duration: 3.261074322s + duration: 149.48207ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:27 GMT + - Thu, 01 Aug 2024 13:58:45 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - 7f95c42c-5461-4c35-a69e-74bd12883e09 + - f37dd3b8-c5aa-4659-bf87-e17c59bbd76c status: 200 OK code: 200 - duration: 12.77929577s + duration: 165.736972ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:28 GMT + - Thu, 01 Aug 2024 13:58:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - e252ba40-0240-4a7b-a0fc-bdffbd9c5a9b + - 824dbff5-bf18-42b4-9320-9fe8c4e057ee status: 200 OK code: 200 - duration: 105.956052ms + duration: 64.912123ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:30 GMT + - Thu, 01 Aug 2024 13:58:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - 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: - - 6f5b298a-b25b-448f-904b-e59670419484 + - b81f32a3-3979-4b29-b45d-da31947884e9 status: 200 OK code: 200 - duration: 2.776245645s + duration: 106.403526ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:31 GMT + - Thu, 01 Aug 2024 13:58:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1acb8bd-ba1e-4b58-942d-2bc850556dda + - 90ccfd88-4fe8-4458-b9bc-f2ef495488b4 status: 200 OK code: 200 - duration: 89.697194ms + duration: 59.214529ms - id: 8 request: proto: HTTP/1.1 @@ -412,8 +412,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:31 GMT + - Thu, 01 Aug 2024 13:58:46 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 373e070b-eebe-4d17-8b13-d6c33c113651 + - fed185a3-0c53-4466-bd8e-aaa7a2f020dd status: 200 OK code: 200 - duration: 140.357651ms + duration: 109.838617ms - id: 9 request: proto: HTTP/1.1 @@ -461,8 +461,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: DELETE response: proto: HTTP/2.0 @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:32 GMT + - Thu, 01 Aug 2024 13:58:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f5c7def5-5875-46aa-a49f-295cf57a3652 + - 09ac3d5b-09e7-4fe7-9141-59164d7d5a50 status: 204 No Content code: 204 - duration: 294.139188ms + duration: 280.714573ms - id: 10 request: proto: HTTP/1.1 @@ -504,13 +504,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"813353c8-9f5c-492c-8bfb-a773044d8b43","login":"testuserupdate","role":"viewer"}' + body: '{"project_id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","login":"testuserupdate","role":"viewer"}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/grafana/users method: POST response: @@ -519,20 +519,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 82 + content_length: 79 uncompressed: false - body: '{"id":3,"login":"testuserupdate","password":"r-3IGPcP8FB84B1L","role":"viewer"}' + body: '{"id":3,"login":"testuserupdate","password":"4iDSrtcCj6w-9_t8","role":"viewer"}' headers: Content-Length: - - "82" + - "79" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Thu, 01 Aug 2024 13:58:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d574e85c-9344-4e89-8373-3e39a80601b5 + - cc2dca87-9d56-425d-a81e-fb4ad78c654a status: 200 OK code: 200 - duration: 3.525812331s + duration: 381.762479ms - id: 11 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -568,20 +568,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Thu, 01 Aug 2024 13:58:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6512fab6-1a89-4b30-ab33-d3d8fe54ed4a + - 76e253e9-c63b-4f4f-af6d-9ec75ee349c8 status: 200 OK code: 200 - duration: 129.590239ms + duration: 115.081121ms - id: 12 request: proto: HTTP/1.1 @@ -608,8 +608,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -617,20 +617,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Thu, 01 Aug 2024 13:58:47 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e4fec96-8368-47bf-8c26-303b4151655a + - cf61ba1a-57dc-4880-8734-e9440d0f83c7 status: 200 OK code: 200 - duration: 131.73905ms + duration: 107.857028ms - id: 13 request: proto: HTTP/1.1 @@ -657,8 +657,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -666,20 +666,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Thu, 01 Aug 2024 13:58:48 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 902980a9-4479-4a61-be8a-2c17af6b47df + - 0a2ac412-b4db-44fc-b1cd-f59429eaa01e status: 200 OK code: 200 - duration: 100.380819ms + duration: 63.048091ms - id: 14 request: proto: HTTP/1.1 @@ -706,8 +706,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -715,20 +715,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Thu, 01 Aug 2024 13:58:48 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3c397b22-2e76-4429-96b1-5dcf16c0ffc0 + - 14fcbd6f-c30a-4ea0-b540-e2385992601a status: 200 OK code: 200 - duration: 203.165656ms + duration: 101.686777ms - id: 15 request: proto: HTTP/1.1 @@ -755,8 +755,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -764,20 +764,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Thu, 01 Aug 2024 13:58:48 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -785,10 +785,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 99465fff-31b3-4079-809a-0424d1baf1c2 + - b97a93b4-b90a-488f-8ff3-2bb3e13fcc40 status: 200 OK code: 200 - duration: 109.864101ms + duration: 69.303965ms - id: 16 request: proto: HTTP/1.1 @@ -804,8 +804,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -813,20 +813,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 103 + content_length: 99 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "103" + - "99" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:37 GMT + - Thu, 01 Aug 2024 13:58:48 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -834,10 +834,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6b1ddbf-6b2d-4f23-9d4b-8cdf185e7ca4 + - b9f78beb-cbe1-4beb-b3c7-622c4d7815fb status: 200 OK code: 200 - duration: 127.799361ms + duration: 97.788353ms - id: 17 request: proto: HTTP/1.1 @@ -853,8 +853,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 method: DELETE response: proto: HTTP/2.0 @@ -871,9 +871,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:37 GMT + - Thu, 01 Aug 2024 13:58:49 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -881,10 +881,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c649cb0-520c-44f4-b2c3-6e2823545345 + - fe6a6194-d571-40b8-adf2-d5cfe68c88a3 status: 204 No Content code: 204 - duration: 284.847656ms + duration: 204.307846ms - id: 18 request: proto: HTTP/1.1 @@ -900,8 +900,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: GET response: proto: HTTP/2.0 @@ -909,20 +909,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 256 + content_length: 251 uncompressed: false - body: '{"created_at":"2024-04-22T13:49:51.702799Z","description":"","id":"813353c8-9f5c-492c-8bfb-a773044d8b43","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-04-22T13:49:51.702799Z"}' + body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' headers: Content-Length: - - "256" + - "251" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:38 GMT + - Thu, 01 Aug 2024 13:58:49 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -930,10 +930,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bdc7b998-6fbf-4e7e-8bb8-5738d0f0ebef + - 0a12db5b-4699-41b0-bdc7-dabedb5a0c46 status: 200 OK code: 200 - duration: 100.172402ms + duration: 68.210468ms - id: 19 request: proto: HTTP/1.1 @@ -949,8 +949,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/813353c8-9f5c-492c-8bfb-a773044d8b43 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 method: DELETE response: proto: HTTP/2.0 @@ -967,9 +967,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:39 GMT + - Thu, 01 Aug 2024 13:58:51 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -977,7 +977,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a385d39-6b22-4d86-8ef8-9ea2cd11fca9 + - a508116e-9ce1-4934-9d82-2d0070241d3c status: 204 No Content code: 204 - duration: 1.388247091s + duration: 1.363244712s diff --git a/internal/services/cockpit/testdata/token-basic.cassette.yaml b/internal/services/cockpit/testdata/token-basic.cassette.yaml index f649651ca..1be9ef0ce 100644 --- a/internal/services/cockpit/testdata/token-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/token-basic.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_tests_cockpit_token_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","description":""}' + body: '{"name":"tf_tests_cockpit_token_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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 243 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.549428Z","description":"","id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","name":"tf_tests_cockpit_token_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:19.549428Z"}' + body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' headers: Content-Length: - - "248" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e1194241-5b35-4557-a08f-eda1c502ef76 + - 0ac760db-a14c-4486-8fce-bc50b43d8428 status: 200 OK code: 200 - duration: 257.901871ms + duration: 1.15131012s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c87aea8a-982d-4df0-ae9b-2d5befef23bc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 243 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.549428Z","description":"","id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","name":"tf_tests_cockpit_token_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:19.549428Z"}' + body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' headers: Content-Length: - - "248" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9fd11662-f623-41a5-9b1a-0e2a2ac9c40f + - 7201b42d-a092-43dc-a19a-9a9f8b00bbd0 status: 200 OK code: 200 - duration: 46.10739ms + duration: 79.277923ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","name":"tf_tests_cockpit_token_basic","token_scopes":["write_only_metrics","read_only_metrics"]}' + body: '{"project_id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","token_scopes":["write_only_metrics","read_only_metrics"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 379 + content_length: 371 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.955028Z","id":"068ce5e4-ffb2-44be-b861-a3058ada6d65","name":"tf_tests_cockpit_token_basic","project_id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:19.955028Z"}' + body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' headers: Content-Length: - - "379" + - "371" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff64a856-4566-410a-8cf8-8f864d32a3c5 + - b2d645b6-918c-4678-b3bd-f72cfdbfbfbb status: 200 OK code: 200 - duration: 190.254143ms + duration: 133.790167ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/068ce5e4-ffb2-44be-b861-a3058ada6d65 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 317 + content_length: 309 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.955028Z","id":"068ce5e4-ffb2-44be-b861-a3058ada6d65","name":"tf_tests_cockpit_token_basic","project_id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:19.955028Z"}' + body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' headers: Content-Length: - - "317" + - "309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a1ce614-993c-41a9-b721-873a42e3c592 + - b5f62793-bc19-4d61-9394-c2e489750a67 status: 200 OK code: 200 - duration: 50.031817ms + duration: 49.802727ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/068ce5e4-ffb2-44be-b861-a3058ada6d65 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 317 + content_length: 309 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.955028Z","id":"068ce5e4-ffb2-44be-b861-a3058ada6d65","name":"tf_tests_cockpit_token_basic","project_id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:19.955028Z"}' + body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' headers: Content-Length: - - "317" + - "309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fd0d4b4b-aa9b-43df-a6ce-c00c0899c706 + - ac14e4d3-a471-4c8d-8511-5cd4ab3710a9 status: 200 OK code: 200 - duration: 52.46116ms + duration: 62.941665ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c87aea8a-982d-4df0-ae9b-2d5befef23bc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 243 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.549428Z","description":"","id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","name":"tf_tests_cockpit_token_basic","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:19.549428Z"}' + body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' headers: Content-Length: - - "248" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0ea81152-3eae-432f-94b7-1b572e6d5b5b + - bf70fd48-84e9-488c-91da-3be261b9650e status: 200 OK code: 200 - duration: 56.076007ms + duration: 175.995025ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/068ce5e4-ffb2-44be-b861-a3058ada6d65 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 317 + content_length: 309 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:19.955028Z","id":"068ce5e4-ffb2-44be-b861-a3058ada6d65","name":"tf_tests_cockpit_token_basic","project_id":"c87aea8a-982d-4df0-ae9b-2d5befef23bc","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:19.955028Z"}' + body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' headers: Content-Length: - - "317" + - "309" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6eae1a6a-00c1-4ee1-b7d1-473eaa29e51a + - 702fe236-85cf-4d16-b770-e128e4565397 status: 200 OK code: 200 - duration: 50.990995ms + duration: 143.668784ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/068ce5e4-ffb2-44be-b861-a3058ada6d65 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:21 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a99fa2f-1bdf-49bd-9907-2636d492ab90 + - 5f147215-1116-4186-afe6-69a7b9f8b826 status: 204 No Content code: 204 - duration: 58.833544ms + duration: 48.724923ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c87aea8a-982d-4df0-ae9b-2d5befef23bc + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:22 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2970bf8d-cab3-41be-a068-86daf3c8eaa5 + - 9d19011a-d046-462a-995d-0ba724d6ac04 status: 204 No Content code: 204 - duration: 1.433611409s + duration: 1.377612114s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/068ce5e4-ffb2-44be-b861-a3058ada6d65 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 method: DELETE response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"068ce5e4-ffb2-44be-b861-a3058ada6d65","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","type":"not_found"}' headers: Content-Length: - "126" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:22 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2c786ee-e5c3-46e2-95dd-ce3f47cedc41 + - 60570c89-f9b0-4851-bdee-046571fcf7d5 status: 404 Not Found code: 404 - duration: 30.730797ms + duration: 21.641357ms diff --git a/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml b/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml index ca717b55e..b7572a13b 100644 --- a/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml +++ b/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_tests_cockpit_token_no_scopes","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","description":""}' + body: '{"name":"tf_tests_cockpit_token_no_scopes","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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 252 + content_length: 247 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.022900Z","description":"","id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","name":"tf_tests_cockpit_token_no_scopes","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:37.022900Z"}' + body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Thu, 01 Aug 2024 13:53:02 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4e5d5a5a-b488-4a8e-a8cc-e0268e88dc0e + - 64c3a2ea-2cc9-454e-be21-27455d12aa7d status: 200 OK code: 200 - duration: 293.298521ms + duration: 1.055546922s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2f99ccec-ec79-4c1c-8a92-227ff6738681 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 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-04-23T11:02:37.022900Z","description":"","id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","name":"tf_tests_cockpit_token_no_scopes","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:37.022900Z"}' + body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ffb57a13-11e6-499a-839b-894bb238c922 + - a7c8fc3a-b17a-4cd4-bfba-21b8ee9ffa78 status: 200 OK code: 200 - duration: 53.972204ms + duration: 58.012539ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","name":"tf_tests_cockpit_token_no_scopes","token_scopes":["write_only_metrics","write_only_logs"]}' + body: '{"project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","token_scopes":["write_only_metrics","write_only_logs"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 373 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.431539Z","id":"49df997c-b8fc-4033-a06a-10a016be2bca","name":"tf_tests_cockpit_token_no_scopes","project_id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:37.431539Z"}' + body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' headers: Content-Length: - - "381" + - "373" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2d128438-e0a0-4438-9c66-214acc7c25a4 + - e677e882-1fd3-4d20-9d80-a94847877e5e status: 200 OK code: 200 - duration: 228.771743ms + duration: 256.938674ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/49df997c-b8fc-4033-a06a-10a016be2bca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 319 + content_length: 311 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.431539Z","id":"49df997c-b8fc-4033-a06a-10a016be2bca","name":"tf_tests_cockpit_token_no_scopes","project_id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:37.431539Z"}' + body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' headers: Content-Length: - - "319" + - "311" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9cbac928-d667-45d7-bf8e-21aab5ac0549 + - 664afde8-0b08-4ab2-964a-f2ef3ad0af0a status: 200 OK code: 200 - duration: 51.822938ms + duration: 49.829767ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/49df997c-b8fc-4033-a06a-10a016be2bca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 319 + content_length: 311 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.431539Z","id":"49df997c-b8fc-4033-a06a-10a016be2bca","name":"tf_tests_cockpit_token_no_scopes","project_id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:37.431539Z"}' + body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' headers: Content-Length: - - "319" + - "311" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 57c68679-582b-46b6-b5ed-0da386568e3b + - f20450d1-04ea-4fd3-b7bf-2af3bd7b24fa status: 200 OK code: 200 - duration: 49.080157ms + duration: 63.035595ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2f99ccec-ec79-4c1c-8a92-227ff6738681 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 252 + content_length: 247 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.022900Z","description":"","id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","name":"tf_tests_cockpit_token_no_scopes","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:02:37.022900Z"}' + body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' headers: Content-Length: - - "252" + - "247" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:38 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2da00177-9d62-496c-bb30-e9c91019e49b + - 8d410c8f-f4d9-495f-9673-a096585a6d32 status: 200 OK code: 200 - duration: 48.507267ms + duration: 322.31106ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/49df997c-b8fc-4033-a06a-10a016be2bca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 319 + content_length: 311 uncompressed: false - body: '{"created_at":"2024-04-23T11:02:37.431539Z","id":"49df997c-b8fc-4033-a06a-10a016be2bca","name":"tf_tests_cockpit_token_no_scopes","project_id":"2f99ccec-ec79-4c1c-8a92-227ff6738681","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:02:37.431539Z"}' + body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' headers: Content-Length: - - "319" + - "311" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:38 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac9845b3-38a8-4e4c-a1d9-11ee5db054ec + - 64a93854-4810-4f52-ba95-5f5d3fbed64b status: 200 OK code: 200 - duration: 53.561182ms + duration: 54.484182ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/49df997c-b8fc-4033-a06a-10a016be2bca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:38 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eab2213d-402e-4327-8e60-b48fb423e345 + - 2d5aef53-b1f0-4d83-9294-b7126d59ccb9 status: 204 No Content code: 204 - duration: 60.833407ms + duration: 53.980139ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2f99ccec-ec79-4c1c-8a92-227ff6738681 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:39 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 72675efa-6fe1-4928-80cf-6d9a0abf7e1c + - 1fe78747-1de1-453e-862e-9562cfe0d692 status: 204 No Content code: 204 - duration: 1.297685387s + duration: 1.32851465s - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/49df997c-b8fc-4033-a06a-10a016be2bca + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df method: DELETE response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"49df997c-b8fc-4033-a06a-10a016be2bca","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","type":"not_found"}' headers: Content-Length: - "126" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:40 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge01) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9c146cc-5b3e-4390-a1b1-43343e5aaccd + - 9bf5eab4-6dde-4938-bd7c-d6bec26ffcb7 status: 404 Not Found code: 404 - duration: 34.122425ms + duration: 34.206694ms diff --git a/internal/services/cockpit/testdata/token-update.cassette.yaml b/internal/services/cockpit/testdata/token-update.cassette.yaml index 5794bb489..dee2bcd7c 100644 --- a/internal/services/cockpit/testdata/token-update.cassette.yaml +++ b/internal/services/cockpit/testdata/token-update.cassette.yaml @@ -12,13 +12,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","description":""}' + body: '{"name":"tf_tests_cockpit_token_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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/account/v3/projects method: POST response: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 244 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:29.739879Z","description":"","id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:03:29.739879Z"}' + body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' headers: Content-Length: - - "249" + - "244" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:29 GMT + - Thu, 01 Aug 2024 13:53:02 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7a48637a-8b7f-4d8c-93b1-6e48fc3aa239 + - bdc566c3-033c-4aa5-a8ca-a832d2ea0580 status: 200 OK code: 200 - duration: 298.750296ms + duration: 552.98793ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c7635043-ee4b-4317-9b02-1f6f0a83ebcb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 244 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:29.739879Z","description":"","id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:03:29.739879Z"}' + body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' headers: Content-Length: - - "249" + - "244" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:29 GMT + - Thu, 01 Aug 2024 13:53:02 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fac49c55-e24e-4609-86b7-b757f1f061fe + - 4e1f2ec8-5832-49a2-b7ad-b63d45a782f1 status: 200 OK code: 200 - duration: 51.688471ms + duration: 469.821798ms - id: 2 request: proto: HTTP/1.1 @@ -112,13 +112,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","token_scopes":["write_only_metrics","read_only_metrics"]}' + body: '{"project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","token_scopes":["read_only_metrics","write_only_metrics"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens method: POST response: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 372 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:30.115564Z","id":"79dccd64-d0ae-459e-8ca9-b577c744b35e","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:30.115564Z"}' + body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' headers: Content-Length: - - "380" + - "372" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2ae2a46c-734b-4b9f-b7ad-65a704a009d5 + - 51ff1e75-56ea-4de3-a211-270952c17b3b status: 200 OK code: 200 - duration: 118.277296ms + duration: 181.009549ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/79dccd64-d0ae-459e-8ca9-b577c744b35e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 318 + content_length: 310 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:30.115564Z","id":"79dccd64-d0ae-459e-8ca9-b577c744b35e","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:30.115564Z"}' + body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' headers: Content-Length: - - "318" + - "310" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - edd350b3-a7cd-475b-8f52-7368fff92ab6 + - d4ef67c1-dd1f-4de8-8e9d-6e825fc277c1 status: 200 OK code: 200 - duration: 54.57411ms + duration: 53.836855ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/79dccd64-d0ae-459e-8ca9-b577c744b35e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 318 + content_length: 310 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:30.115564Z","id":"79dccd64-d0ae-459e-8ca9-b577c744b35e","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:30.115564Z"}' + body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' headers: Content-Length: - - "318" + - "310" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Thu, 01 Aug 2024 13:53:03 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0f2ef147-4131-4e02-9640-7ad979325c15 + - 9f712b8f-f3df-43d5-8fda-1e5d594aa312 status: 200 OK code: 200 - duration: 43.170117ms + duration: 50.618207ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c7635043-ee4b-4317-9b02-1f6f0a83ebcb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 244 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:29.739879Z","description":"","id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:03:29.739879Z"}' + body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' headers: Content-Length: - - "249" + - "244" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46539e90-0765-45af-ae8d-b3796542473b + - 1b5809b3-9538-407c-8b60-03cc74156e29 status: 200 OK code: 200 - duration: 49.527873ms + duration: 95.888299ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/79dccd64-d0ae-459e-8ca9-b577c744b35e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 318 + content_length: 310 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:30.115564Z","id":"79dccd64-d0ae-459e-8ca9-b577c744b35e","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:30.115564Z"}' + body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' headers: Content-Length: - - "318" + - "310" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21c58e8c-139e-4ae3-bd73-ea891f1906bd + - f40e9f9c-05e2-406a-83bc-0ec5fc356553 status: 200 OK code: 200 - duration: 51.261299ms + duration: 42.510993ms - 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.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c7635043-ee4b-4317-9b02-1f6f0a83ebcb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 244 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:29.739879Z","description":"","id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:03:29.739879Z"}' + body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' headers: Content-Length: - - "249" + - "244" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eabd3a5f-1d60-48d8-b6b1-01b57befe8ad + - db915ec4-394f-4ab1-a222-915e147ba773 status: 200 OK code: 200 - duration: 40.950172ms + duration: 52.894104ms - id: 8 request: proto: HTTP/1.1 @@ -412,8 +412,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/79dccd64-d0ae-459e-8ca9-b577c744b35e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 318 + content_length: 310 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:30.115564Z","id":"79dccd64-d0ae-459e-8ca9-b577c744b35e","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:30.115564Z"}' + body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' headers: Content-Length: - - "318" + - "310" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:04 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3e0cddc5-bf60-426a-a90f-dc7a5236594a + - 3bcc0a95-91cb-4f71-92a4-fd40e8ea6aed status: 200 OK code: 200 - duration: 50.396859ms + duration: 44.209993ms - id: 9 request: proto: HTTP/1.1 @@ -461,8 +461,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/79dccd64-d0ae-459e-8ca9-b577c744b35e + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b method: DELETE response: proto: HTTP/2.0 @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 754a6177-f9d3-4d1f-bb7c-cad1fad5a666 + - 0864fd4a-8ed2-4a6a-a9d7-ef5f6d2b2bde status: 204 No Content code: 204 - duration: 51.967625ms + duration: 60.847461ms - id: 10 request: proto: HTTP/1.1 @@ -504,13 +504,13 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","token_scopes":["write_only_metrics","write_only_logs","read_only_metrics"]}' + body: '{"project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","token_scopes":["read_only_metrics","write_only_logs","write_only_metrics"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens method: POST response: @@ -519,20 +519,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 399 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:31.685350Z","id":"09ae6efe-342b-4510-abc2-1d97d3e1d517","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:31.685350Z"}' + body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' headers: Content-Length: - - "399" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 47d79d12-d02f-4a2a-9d47-03a55f9332e3 + - 9ec5b7a5-634b-4f79-a206-23e8aa375e42 status: 200 OK code: 200 - duration: 55.991061ms + duration: 67.843215ms - id: 11 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/09ae6efe-342b-4510-abc2-1d97d3e1d517 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe method: GET response: proto: HTTP/2.0 @@ -568,20 +568,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 337 + content_length: 328 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:31.685350Z","id":"09ae6efe-342b-4510-abc2-1d97d3e1d517","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:31.685350Z"}' + body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' headers: Content-Length: - - "337" + - "328" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4635cc82-51f1-46fe-8834-ee4280f38a9e + - 8882e421-c185-4878-a2f8-1f0d51d89e48 status: 200 OK code: 200 - duration: 49.101978ms + duration: 48.486261ms - id: 12 request: proto: HTTP/1.1 @@ -608,8 +608,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/09ae6efe-342b-4510-abc2-1d97d3e1d517 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe method: GET response: proto: HTTP/2.0 @@ -617,20 +617,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 337 + content_length: 328 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:31.685350Z","id":"09ae6efe-342b-4510-abc2-1d97d3e1d517","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:31.685350Z"}' + body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' headers: Content-Length: - - "337" + - "328" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Thu, 01 Aug 2024 13:53:05 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1041e102-463a-4f01-a2a5-e66e0300dad4 + - 39c463cb-d256-4032-b521-b22a9934a5cb status: 200 OK code: 200 - duration: 48.376457ms + duration: 59.062847ms - id: 13 request: proto: HTTP/1.1 @@ -657,8 +657,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c7635043-ee4b-4317-9b02-1f6f0a83ebcb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 method: GET response: proto: HTTP/2.0 @@ -666,20 +666,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 249 + content_length: 244 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:29.739879Z","description":"","id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","name":"tf_tests_cockpit_token_update","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","updated_at":"2024-04-23T11:03:29.739879Z"}' + body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' headers: Content-Length: - - "249" + - "244" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:32 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb237f50-d4b8-4a81-81a5-fb7090e7de24 + - 38db8693-f198-4873-af5f-4f2ed1179454 status: 200 OK code: 200 - duration: 56.047972ms + duration: 48.009485ms - id: 14 request: proto: HTTP/1.1 @@ -706,8 +706,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/09ae6efe-342b-4510-abc2-1d97d3e1d517 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe method: GET response: proto: HTTP/2.0 @@ -715,20 +715,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 337 + content_length: 328 uncompressed: false - body: '{"created_at":"2024-04-23T11:03:31.685350Z","id":"09ae6efe-342b-4510-abc2-1d97d3e1d517","name":"tf_tests_cockpit_token_update","project_id":"c7635043-ee4b-4317-9b02-1f6f0a83ebcb","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-04-23T11:03:31.685350Z"}' + body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' headers: Content-Length: - - "337" + - "328" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:32 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 45bf1a55-e30f-452c-8b2a-84dd7123ab2e + - b6796041-7ca4-4e94-9803-3b04e122b03c status: 200 OK code: 200 - duration: 46.300633ms + duration: 42.364494ms - id: 15 request: proto: HTTP/1.1 @@ -755,8 +755,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/09ae6efe-342b-4510-abc2-1d97d3e1d517 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe method: DELETE response: proto: HTTP/2.0 @@ -773,9 +773,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:32 GMT + - Thu, 01 Aug 2024 13:53:06 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -783,10 +783,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0b64c5cb-9e86-462f-b20a-1b15079a6b2b + - 95bf6a76-7509-45f7-9582-23e170c6827d status: 204 No Content code: 204 - duration: 57.67835ms + duration: 49.020043ms - id: 16 request: proto: HTTP/1.1 @@ -802,8 +802,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c7635043-ee4b-4317-9b02-1f6f0a83ebcb + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 method: DELETE response: proto: HTTP/2.0 @@ -820,9 +820,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:34 GMT + - Thu, 01 Aug 2024 13:53:07 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -830,10 +830,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 07103978-7ad6-4492-9b78-7104aab66c14 + - 5137aa16-5fd1-4295-9e93-8eda0cf8036e status: 204 No Content code: 204 - duration: 1.276586289s + duration: 1.168279692s - id: 17 request: proto: HTTP/1.1 @@ -849,8 +849,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.2; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/09ae6efe-342b-4510-abc2-1d97d3e1d517 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe method: DELETE response: proto: HTTP/2.0 @@ -860,7 +860,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"09ae6efe-342b-4510-abc2-1d97d3e1d517","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"71e42844-e3ef-46a4-8119-28224a420afe","type":"not_found"}' headers: Content-Length: - "126" @@ -869,9 +869,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:34 GMT + - Thu, 01 Aug 2024 13:53:08 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -879,7 +879,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e3dfd1b-8c6d-49a2-b043-087c61643de3 + - 938b3677-39e3-4871-8867-071314fe3229 status: 404 Not Found code: 404 - duration: 24.053217ms + duration: 665.445337ms diff --git a/internal/services/cockpit/testfuncs/sweep.go b/internal/services/cockpit/testfuncs/sweep.go index 21882d266..09534ac03 100644 --- a/internal/services/cockpit/testfuncs/sweep.go +++ b/internal/services/cockpit/testfuncs/sweep.go @@ -6,12 +6,10 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" accountSDK "github.com/scaleway/scaleway-sdk-go/api/account/v3" - cockpitv1 "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" - cockpitv1beta1 "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" + "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" - "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/cockpit" ) func AddTestSweepers() { @@ -36,7 +34,7 @@ func AddTestSweepers() { func testSweepCockpitToken(_ string) error { return acctest.Sweep(func(scwClient *scw.Client) error { accountAPI := accountSDK.NewProjectAPI(scwClient) - cockpitAPI := cockpitv1beta1.NewAPI(scwClient) + cockpitAPI := cockpit.NewRegionalAPI(scwClient) listProjects, err := accountAPI.ListProjects(&accountSDK.ProjectAPIListProjectsRequest{}, scw.WithAllPages()) if err != nil { @@ -48,7 +46,7 @@ func testSweepCockpitToken(_ string) error { continue } - listTokens, err := cockpitAPI.ListTokens(&cockpitv1beta1.ListTokensRequest{ + listTokens, err := cockpitAPI.ListTokens(&cockpit.RegionalAPIListTokensRequest{ ProjectID: project.ID, }, scw.WithAllPages()) if err != nil { @@ -60,7 +58,7 @@ func testSweepCockpitToken(_ string) error { } for _, token := range listTokens.Tokens { - err = cockpitAPI.DeleteToken(&cockpitv1beta1.DeleteTokenRequest{ + err = cockpitAPI.DeleteToken(&cockpit.RegionalAPIDeleteTokenRequest{ TokenID: token.ID, }) if err != nil { @@ -78,7 +76,7 @@ func testSweepCockpitToken(_ string) error { func testSweepCockpitGrafanaUser(_ string) error { return acctest.Sweep(func(scwClient *scw.Client) error { accountAPI := accountSDK.NewProjectAPI(scwClient) - cockpitAPI := cockpitv1.NewGlobalAPI(scwClient) + cockpitAPI := cockpit.NewGlobalAPI(scwClient) listProjects, err := accountAPI.ListProjects(&accountSDK.ProjectAPIListProjectsRequest{}, scw.WithAllPages()) if err != nil { @@ -90,7 +88,7 @@ func testSweepCockpitGrafanaUser(_ string) error { continue } - listGrafanaUsers, err := cockpitAPI.ListGrafanaUsers(&cockpitv1.GlobalAPIListGrafanaUsersRequest{ + listGrafanaUsers, err := cockpitAPI.ListGrafanaUsers(&cockpit.GlobalAPIListGrafanaUsersRequest{ ProjectID: project.ID, }, scw.WithAllPages()) if err != nil { @@ -102,7 +100,7 @@ func testSweepCockpitGrafanaUser(_ string) error { } for _, grafanaUser := range listGrafanaUsers.GrafanaUsers { - err = cockpitAPI.DeleteGrafanaUser(&cockpitv1.GlobalAPIDeleteGrafanaUserRequest{ + err = cockpitAPI.DeleteGrafanaUser(&cockpit.GlobalAPIDeleteGrafanaUserRequest{ ProjectID: project.ID, GrafanaUserID: grafanaUser.ID, }) @@ -121,7 +119,6 @@ func testSweepCockpitGrafanaUser(_ string) error { func testSweepCockpit(_ string) error { return acctest.Sweep(func(scwClient *scw.Client) error { accountAPI := accountSDK.NewProjectAPI(scwClient) - cockpitAPI := cockpitv1beta1.NewAPI(scwClient) listProjects, err := accountAPI.ListProjects(&accountSDK.ProjectAPIListProjectsRequest{}, scw.WithAllPages()) if err != nil { @@ -133,19 +130,12 @@ func testSweepCockpit(_ string) error { continue } - _, err = cockpitAPI.WaitForCockpit(&cockpitv1beta1.WaitForCockpitRequest{ - ProjectID: project.ID, - Timeout: scw.TimeDurationPtr(cockpit.DefaultCockpitTimeout), - }) if err != nil { if !httperrors.Is404(err) { return fmt.Errorf("failed to deactivate cockpit: %w", err) } } - _, err = cockpitAPI.DeactivateCockpit(&cockpitv1beta1.DeactivateCockpitRequest{ - ProjectID: project.ID, - }) if err != nil { if !httperrors.Is404(err) { return fmt.Errorf("failed to deactivate cockpit: %w", err) @@ -160,7 +150,7 @@ func testSweepCockpit(_ string) error { func testSweepCockpitSource(_ string) error { return acctest.SweepRegions(scw.AllRegions, func(scwClient *scw.Client, region scw.Region) error { accountAPI := accountSDK.NewProjectAPI(scwClient) - cockpitAPI := cockpitv1.NewRegionalAPI(scwClient) + cockpitAPI := cockpit.NewRegionalAPI(scwClient) listProjects, err := accountAPI.ListProjects(&accountSDK.ProjectAPIListProjectsRequest{}, scw.WithAllPages()) if err != nil { @@ -172,7 +162,7 @@ func testSweepCockpitSource(_ string) error { continue } - listDatasources, err := cockpitAPI.ListDataSources(&cockpitv1.RegionalAPIListDataSourcesRequest{ + listDatasources, err := cockpitAPI.ListDataSources(&cockpit.RegionalAPIListDataSourcesRequest{ ProjectID: project.ID, Region: region, }, scw.WithAllPages()) @@ -185,7 +175,7 @@ func testSweepCockpitSource(_ string) error { } for _, datsource := range listDatasources.DataSources { - err = cockpitAPI.DeleteDataSource(&cockpitv1.RegionalAPIDeleteDataSourceRequest{ + err = cockpitAPI.DeleteDataSource(&cockpit.RegionalAPIDeleteDataSourceRequest{ DataSourceID: datsource.ID, Region: region, }) diff --git a/internal/services/cockpit/types.go b/internal/services/cockpit/types.go index 075e4c011..085ac3eca 100644 --- a/internal/services/cockpit/types.go +++ b/internal/services/cockpit/types.go @@ -2,7 +2,6 @@ package cockpit import ( "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1" - cockpitv1beta1 "github.com/scaleway/scaleway-sdk-go/api/cockpit/v1beta1" ) var scopeMapping = map[string]cockpit.TokenScope{ @@ -17,25 +16,55 @@ var scopeMapping = map[string]cockpit.TokenScope{ "write_traces": cockpit.TokenScopeWriteOnlyTraces, } -func flattenCockpitEndpoints(endpoints *cockpitv1beta1.CockpitEndpoints) []map[string]interface{} { - return []map[string]interface{}{ +func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL string) []map[string]interface{} { + endpointMap := map[string]string{} + + for _, dataSource := range dataSources { + switch dataSource.Type { + case "metrics": + endpointMap["metrics_url"] = dataSource.URL + case "logs": + endpointMap["logs_url"] = dataSource.URL + case "unknown_type": + endpointMap["alertmanager_url"] = dataSource.URL + case "traces": + endpointMap["traces_url"] = dataSource.URL + } + } + + endpoints := []map[string]interface{}{ { - "metrics_url": endpoints.MetricsURL, - "logs_url": endpoints.LogsURL, - "alertmanager_url": endpoints.AlertmanagerURL, - "grafana_url": endpoints.GrafanaURL, - "traces_url": endpoints.TracesURL, + "metrics_url": endpointMap["metrics_url"], + "logs_url": endpointMap["logs_url"], + "alertmanager_url": endpointMap["alertmanager_url"], + "grafana_url": grafanaURL, + "traces_url": endpointMap["traces_url"], }, } + + return endpoints } -func createCockpitPushURL(endpoints *cockpitv1beta1.CockpitEndpoints) []map[string]interface{} { - return []map[string]interface{}{ - { - "push_metrics_url": endpoints.MetricsURL + pathMetricsURL, - "push_logs_url": endpoints.LogsURL + pathLogsURL, - }, +func createCockpitPushURL(endpoints []map[string]interface{}) []map[string]interface{} { + var result []map[string]interface{} + + for _, endpoint := range endpoints { + newEndpoint := make(map[string]interface{}) + + if metricsURL, ok := endpoint["metrics_url"].(string); ok && metricsURL != "" { + newEndpoint["push_metrics_url"] = metricsURL + pathMetricsURL + } + + if logsURL, ok := endpoint["logs_url"].(string); ok && logsURL != "" { + newEndpoint["push_logs_url"] = logsURL + pathLogsURL + } + + if len(newEndpoint) > 0 { + result = append(result, newEndpoint) + } } + + return result } func expandCockpitTokenScopes(raw interface{}) []cockpit.TokenScope { From 29928c271479d138c1f1f3d132154dd74d8970e8 Mon Sep 17 00:00:00 2001 From: jremy Date: Thu, 1 Aug 2024 16:43:54 +0200 Subject: [PATCH 02/10] fix error 500 --- ...ockpit-with-source-endpoints.cassette.yaml | 635 ++++++++---------- 1 file changed, 292 insertions(+), 343 deletions(-) diff --git a/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml index ecdb1fa92..63624d066 100644 --- a/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 247 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' headers: Content-Length: - "247" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: - - 858c5e5e-43e1-44b6-a518-325cf3eb7e5d + - bd799936-7e33-4362-8ad1-b1be4cfde979 status: 200 OK code: 200 - duration: 1.121009733s + duration: 255.623023ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 247 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' headers: Content-Length: - "247" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4d5019ef-eecd-4418-ae5a-010758762410 + - 8a030929-1d11-462e-adfb-b4a5a5035d40 status: 200 OK code: 200 - duration: 79.275954ms + duration: 56.916ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' form: {} headers: Content-Type: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - "184" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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,22 +148,22 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3161da62-9448-4cce-ac32-d7c731c51bb7 + - 63b0d30d-5740-455c-8f18-332fc2a24508 status: 200 OK code: 200 - duration: 89.097268ms + duration: 138.986204ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 100 + content_length: 102 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-traces","type":"traces"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-metrics","type":"metrics"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 387 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "387" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -199,22 +199,22 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 53c7e91d-c77e-41ba-97e2-5e0b499c5ba2 + - c757df0e-9444-4f23-91fb-30bb2a3a35a7 status: 200 OK code: 200 - duration: 281.028011ms + duration: 545.936773ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 96 + content_length: 100 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-logs","type":"logs"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-traces","type":"traces"}' form: {} headers: Content-Type: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 387 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "387" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -250,48 +250,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4be56914-a045-45af-b3cf-3891d1dbaa35 + - cd3945e3-922b-40cc-8562-b7e667deb9cd status: 200 OK code: 200 - duration: 324.801131ms + duration: 545.937081ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 96 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-logs","type":"logs"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d - method: GET + 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: 387 + content_length: 381 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "387" + - "381" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -299,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39fb6e21-0197-4805-96ea-d8c633650457 + - 9e177548-c810-4c63-8774-62d858b2a513 status: 200 OK code: 200 - duration: 55.057062ms + duration: 545.951643ms - id: 6 request: proto: HTTP/1.1 @@ -319,7 +321,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 method: GET response: proto: HTTP/2.0 @@ -327,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -348,29 +350,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ed821526-8012-46c0-869d-b58a53f42d1b + - 8718d33a-867c-40e2-809c-8642f0eb6009 status: 200 OK code: 200 - duration: 59.132275ms + duration: 48.55437ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 102 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"my-data-source-metrics","type":"metrics"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' form: {} headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable method: POST response: proto: HTTP/2.0 @@ -378,20 +380,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 183 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "390" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -399,10 +401,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 569935f7-3a78-4558-9fd2-70df64880a90 + - 680a0e39-d6ae-4d47-a9d5-f53af5e907f6 status: 200 OK code: 200 - duration: 475.080393ms + duration: 455.459278ms - id: 8 request: proto: HTTP/1.1 @@ -419,7 +421,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 method: GET response: proto: HTTP/2.0 @@ -427,20 +429,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 381 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "381" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -448,50 +450,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 72fd0c67-ead5-4d2f-9e38-6ca121b4f20f + - 7707b9b9-dc38-436f-af7d-1f2deea28a4d status: 200 OK code: 200 - duration: 76.902026ms + duration: 52.350219ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable - method: POST + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 387 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "387" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Thu, 01 Aug 2024 14:51:47 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: @@ -499,10 +499,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b00d6c1e-d962-40b6-b0e4-47a4b9dc9690 + - 7c204a88-0794-411d-9bb6-817d54631954 status: 200 OK code: 200 - duration: 539.273205ms + duration: 72.899199ms - id: 10 request: proto: HTTP/1.1 @@ -519,7 +519,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -529,7 +529,7 @@ interactions: trailer: {} content_length: 183 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - "183" @@ -538,9 +538,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Thu, 01 Aug 2024 14:51:48 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: @@ -548,10 +548,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 623c4d75-b82c-4239-979f-761b689dfbb4 + - 0a3236bc-ef4f-4d6a-ae74-a2df56069f20 status: 200 OK code: 200 - duration: 99.880583ms + duration: 56.443224ms - id: 11 request: proto: HTTP/1.1 @@ -568,7 +568,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -587,9 +587,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Thu, 01 Aug 2024 14:51:48 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: @@ -597,10 +597,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d8690fd3-8163-4c19-8e98-909599b2332e + - eb6fccb7-ea04-4557-87b7-b31d626d3f5a status: 200 OK code: 200 - duration: 126.136701ms + duration: 130.452386ms - id: 12 request: proto: HTTP/1.1 @@ -612,58 +612,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","login":"cockpit_test","role":"editor"}' - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 28 - uncompressed: false - body: '{"message":"Internal error"}' - headers: - Content-Length: - - "28" - Content-Security-Policy: - - default-src 'none'; frame-ancestors 'none' - Content-Type: - - application/json - Date: - - Thu, 01 Aug 2024 13:53:38 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: - - 622ac735-6f69-44bc-9f65-0367713c11d8 - status: 500 Internal Server Error - code: 500 - duration: 35.644454392s - - id: 13 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 92 - transfer_encoding: [] - trailer: {} - host: api.scaleway.com - remote_addr: "" - request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","login":"cockpit_test","role":"editor"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","login":"cockpit_test","role":"editor"}' form: {} headers: Content-Type: @@ -680,7 +629,7 @@ interactions: trailer: {} content_length: 77 uncompressed: false - body: '{"id":2,"login":"cockpit_test","password":"k-UBBiBf8xtepQbu","role":"editor"}' + body: '{"id":2,"login":"cockpit_test","password":"4btiVRPmFORWlBxj","role":"editor"}' headers: Content-Length: - "77" @@ -689,9 +638,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -699,11 +648,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a0e7593f-c610-42d9-998e-29e23b10fac0 + - 8a401108-342b-4d5b-af35-5cff1aad7ba4 status: 200 OK code: 200 - duration: 6.391790528s - - id: 14 + duration: 35.050818265s + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -719,7 +668,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -738,9 +687,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -748,11 +697,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 55d6e379-2e13-49fb-adec-8d9be26a39b1 + - 5ce22429-151a-42a3-9c33-750fdbec091a status: 200 OK code: 200 - duration: 137.45924ms - - id: 15 + duration: 118.008169ms + - id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -787,9 +736,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -797,11 +746,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a1ab6b66-dd71-4d37-9940-75de70f2f1b3 + - cd9c8cd7-2642-4f04-98ad-10499f61fc4b status: 200 OK code: 200 - duration: 26.611725ms - - id: 16 + duration: 31.374957ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -812,7 +761,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","plan_name":"premium"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","plan_name":"premium"}' form: {} headers: Content-Type: @@ -838,9 +787,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -848,11 +797,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 40b665d7-040f-4c67-bccb-3cf76cb293a8 + - ceb1617c-3fa1-4bb1-af51-dfd5dd36cbd2 status: 200 OK code: 200 - duration: 98.556332ms - - id: 17 + duration: 94.157418ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -868,7 +817,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -887,9 +836,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -897,11 +846,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 606572a6-dca7-4bfc-9cbf-e05bd2aa1fae + - c2e425cc-ee12-415c-accd-f705d8553730 status: 200 OK code: 200 - duration: 64.839977ms - - id: 18 + duration: 67.684419ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -917,7 +866,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -925,20 +874,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1589 + content_length: 1587 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:03.426686Z","id":"f7f4d32e-8243-404e-965c-5b6b43cae772","name":"Scaleway Alerting","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:03.426686Z","url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"data_sources":[{"created_at":"2024-08-01T14:51:47.479958Z","id":"cbcc4513-c7dd-474f-b6ad-89eb218e5247","name":"Scaleway Alerting","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"unknown_type","updated_at":"2024-08-01T14:51:47.479958Z","url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}],"total_count":4}' headers: Content-Length: - - "1589" + - "1587" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:47 GMT + - Thu, 01 Aug 2024 14:52:22 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: @@ -946,11 +895,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1e494daa-9653-44b1-81da-ae10ad9f9826 + - 20238fda-547f-4436-82b2-6cc9c8d9f596 status: 200 OK code: 200 - duration: 260.800949ms - - id: 19 + duration: 281.925571ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -966,7 +915,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -976,7 +925,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://f34318dd-14e1-41a6-9025-1732bd326e0f.dashboard.obs.fr-par.scw.cloud"}' + body: '{"grafana_url":"https://a147487d-a049-4153-b24c-f083291b9bfc.dashboard.obs.fr-par.scw.cloud"}' headers: Content-Length: - "93" @@ -985,9 +934,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -995,11 +944,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9f8599a0-a300-4c79-a316-f498c01be647 + - 6ceb983c-bb1f-4294-a844-5aecd5aa4f40 status: 200 OK code: 200 - duration: 123.484554ms - - id: 20 + duration: 58.595865ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1015,7 +964,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1025,7 +974,7 @@ interactions: trailer: {} content_length: 247 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.146394Z","description":"","id":"f34318dd-14e1-41a6-9025-1732bd326e0f","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.146394Z"}' + body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' headers: Content-Length: - "247" @@ -1034,9 +983,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1044,11 +993,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ded3130f-5ab1-4e7e-a44e-f133f22dcaba + - ab8a9f5c-61f4-4b89-851a-501c4cb68b69 status: 200 OK code: 200 - duration: 53.165641ms - - id: 21 + duration: 53.609477ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -1064,7 +1013,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 method: GET response: proto: HTTP/2.0 @@ -1072,20 +1021,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 386 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "386" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1093,11 +1042,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 596b7aa3-0270-4496-b4d0-84a92bc5e88e + - 230dc326-dad0-4cd2-8335-512468819106 status: 200 OK code: 200 - duration: 51.511149ms - - id: 22 + duration: 44.442244ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -1113,7 +1062,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 method: GET response: proto: HTTP/2.0 @@ -1121,20 +1070,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 389 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1142,11 +1091,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c1f24211-a82a-4a8a-b681-ad29f6205c3a + - cf254f30-6274-4731-8f5a-89b79ffab2a5 status: 200 OK code: 200 - duration: 60.905022ms - - id: 23 + duration: 57.437974ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -1162,7 +1111,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 method: GET response: proto: HTTP/2.0 @@ -1172,7 +1121,7 @@ interactions: trailer: {} content_length: 380 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - "380" @@ -1181,9 +1130,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1191,11 +1140,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 601add88-b65b-488e-8851-6a0deb70a10d + - bb87b02c-850e-4237-884f-2455984b1ada status: 200 OK code: 200 - duration: 63.143866ms - - id: 24 + duration: 60.595316ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1211,7 +1160,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1219,20 +1168,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 183 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "386" + - "183" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1240,11 +1189,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 93b95857-ec6c-4b81-8074-a2507915bcbc + - 10b6cb2b-568a-4689-9828-1847dab3ba4d status: 200 OK code: 200 - duration: 62.912752ms - - id: 25 + duration: 60.97473ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1260,7 +1209,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1268,20 +1217,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 97 + content_length: 108 uncompressed: false - body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "97" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1289,11 +1238,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e8f087d-a8aa-40b6-9843-c48f5726218e + - 9a6cb02d-e94b-4795-9d4d-d33eac7deb3f status: 200 OK code: 200 - duration: 86.847524ms - - id: 26 + duration: 94.95095ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1309,7 +1258,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1317,20 +1266,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 97 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "108" + - "97" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1338,11 +1287,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 83c1d812-d7b5-4f0a-b61f-b6a3f9410546 + - a24e8fab-65f7-4704-ac76-0d4e7603acb2 status: 200 OK code: 200 - duration: 128.21899ms - - id: 27 + duration: 236.209645ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1358,7 +1307,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1377,9 +1326,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:48 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1387,11 +1336,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8baabe13-5871-4e57-a0f1-fa0beb85357d + - e66f3735-e31a-4ec0-a897-25015578d375 status: 200 OK code: 200 - duration: 45.642406ms - - id: 28 + duration: 46.386671ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1407,7 +1356,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1415,20 +1364,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1589 + content_length: 1587 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:03.426686Z","id":"f7f4d32e-8243-404e-965c-5b6b43cae772","name":"Scaleway Alerting","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:03.426686Z","url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.608412Z","id":"199d631b-4037-43c3-b991-23195841850d","name":"my-data-source-traces","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T13:53:03.608412Z","url":"https://199d631b-4037-43c3-b991-23195841850d.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.646609Z","id":"a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e","name":"my-data-source-logs","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T13:53:03.646609Z","url":"https://a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:03.799481Z","id":"1817aa22-c673-4070-8f69-7d663b169e20","name":"my-data-source-metrics","origin":"external","project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.799481Z","url":"https://1817aa22-c673-4070-8f69-7d663b169e20.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"data_sources":[{"created_at":"2024-08-01T14:51:47.479958Z","id":"cbcc4513-c7dd-474f-b6ad-89eb218e5247","name":"Scaleway Alerting","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"unknown_type","updated_at":"2024-08-01T14:51:47.479958Z","url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}],"total_count":4}' headers: Content-Length: - - "1589" + - "1587" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1436,11 +1385,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec8a8859-5bf3-4536-9c49-ba47408a2f51 + - 4a6b9232-acc3-4c36-8c3d-4cc1d3c6a071 status: 200 OK code: 200 - duration: 268.005735ms - - id: 29 + duration: 322.124015ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1456,7 +1405,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1466,7 +1415,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://f34318dd-14e1-41a6-9025-1732bd326e0f.dashboard.obs.fr-par.scw.cloud"}' + body: '{"grafana_url":"https://a147487d-a049-4153-b24c-f083291b9bfc.dashboard.obs.fr-par.scw.cloud"}' headers: Content-Length: - "93" @@ -1475,9 +1424,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1485,11 +1434,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7dd65e3d-c059-4f97-935c-dcf9656cfe31 + - 9e41ee55-fc81-45fe-8071-558e68d6beba status: 200 OK code: 200 - duration: 62.085526ms - - id: 30 + duration: 43.477406ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1505,7 +1454,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/199d631b-4037-43c3-b991-23195841850d + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 method: DELETE response: proto: HTTP/2.0 @@ -1522,9 +1471,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1532,11 +1481,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 498873e9-07a0-4566-853a-915a426b5d33 + - 7362051e-cc9c-4a01-8d53-3e1694d0c591 status: 204 No Content code: 204 - duration: 70.80893ms - - id: 31 + duration: 65.401716ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1552,7 +1501,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: GET response: proto: HTTP/2.0 @@ -1571,9 +1520,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1581,11 +1530,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec41dff0-31f7-4c91-acca-06f349f56a91 + - a83f30b9-644a-4105-a5d3-ddf3c65a3ee2 status: 200 OK code: 200 - duration: 93.540594ms - - id: 32 + duration: 140.840963ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -1601,7 +1550,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/a4cb7dfc-43e1-4b0e-bc81-72bb56dbbb7e + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 method: DELETE response: proto: HTTP/2.0 @@ -1618,9 +1567,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1628,11 +1577,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ebfe25fd-0c0b-435f-ae35-9fc3d56f4c6c + - 6ac9a521-b8f6-46c4-b661-f17636a1cf0a status: 204 No Content code: 204 - duration: 170.738943ms - - id: 33 + duration: 167.638531ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1648,7 +1597,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1817aa22-c673-4070-8f69-7d663b169e20 + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=a147487d-a049-4153-b24c-f083291b9bfc method: DELETE response: proto: HTTP/2.0 @@ -1665,9 +1614,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1675,50 +1624,46 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 33cdfc0c-0f61-40c2-a553-cd70d5213cce + - 9a585800-30ec-46fa-9614-af114b16a56c status: 204 No Content code: 204 - duration: 229.505954ms - - id: 34 + duration: 240.866429ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable - method: POST + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 0 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://f7f4d32e-8243-404e-965c-5b6b43cae772.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: "" headers: - Content-Length: - - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:49 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1726,11 +1671,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9791e4db-e651-4239-a73e-9953fed6511b - status: 200 OK - code: 200 - duration: 237.552808ms - - id: 35 + - 95813ac9-7480-426d-b382-062897c3d04d + status: 204 No Content + code: 204 + duration: 308.929937ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1741,14 +1686,14 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"f34318dd-14e1-41a6-9025-1732bd326e0f"}' + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' form: {} headers: Content-Type: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/disable method: POST response: proto: HTTP/2.0 @@ -1756,20 +1701,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 184 uncompressed: false - body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "184" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:50 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1777,46 +1722,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 41f82fe9-65c4-4dee-be00-46c0a7224b7b + - 92b8d64d-6eda-4bb9-882c-47b176e09c06 status: 200 OK code: 200 - duration: 639.056781ms - - id: 36 + duration: 205.37615ms + - id: 35 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=f34318dd-14e1-41a6-9025-1732bd326e0f - method: DELETE + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/disable + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 105 uncompressed: false - body: "" + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: + Content-Length: + - "105" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:52 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1824,11 +1773,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1dd119dd-83dd-4627-a0c9-f616b2b8ef52 - status: 204 No Content - code: 204 - duration: 3.147264464s - - id: 37 + - f8cff13c-d2bf-46e0-ba7b-bb9494bddfa5 + status: 200 OK + code: 200 + duration: 397.549804ms + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -1844,7 +1793,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/f34318dd-14e1-41a6-9025-1732bd326e0f + url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc method: DELETE response: proto: HTTP/2.0 @@ -1861,9 +1810,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:53 GMT + - Thu, 01 Aug 2024 14:52: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: @@ -1871,7 +1820,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1007b3d3-ff1e-4882-9ce3-bdd4c5139840 + - 2594067d-67f7-41f4-b77a-db440f475d6c status: 204 No Content code: 204 - duration: 1.243343087s + duration: 1.424692587s From 5d62eb99ed64c192809d177bdce65d046d588ba5 Mon Sep 17 00:00:00 2001 From: jremy Date: Fri, 2 Aug 2024 17:32:51 +0200 Subject: [PATCH 03/10] add comment for unknow_type for alert_manager --- internal/services/cockpit/types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/services/cockpit/types.go b/internal/services/cockpit/types.go index 085ac3eca..b6831a960 100644 --- a/internal/services/cockpit/types.go +++ b/internal/services/cockpit/types.go @@ -34,8 +34,9 @@ func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL strin endpoints := []map[string]interface{}{ { - "metrics_url": endpointMap["metrics_url"], - "logs_url": endpointMap["logs_url"], + "metrics_url": endpointMap["metrics_url"], + "logs_url": endpointMap["logs_url"], + // The alert manager data source is returned with the type unknown_type. waiting a more logical type "alertmanager_url": endpointMap["alertmanager_url"], "grafana_url": grafanaURL, "traces_url": endpointMap["traces_url"], From b8e6ba89991e8cb6ad077a8fd2db039f8e4611f9 Mon Sep 17 00:00:00 2001 From: jremy Date: Fri, 2 Aug 2024 18:24:30 +0200 Subject: [PATCH 04/10] add doc --- docs/data-sources/cockpit.md | 17 ++++++++------ docs/resources/cockpit.md | 45 +++++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 25 deletions(-) diff --git a/docs/data-sources/cockpit.md b/docs/data-sources/cockpit.md index de3afbbe7..a321ffe1e 100644 --- a/docs/data-sources/cockpit.md +++ b/docs/data-sources/cockpit.md @@ -4,6 +4,9 @@ page_title: "Scaleway: scaleway_cockpit" --- # scaleway_cockpit + +~> **Important:** The data source `scaleway_cockpit` has been deprecated and will no longer be supported. Instead, use resource `scaleway_cockpit`. + -> **Note:** As of April 2024, Cockpit has introduced regionalization to offer more flexibility and resilience. If you have customized dashboards in Grafana for monitoring Scaleway resources, please update your queries to accommodate the new regionalized [data sources](../resources/cockpit_source.md). @@ -22,7 +25,7 @@ data "scaleway_cockpit" "main" {} ```hcl // Get a specific project's cockpit data "scaleway_cockpit" "main" { - project_id = "11111111-1111-1111-1111-111111111111" +project_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -35,9 +38,9 @@ data "scaleway_cockpit" "main" { In addition to all arguments above, the following attributes are exported: -- `plan_id` - The ID of the current plan -- `endpoints` - Endpoints - - `metrics_url` - The metrics URL - - `logs_url` - The logs URL - - `alertmanager_url` - The alertmanager URL - - `grafana_url` - The grafana URL +- `plan_id` - (Deprecated) The ID of the current plan +- `endpoints` - (Deprecated) Endpoints +- `metrics_url` - (Deprecated) The metrics URL +- `logs_url` - (Deprecated) The logs URL +- `alertmanager_url` - (Deprecated) The alertmanager URL +- `grafana_url` - (Deprecated) The grafana URL \ No newline at end of file diff --git a/docs/resources/cockpit.md b/docs/resources/cockpit.md index bc797ef7c..c8b974fb1 100644 --- a/docs/resources/cockpit.md +++ b/docs/resources/cockpit.md @@ -15,17 +15,26 @@ For more information consult the [documentation](https://www.scaleway.com/en/doc ## Example Usage -### Activate Cockpit in the default project +### Manage Cockpit in the default project ```terraform resource "scaleway_cockpit" "main" {} ``` -### Activate Cockpit in a specific project +### Manage Cockpit in a specific project ```terraform resource "scaleway_cockpit" "main" { - project_id = "11111111-1111-1111-1111-111111111111" +project_id = "11111111-1111-1111-1111-111111111111" +} +``` + +### Choose a specific plan for Cockpit + +```terraform +resource "scaleway_cockpit" "main" { +project_id = "11111111-1111-1111-1111-111111111111" +plan = "premium" } ``` @@ -35,38 +44,38 @@ resource "scaleway_cockpit" "main" { resource "scaleway_cockpit" "main" {} resource "scaleway_cockpit_grafana_user" "main" { - project_id = scaleway_cockpit.main.project_id - login = "example" - role = "editor" +project_id = scaleway_cockpit.main.project_id +login = "example" +role = "editor" } provider "grafana" { - url = scaleway_cockpit.main.endpoints.0.grafana_url - auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}" +url = scaleway_cockpit.main.endpoints.0.grafana_url +auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}" } resource "grafana_folder" "test_folder" { - title = "Test Folder" +title = "Test Folder" } ``` ## Argument Reference - `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the cockpit is associated with. -- `plan` - (Optional) Name or ID of the plan to use. +- `plan` - (Optional) Name of the plan to use. Available plans are free, premium, and custom. ## Attributes Reference In addition to all arguments above, the following attributes are exported: -- `plan_id` - The ID of the current plan. -- `endpoints` - Endpoints. - - `metrics_url` - The metrics URL. - - `logs_url` - The logs URL. - - `alertmanager_url` - The alertmanager URL. - - `grafana_url` - The grafana URL. - - `traces_url` - The traces URL. +- `plan_id` - (Deprecated) The ID of the current plan. Please use plan instead. +- `endpoints` - (Deprecated) Endpoints. Please use scaleway_cockpit_source instead. +- `metrics_url` - (Deprecated) The metrics URL. +- `logs_url` - (Deprecated) The logs URL. +- `alertmanager_url` - (Deprecated) The alertmanager URL. +- `grafana_url` - (Deprecated) The grafana URL. +- `traces_url` - (Deprecated) The traces URL. ## Import @@ -74,4 +83,4 @@ Cockpits can be imported using the `{project_id}`, e.g. ```bash terraform import scaleway_cockpit.main 11111111-1111-1111-1111-111111111111 -``` +``` \ No newline at end of file From 9c5fb4460529d62c82adf9a9f9e0805ca3551555 Mon Sep 17 00:00:00 2001 From: jremy Date: Fri, 2 Aug 2024 18:37:54 +0200 Subject: [PATCH 05/10] fix alert_manager_url --- internal/services/cockpit/cockpit.go | 14 +++++++++++++- internal/services/cockpit/cockpit_data_source.go | 14 +++++++++++++- internal/services/cockpit/types.go | 11 ++++------- 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index b5f8dda0c..9fe928533 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -178,7 +178,19 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interfac if err != nil { return diag.FromErr(err) } - endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL) + + alertManager, err := regionalAPI.GetAlertManager(&cockpit.RegionalAPIGetAlertManagerRequest{ + ProjectID: d.Get("project_id").(string), + }) + if err != nil { + return diag.FromErr(err) + } + alertManagerUrl := "" + if alertManager.AlertManagerURL != nil { + alertManagerUrl = *alertManager.AlertManagerURL + } + + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerUrl) _ = d.Set("endpoints", endpoints) _ = d.Set("push_url", createCockpitPushURL(endpoints)) diff --git a/internal/services/cockpit/cockpit_data_source.go b/internal/services/cockpit/cockpit_data_source.go index 3bc3fbbf7..042969121 100644 --- a/internal/services/cockpit/cockpit_data_source.go +++ b/internal/services/cockpit/cockpit_data_source.go @@ -76,7 +76,19 @@ func dataSourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interf if err != nil { return diag.FromErr(err) } - endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL) + + alertManager, err := regionalAPI.GetAlertManager(&cockpit.RegionalAPIGetAlertManagerRequest{ + ProjectID: d.Get("project_id").(string), + }) + if err != nil { + return diag.FromErr(err) + } + alertManagerUrl := "" + if alertManager.AlertManagerURL != nil { + alertManagerUrl = *alertManager.AlertManagerURL + } + + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerUrl) _ = d.Set("endpoints", endpoints) _ = d.Set("push_url", createCockpitPushURL(endpoints)) diff --git a/internal/services/cockpit/types.go b/internal/services/cockpit/types.go index b6831a960..8fedcffc3 100644 --- a/internal/services/cockpit/types.go +++ b/internal/services/cockpit/types.go @@ -16,7 +16,7 @@ var scopeMapping = map[string]cockpit.TokenScope{ "write_traces": cockpit.TokenScopeWriteOnlyTraces, } -func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL string) []map[string]interface{} { +func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL string, alertManagerUrl string) []map[string]interface{} { endpointMap := map[string]string{} for _, dataSource := range dataSources { @@ -25,8 +25,6 @@ func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL strin endpointMap["metrics_url"] = dataSource.URL case "logs": endpointMap["logs_url"] = dataSource.URL - case "unknown_type": - endpointMap["alertmanager_url"] = dataSource.URL case "traces": endpointMap["traces_url"] = dataSource.URL } @@ -34,10 +32,9 @@ func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL strin endpoints := []map[string]interface{}{ { - "metrics_url": endpointMap["metrics_url"], - "logs_url": endpointMap["logs_url"], - // The alert manager data source is returned with the type unknown_type. waiting a more logical type - "alertmanager_url": endpointMap["alertmanager_url"], + "metrics_url": endpointMap["metrics_url"], + "logs_url": endpointMap["logs_url"], + "alertmanager_url": alertManagerUrl, "grafana_url": grafanaURL, "traces_url": endpointMap["traces_url"], }, From 7a4a5a004c5fb18a4d55e285aa427872c426e78f Mon Sep 17 00:00:00 2001 From: jremy Date: Fri, 2 Aug 2024 18:39:11 +0200 Subject: [PATCH 06/10] delete 404 --- internal/services/cockpit/cockpit.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index 9fe928533..fe5de4e2b 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -7,7 +7,6 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "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" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" ) @@ -153,10 +152,6 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interfac ProjectID: d.Get("project_id").(string), }, scw.WithContext(ctx)) if err != nil { - if httperrors.Is404(err) { - d.SetId("") - return nil - } return diag.FromErr(err) } _ = d.Set("project_id", d.Get("project_id").(string)) From 29ffbae7dca5dcf54f2a4cf13f7ae9bdf6de7841 Mon Sep 17 00:00:00 2001 From: jremy Date: Mon, 12 Aug 2024 10:35:40 +0200 Subject: [PATCH 07/10] delele timeout --- internal/services/cockpit/cockpit.go | 6 ------ internal/services/cockpit/types.go | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index fe5de4e2b..b0a285958 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -16,12 +16,6 @@ func ResourceCockpit() *schema.Resource { ReadContext: ResourceCockpitRead, UpdateContext: ResourceCockpitUpdate, DeleteContext: ResourceCockpitDelete, - Timeouts: &schema.ResourceTimeout{ - Create: schema.DefaultTimeout(DefaultCockpitTimeout), - Read: schema.DefaultTimeout(DefaultCockpitTimeout), - Delete: schema.DefaultTimeout(DefaultCockpitTimeout), - Default: schema.DefaultTimeout(DefaultCockpitTimeout), - }, Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, diff --git a/internal/services/cockpit/types.go b/internal/services/cockpit/types.go index 8fedcffc3..5eae22aa6 100644 --- a/internal/services/cockpit/types.go +++ b/internal/services/cockpit/types.go @@ -16,7 +16,7 @@ var scopeMapping = map[string]cockpit.TokenScope{ "write_traces": cockpit.TokenScopeWriteOnlyTraces, } -func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL string, alertManagerUrl string) []map[string]interface{} { +func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL string, alertManagerURL string) []map[string]interface{} { endpointMap := map[string]string{} for _, dataSource := range dataSources { @@ -34,7 +34,7 @@ func flattenCockpitEndpoints(dataSources []*cockpit.DataSource, grafanaURL strin { "metrics_url": endpointMap["metrics_url"], "logs_url": endpointMap["logs_url"], - "alertmanager_url": alertManagerUrl, + "alertmanager_url": alertManagerURL, "grafana_url": grafanaURL, "traces_url": endpointMap["traces_url"], }, From 0016f9b53726179db9282cbcc7784bfda1387e95 Mon Sep 17 00:00:00 2001 From: jremy Date: Mon, 12 Aug 2024 10:42:17 +0200 Subject: [PATCH 08/10] fix lint --- internal/services/cockpit/cockpit.go | 6 +++--- internal/services/cockpit/cockpit_data_source.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index b0a285958..5fbf24586 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -174,12 +174,12 @@ func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interfac if err != nil { return diag.FromErr(err) } - alertManagerUrl := "" + alertManagerURL := "" if alertManager.AlertManagerURL != nil { - alertManagerUrl = *alertManager.AlertManagerURL + alertManagerURL = *alertManager.AlertManagerURL } - endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerUrl) + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerURL) _ = d.Set("endpoints", endpoints) _ = d.Set("push_url", createCockpitPushURL(endpoints)) diff --git a/internal/services/cockpit/cockpit_data_source.go b/internal/services/cockpit/cockpit_data_source.go index 042969121..713f50bcf 100644 --- a/internal/services/cockpit/cockpit_data_source.go +++ b/internal/services/cockpit/cockpit_data_source.go @@ -83,12 +83,12 @@ func dataSourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interf if err != nil { return diag.FromErr(err) } - alertManagerUrl := "" + alertManagerURL := "" if alertManager.AlertManagerURL != nil { - alertManagerUrl = *alertManager.AlertManagerURL + alertManagerURL = *alertManager.AlertManagerURL } - endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerUrl) + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerURL) _ = d.Set("endpoints", endpoints) _ = d.Set("push_url", createCockpitPushURL(endpoints)) From 8f444c6a51be3ca8d4a7f1ff5ed8f32d4a33fa2c Mon Sep 17 00:00:00 2001 From: jremy Date: Mon, 12 Aug 2024 11:00:54 +0200 Subject: [PATCH 09/10] fix cassette --- ...reate-with-multiple-contacts.cassette.yaml | 448 ++++---- ...r-create-with-single-contact.cassette.yaml | 400 +++---- ...alert-manager-enable-disable.cassette.yaml | 372 +++--- ...anager-update-single-contact.cassette.yaml | 424 +++---- .../testdata/cockpit-basic.cassette.yaml | 607 +++++++--- .../cockpit-source-basic.cassette.yaml | 142 +-- ...ockpit-with-source-endpoints.cassette.yaml | 680 ++++++----- .../data-source-cockpit-basic.cassette.yaml | 1010 +++++++++++------ ...ta-source-cockpit-plan-basic.cassette.yaml | 192 ++-- .../testdata/grafana-user-basic.cassette.yaml | 170 +-- .../grafana-user-update.cassette.yaml | 244 ++-- .../testdata/token-basic.cassette.yaml | 142 +-- .../testdata/token-no-scopes.cassette.yaml | 142 +-- .../testdata/token-update.cassette.yaml | 264 ++--- 14 files changed, 2937 insertions(+), 2300 deletions(-) diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml index a6a66de28..a39813108 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-multiple-contacts.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' + body: '{"created_at":"2024-08-12T08:34:35.888626Z","description":"","id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:35.888626Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:36 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: - - 31e35e0c-e23c-418c-aafc-fc32fc1bd7df + - a54c22a9-ef9b-4700-a9e9-c8cfeadfd554 status: 200 OK code: 200 - duration: 246.158068ms + duration: 251.69671ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/account/v3/projects/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' + body: '{"created_at":"2024-08-12T08:34:35.888626Z","description":"","id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:35.888626Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:36 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e342cf4f-8c6c-478f-b9f8-bdc748d301f4 + - 82ddcb17-34e3-4369-834e-e235c543b145 status: 200 OK code: 200 - duration: 58.876304ms + duration: 53.978042ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:36 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: - - e0fe38c5-cb2b-45c4-9e1d-5fd87ab5740f + - 0f1b0106-31c9-4bbf-bf23-2cf5ce730362 status: 200 OK code: 200 - duration: 104.689608ms + duration: 83.867293ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 170d1592-cb8e-4ff2-bfc5-e703847a4660 + - ada691aa-c90d-424b-8ecd-10263cd16be8 status: 200 OK code: 200 - duration: 208.228798ms + duration: 192.300033ms - id: 4 request: proto: HTTP/1.1 @@ -214,7 +214,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"initial1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a2b93a87-7a3a-48b6-a0fa-2ad8396234ce + - ebcfbd57-e69f-4f21-8519-d2881fd74c4f status: 200 OK code: 200 - duration: 290.933944ms + duration: 319.498575ms - id: 5 request: proto: HTTP/1.1 @@ -265,7 +265,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial2@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"initial2@example.com"}}' form: {} headers: Content-Type: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"initial2@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20d3d990-7511-4686-802e-8f2de220d3ae + - b4dd5443-ff28-4bd4-8490-51883222a9c4 status: 200 OK code: 200 - duration: 200.09324ms + duration: 375.313068ms - id: 6 request: proto: HTTP/1.1 @@ -321,7 +321,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 14e531a9-d53d-4464-9d5a-75258eadd64f + - 3db22409-11cb-4c32-9f36-b874055f3d71 status: 200 OK code: 200 - duration: 51.628135ms + duration: 53.568778ms - id: 7 request: proto: HTTP/1.1 @@ -370,7 +370,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -378,20 +378,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b31504a5-ed7a-453c-9ade-0d8e44fd77a9 + - e0063bfb-98b8-4393-a5c1-32df3bcff37c status: 200 OK code: 200 - duration: 94.316213ms + duration: 1.196163071s - id: 8 request: proto: HTTP/1.1 @@ -419,7 +419,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -427,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9b79c746-6cd9-4a48-be97-9c99d76f3ec8 + - 08e25cbc-ba4d-4c1e-8dc9-e68ea964def8 status: 200 OK code: 200 - duration: 105.611888ms + duration: 122.562484ms - id: 9 request: proto: HTTP/1.1 @@ -468,7 +468,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/account/v3/projects/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -476,20 +476,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' + body: '{"created_at":"2024-08-12T08:34:35.888626Z","description":"","id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:35.888626Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -497,10 +497,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a62cd8b1-9412-4829-bcef-232d1ae93552 + - 1e83ee3b-b658-4b2e-bcfd-d6c66ff7fd73 status: 200 OK code: 200 - duration: 71.112145ms + duration: 168.407449ms - id: 10 request: proto: HTTP/1.1 @@ -517,7 +517,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -525,20 +525,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -546,10 +546,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 83d2ad37-303e-40f5-96bf-9decec3e2874 + - 543e714b-b620-4a37-bd87-3650798544f3 status: 200 OK code: 200 - duration: 45.955342ms + duration: 181.209081ms - id: 11 request: proto: HTTP/1.1 @@ -566,7 +566,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -574,20 +574,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -595,10 +595,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75bdee44-ae1d-476c-b4d8-916e4020e1fa + - ba556e8c-ea03-4253-8b0f-f79376ea704c status: 200 OK code: 200 - duration: 110.045118ms + duration: 185.56407ms - id: 12 request: proto: HTTP/1.1 @@ -615,7 +615,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/account/v3/projects/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -623,20 +623,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' + body: '{"created_at":"2024-08-12T08:34:35.888626Z","description":"","id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:35.888626Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -644,10 +644,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 15b070ae-800d-4e6f-ac69-d4f9d0afda24 + - aabaa517-8134-453e-9328-453563b5b20e status: 200 OK code: 200 - duration: 58.546753ms + duration: 62.721938ms - id: 13 request: proto: HTTP/1.1 @@ -664,7 +664,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -672,20 +672,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -693,10 +693,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 82e748e5-eb0f-4dd8-84c6-e4ee6c412bba + - b3d612b3-7cd4-4bdf-b6ab-758a28a487f6 status: 200 OK code: 200 - duration: 51.100934ms + duration: 52.668699ms - id: 14 request: proto: HTTP/1.1 @@ -713,7 +713,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -721,20 +721,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial1@example.com"},"region":"fr-par"},{"email":{"to":"initial2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -742,10 +742,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c818cca4-3a17-4be9-89bc-dbddf7ae799f + - b1c88255-3621-42f4-b666-46855f4c95a6 status: 200 OK code: 200 - duration: 93.912358ms + duration: 101.782742ms - id: 15 request: proto: HTTP/1.1 @@ -757,7 +757,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: @@ -781,9 +781,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1eb5a59b-13c2-4f39-823e-eb7642bd5c4c + - 4caf27af-3452-4537-82aa-6aa855639397 status: 204 No Content code: 204 - duration: 623.091204ms + duration: 7.195674042s - id: 16 request: proto: HTTP/1.1 @@ -806,7 +806,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"initial2@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"initial2@example.com"}}' form: {} headers: Content-Type: @@ -830,9 +830,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:48 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: @@ -840,10 +840,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c193612-564d-4a34-afa6-3ac272bae4e9 + - 88d2a957-6595-4412-a958-4ae8badf7788 status: 204 No Content code: 204 - duration: 300.154114ms + duration: 177.240988ms - id: 17 request: proto: HTTP/1.1 @@ -855,7 +855,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: @@ -870,20 +870,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"updated1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:48 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: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6d55c877-24e6-4d1e-ba11-cb95a82fca07 + - 60f886d8-3ff8-4707-a421-34cfddaa967d status: 200 OK code: 200 - duration: 458.058742ms + duration: 947.154648ms - id: 18 request: proto: HTTP/1.1 @@ -906,7 +906,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated2@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"updated2@example.com"}}' form: {} headers: Content-Type: @@ -921,20 +921,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"updated2@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -942,10 +942,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d5980116-c69b-4895-999a-167e36e89b55 + - a62e2a21-da64-48e8-a4c5-16282c48d750 status: 200 OK code: 200 - duration: 440.882245ms + duration: 1.474157942s - id: 19 request: proto: HTTP/1.1 @@ -962,7 +962,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -970,20 +970,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -991,10 +991,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5811c8f-c99e-4da2-bf97-c27112255dc4 + - 58ca8031-85fa-41cd-9cd5-2b74f94236cc status: 200 OK code: 200 - duration: 49.396097ms + duration: 49.428071ms - id: 20 request: proto: HTTP/1.1 @@ -1011,7 +1011,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1019,20 +1019,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -1040,10 +1040,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c6e0a5f-d451-45aa-8f01-f3853cc4e60e + - 3682077f-d35a-4038-93ba-17503c6687af status: 200 OK code: 200 - duration: 104.6658ms + duration: 99.100959ms - id: 21 request: proto: HTTP/1.1 @@ -1060,7 +1060,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1068,20 +1068,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -1089,10 +1089,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 315f5e8f-dc83-460c-863c-2f48510e6a14 + - 5b3f1bae-bfbb-4e7d-9de0-77f306d33851 status: 200 OK code: 200 - duration: 100.458883ms + duration: 83.164064ms - id: 22 request: proto: HTTP/1.1 @@ -1109,7 +1109,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/account/v3/projects/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1117,20 +1117,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:04.453177Z","description":"","id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:04.453177Z"}' + body: '{"created_at":"2024-08-12T08:34:35.888626Z","description":"","id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:35.888626Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:51 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: @@ -1138,10 +1138,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2a2d1a5-6edd-449c-a27b-15919bdea11a + - afe3eabb-9614-40c9-b286-69fa5a33a7a5 status: 200 OK code: 200 - duration: 54.694514ms + duration: 75.161579ms - id: 23 request: proto: HTTP/1.1 @@ -1158,7 +1158,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1166,20 +1166,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:51 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: @@ -1187,10 +1187,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 57063a30-6cd7-40c4-8190-3d8507c50a42 + - 509a4e1f-a7f6-48be-b13f-93bfc93c6286 status: 200 OK code: 200 - duration: 52.516066ms + duration: 42.67442ms - id: 24 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1215,20 +1215,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:51 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: @@ -1236,10 +1236,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 08459a92-a064-4d67-a70a-e33249d9a7a8 + - 75b1f1ff-5fa3-4143-8377-c93742d8b200 status: 200 OK code: 200 - duration: 110.847164ms + duration: 96.853ms - id: 25 request: proto: HTTP/1.1 @@ -1256,7 +1256,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1264,20 +1264,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 223 + content_length: 229 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated1@example.com"},"region":"fr-par"},{"email":{"to":"updated2@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "223" + - "229" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:51 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: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 89f65c23-e2cb-4ae9-ad5e-b98ea2c7c52d + - 633844af-d4ea-4fc5-8898-37c28407c002 status: 200 OK code: 200 - duration: 83.224119ms + duration: 108.32178ms - id: 26 request: proto: HTTP/1.1 @@ -1300,7 +1300,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: @@ -1324,9 +1324,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:52 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: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 28f96abf-098b-4c8b-b937-a514692b5a8b + - e97e9142-0540-4c60-8de9-ec9f72470f72 status: 204 No Content code: 204 - duration: 192.42332ms + duration: 376.254935ms - id: 27 request: proto: HTTP/1.1 @@ -1349,7 +1349,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29","email":{"to":"updated2@example.com"}}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","email":{"to":"updated2@example.com"}}' form: {} headers: Content-Type: @@ -1373,9 +1373,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:52 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: @@ -1383,10 +1383,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cbaaa477-dbcf-4f79-9ab3-5c7ca55b9d79 + - cdf92a67-03d0-43e5-a917-53fc79db4c81 status: 204 No Content code: 204 - duration: 184.404292ms + duration: 284.238199ms - id: 28 request: proto: HTTP/1.1 @@ -1398,7 +1398,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' form: {} headers: Content-Type: @@ -1413,20 +1413,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://bd947652-d183-432b-bf54-92410ace8379.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:52 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: @@ -1434,10 +1434,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b8e4fa5c-a5bf-4998-b8a7-4c13ca083931 + - 510691d1-c39a-4cb2-9cb3-04967113e6c5 status: 200 OK code: 200 - duration: 239.615454ms + duration: 239.11229ms - id: 29 request: proto: HTTP/1.1 @@ -1449,7 +1449,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a933d1ad-fe40-4ad6-9433-0302cea1fd29"}' + body: '{"project_id":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' form: {} headers: Content-Type: @@ -1464,20 +1464,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:53 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: @@ -1485,10 +1485,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff33e34f-3077-4672-98ea-e9871cd0360c + - 3af4b795-3fab-4a03-834d-c32fb3e8d6fb status: 200 OK code: 200 - duration: 281.967338ms + duration: 291.489858ms - id: 30 request: proto: HTTP/1.1 @@ -1505,7 +1505,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/account/v3/projects/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: DELETE response: proto: HTTP/2.0 @@ -1522,9 +1522,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -1532,10 +1532,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4f92a1e9-1729-4649-ad91-0195bb7cc8f9 + - 9b2537e5-ded9-4119-8e1c-74dd935df025 status: 204 No Content code: 204 - duration: 1.252646672s + duration: 1.224397241s - id: 31 request: proto: HTTP/1.1 @@ -1552,7 +1552,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a933d1ad-fe40-4ad6-9433-0302cea1fd29 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1571,9 +1571,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:13 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -1581,7 +1581,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cc6bc139-4d67-4a8a-9b4d-0087b06373eb + - 9016d150-fe8b-4f94-bb4d-dca8149eb860 status: 403 Forbidden code: 403 - duration: 51.540577ms + duration: 56.544421ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml index d2837258d..813158127 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-create-with-single-contact.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' + body: '{"created_at":"2024-08-12T08:34:38.110065Z","description":"","id":"c24a6631-d446-45f0-842e-28ac2bf4b718","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:38.110065Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:38 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: - - aba6a08e-9210-4403-a190-b1b6f6cabecd + - cd53e1fe-88a1-4f2a-8a6e-75b226b8e8fd status: 200 OK code: 200 - duration: 1.137620478s + duration: 265.913664ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/account/v3/projects/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' + body: '{"created_at":"2024-08-12T08:34:38.110065Z","description":"","id":"c24a6631-d446-45f0-842e-28ac2bf4b718","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:38.110065Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:38 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 099146a2-a7ab-45ff-ad25-0146cac7d3a3 + - 342238f5-38dc-4ce0-9c5b-72c988b79d3d status: 200 OK code: 200 - duration: 57.411301ms + duration: 58.491127ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:38 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: - - 46d55ee9-bff4-4d50-89ba-2f28fdcca612 + - 0d72e16a-74e9-41d6-b8aa-a44250876db0 status: 200 OK code: 200 - duration: 215.325903ms + duration: 86.53924ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 12b7dfa7-2f3d-4e11-bddd-15294ade1ab7 + - 149bff1f-b013-48b0-9090-048af6f4741f status: 200 OK code: 200 - duration: 553.528993ms + duration: 213.969188ms - id: 4 request: proto: HTTP/1.1 @@ -214,7 +214,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"initial@example.com"}}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718","email":{"to":"initial@example.com"}}' form: {} headers: Content-Type: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 56 + content_length: 57 uncompressed: false body: '{"email":{"to":"initial@example.com"},"region":"fr-par"}' headers: Content-Length: - - "56" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c6c8c090-bd1e-4bb3-94ca-5f868066ccfc + - b3fae390-f11b-4e25-83ab-52e7a55e4f54 status: 200 OK code: 200 - duration: 451.417072ms + duration: 791.025143ms - id: 5 request: proto: HTTP/1.1 @@ -270,7 +270,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -278,20 +278,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -299,10 +299,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b73c9f58-5791-4e55-b5f0-58c29a81636d + - 1b3d3d15-b0a0-4133-b07f-cd11f3696ca8 status: 200 OK code: 200 - duration: 54.748537ms + duration: 41.940536ms - id: 6 request: proto: HTTP/1.1 @@ -319,7 +319,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -327,20 +327,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -348,10 +348,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 75372489-f26b-4544-ba6e-e01c0c62273b + - e8f10848-943b-4445-8eb1-6d7f26c65910 status: 200 OK code: 200 - duration: 146.053979ms + duration: 82.10074ms - id: 7 request: proto: HTTP/1.1 @@ -368,7 +368,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -376,20 +376,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -397,10 +397,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b56036d5-5dba-441f-b9c6-e4ff8cf353d2 + - a483ed07-0c6c-4e06-b063-fe41f6fe1f64 status: 200 OK code: 200 - duration: 102.025589ms + duration: 88.145381ms - id: 8 request: proto: HTTP/1.1 @@ -417,7 +417,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/account/v3/projects/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -425,20 +425,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' + body: '{"created_at":"2024-08-12T08:34:38.110065Z","description":"","id":"c24a6631-d446-45f0-842e-28ac2bf4b718","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:38.110065Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -446,10 +446,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 354335bc-0b55-490d-980b-af7a76802e76 + - a7dd793e-62f0-45af-b563-cbed036adfc3 status: 200 OK code: 200 - duration: 61.173264ms + duration: 67.057432ms - id: 9 request: proto: HTTP/1.1 @@ -466,7 +466,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -474,20 +474,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -495,10 +495,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d61a5f8d-204f-42f7-aa51-c32f7b479ccf + - 4e6b0781-6c1b-4a47-90e0-8b38683dbb89 status: 200 OK code: 200 - duration: 49.289298ms + duration: 54.74101ms - id: 10 request: proto: HTTP/1.1 @@ -515,7 +515,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -523,20 +523,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -544,10 +544,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 41e772c0-b9a6-4e0b-ba6e-9ce4b7021cf6 + - ce5184fb-4611-44fc-9c48-9f2d3fdb982f status: 200 OK code: 200 - duration: 91.369761ms + duration: 85.919328ms - id: 11 request: proto: HTTP/1.1 @@ -564,7 +564,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/account/v3/projects/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -572,20 +572,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' + body: '{"created_at":"2024-08-12T08:34:38.110065Z","description":"","id":"c24a6631-d446-45f0-842e-28ac2bf4b718","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:38.110065Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -593,10 +593,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 956a160b-08e3-4b4e-8016-fc92f8643a5d + - 3fff50fc-96c9-4fe8-9d74-420f4cfe1010 status: 200 OK code: 200 - duration: 53.506229ms + duration: 53.282732ms - id: 12 request: proto: HTTP/1.1 @@ -613,7 +613,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -621,20 +621,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -642,10 +642,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a257b60-a7ac-4ed9-8999-23295b49e11c + - 2b89a90b-02c9-4348-9442-004788dbffad status: 200 OK code: 200 - duration: 51.938811ms + duration: 52.673377ms - id: 13 request: proto: HTTP/1.1 @@ -662,7 +662,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -670,20 +670,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"initial@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -691,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97ab76b7-b59a-4621-8a51-42c31c35c103 + - 60349f62-8e78-4e2c-9a1b-25cd6844266e status: 200 OK code: 200 - duration: 104.383294ms + duration: 97.58979ms - id: 14 request: proto: HTTP/1.1 @@ -706,7 +706,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"initial@example.com"}}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718","email":{"to":"initial@example.com"}}' form: {} headers: Content-Type: @@ -730,9 +730,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -740,10 +740,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 86ee25a9-828f-45e2-85b4-12f660db3c9a + - 820b2cba-830b-449b-9ca3-51ce106d91ae status: 204 No Content code: 204 - duration: 330.8068ms + duration: 553.181094ms - id: 15 request: proto: HTTP/1.1 @@ -755,7 +755,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"updated@example.com"}}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718","email":{"to":"updated@example.com"}}' form: {} headers: Content-Type: @@ -770,20 +770,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 56 + content_length: 57 uncompressed: false body: '{"email":{"to":"updated@example.com"},"region":"fr-par"}' headers: Content-Length: - - "56" + - "57" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f6bfe3c6-6638-40d1-8521-e917b7510cb2 + - 278ca42f-2eda-45fc-a0d5-793ea396e25c status: 200 OK code: 200 - duration: 402.588668ms + duration: 413.238014ms - id: 16 request: proto: HTTP/1.1 @@ -811,7 +811,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -819,20 +819,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -840,10 +840,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e998f759-8a7d-49b7-8704-ef5398b44e7e + - 37e78a4a-d1c8-4c20-b97e-17d05dd08797 status: 200 OK code: 200 - duration: 48.325592ms + duration: 50.349093ms - id: 17 request: proto: HTTP/1.1 @@ -860,7 +860,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -868,20 +868,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -889,10 +889,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 10c490de-6b7e-4202-856b-73e44eb2f318 + - 2adecb86-514c-4fc2-98cb-8039aa48f85b status: 200 OK code: 200 - duration: 141.196151ms + duration: 105.080138ms - id: 18 request: proto: HTTP/1.1 @@ -909,7 +909,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -917,20 +917,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -938,10 +938,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a6e529e-51f3-4f8e-81d8-662cdc428724 + - 9fc5837a-05b8-477b-a272-8fe8f437249f status: 200 OK code: 200 - duration: 1.124669029s + duration: 95.587297ms - id: 19 request: proto: HTTP/1.1 @@ -958,7 +958,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/account/v3/projects/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -966,20 +966,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.138935Z","description":"","id":"79c7b804-df9c-411d-9bc8-90b2dde08898","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.138935Z"}' + body: '{"created_at":"2024-08-12T08:34:38.110065Z","description":"","id":"c24a6631-d446-45f0-842e-28ac2bf4b718","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:38.110065Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -987,10 +987,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eab61b69-941b-4dc7-aaa8-5c6e3cacc2e8 + - a65dcd57-9937-469d-b017-188e4489711c status: 200 OK code: 200 - duration: 50.160226ms + duration: 60.746731ms - id: 20 request: proto: HTTP/1.1 @@ -1007,7 +1007,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1015,20 +1015,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -1036,10 +1036,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a824ab3-0c39-49a1-bb1f-1993da1511ca + - 930e451f-b8db-487c-9538-7fae02cbc883 status: 200 OK code: 200 - duration: 44.615955ms + duration: 51.330707ms - id: 21 request: proto: HTTP/1.1 @@ -1056,7 +1056,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1064,20 +1064,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -1085,10 +1085,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d11ebcc8-e13f-4343-810e-ff2c37680ef7 + - 87f270ea-8fd1-4d20-92aa-1ada0dc4c188 status: 200 OK code: 200 - duration: 139.960808ms + duration: 95.660545ms - id: 22 request: proto: HTTP/1.1 @@ -1105,7 +1105,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1113,20 +1113,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 164 + content_length: 168 uncompressed: false body: '{"contact_points":[{"email":{"to":"updated@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":1}' headers: Content-Length: - - "164" + - "168" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -1134,10 +1134,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f06c245d-1f7c-429e-b973-8775f29cd834 + - 808fb24a-e68c-4695-9f21-26f05dca6ee7 status: 200 OK code: 200 - duration: 88.336191ms + duration: 75.697748ms - id: 23 request: proto: HTTP/1.1 @@ -1149,7 +1149,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898","email":{"to":"updated@example.com"}}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718","email":{"to":"updated@example.com"}}' form: {} headers: Content-Type: @@ -1173,9 +1173,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9d02a32-9b07-4eb9-ad9a-9b9e672c573e + - ab3dec23-5e4b-4ed3-9f5e-062ce62353ed status: 204 No Content code: 204 - duration: 297.651207ms + duration: 560.992323ms - id: 24 request: proto: HTTP/1.1 @@ -1198,7 +1198,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' form: {} headers: Content-Type: @@ -1213,20 +1213,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://922db258-b867-47a2-ba00-28a2b8f4ae67.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -1234,10 +1234,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4e15c1c7-a550-4aca-ab37-6c55d0ec38df + - 1df2468d-6c3c-47d9-9c8c-8cc1f58177b0 status: 200 OK code: 200 - duration: 195.824996ms + duration: 196.994597ms - id: 25 request: proto: HTTP/1.1 @@ -1249,7 +1249,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"79c7b804-df9c-411d-9bc8-90b2dde08898"}' + body: '{"project_id":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' form: {} headers: Content-Type: @@ -1264,20 +1264,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8176eed3-4ab5-4633-8cbd-c9f7efa93d8c + - e974e9b4-b0a1-42ac-8682-59f45b9fdfa9 status: 200 OK code: 200 - duration: 259.512432ms + duration: 320.105822ms - id: 26 request: proto: HTTP/1.1 @@ -1305,7 +1305,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/account/v3/projects/c24a6631-d446-45f0-842e-28ac2bf4b718 method: DELETE response: proto: HTTP/2.0 @@ -1322,9 +1322,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -1332,10 +1332,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5eb2c044-570a-44ee-bc76-69098ad3f302 + - 8f43cb85-bd31-4830-b787-22a6bac7df2a status: 204 No Content code: 204 - duration: 1.217883832s + duration: 1.221923425s - id: 27 request: proto: HTTP/1.1 @@ -1352,7 +1352,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=79c7b804-df9c-411d-9bc8-90b2dde08898 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1371,9 +1371,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -1381,7 +1381,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 26ea0330-2a3c-4e91-8a94-bf8fd0a1de7c + - 2a4d2dfe-ed1d-43a3-acc5-4882e6e17010 status: 403 Forbidden code: 403 - duration: 49.739583ms + duration: 62.522806ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml index b8e2772b6..3274ba843 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-enable-disable.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' + body: '{"created_at":"2024-08-12T08:34:44.412401Z","description":"","id":"827a3048-b744-4267-8f07-9c3bea76c810","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:44.412401Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:44 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: - - 9621856a-5080-4e10-8597-2088322b7064 + - 22c2f359-fe6a-4937-982a-ec97da4a337d status: 200 OK code: 200 - duration: 1.214730464s + duration: 243.196334ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/account/v3/projects/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' + body: '{"created_at":"2024-08-12T08:34:44.412401Z","description":"","id":"827a3048-b744-4267-8f07-9c3bea76c810","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:44.412401Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:44 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1daf4a67-95df-41d4-b2c4-d77a75a3f2c4 + - 630e27d8-3827-4f34-a062-5ebe4efb315e status: 200 OK code: 200 - duration: 61.397986ms + duration: 56.155696ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' + body: '{"project_id":"827a3048-b744-4267-8f07-9c3bea76c810"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:44 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: - - f79276ec-0d38-4331-a711-6cce7b9ff761 + - 349485df-aa55-4cc6-93b9-21a11142bb80 status: 200 OK code: 200 - duration: 126.476469ms + duration: 73.554432ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' + body: '{"project_id":"827a3048-b744-4267-8f07-9c3bea76c810"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 96761787-b917-49ac-a89e-e9459812644b + - fd602f31-e4b9-4794-8b11-eb401299e9ae status: 200 OK code: 200 - duration: 538.775171ms + duration: 249.865748ms - id: 4 request: proto: HTTP/1.1 @@ -219,7 +219,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -227,20 +227,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -248,10 +248,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ec9baa55-ecfb-4f86-8ee2-db43780ba77f + - 95a596e0-ee1d-4596-b51d-67a3e090abd9 status: 200 OK code: 200 - duration: 103.429882ms + duration: 49.48649ms - id: 5 request: proto: HTTP/1.1 @@ -268,7 +268,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -276,20 +276,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -297,10 +297,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d41d1d36-66b6-4291-83f4-693c6d97921f + - 01a03bce-7592-4053-a535-218239374d37 status: 200 OK code: 200 - duration: 96.190607ms + duration: 99.639618ms - id: 6 request: proto: HTTP/1.1 @@ -317,7 +317,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -325,20 +325,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -346,10 +346,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e6f4dd40-5038-4b80-9a98-511368843007 + - fe140707-168c-4ffb-9d01-8d8dc564f5c1 status: 200 OK code: 200 - duration: 143.132186ms + duration: 43.361351ms - id: 7 request: proto: HTTP/1.1 @@ -366,7 +366,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/account/v3/projects/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -374,20 +374,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' + body: '{"created_at":"2024-08-12T08:34:44.412401Z","description":"","id":"827a3048-b744-4267-8f07-9c3bea76c810","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:44.412401Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -395,10 +395,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - add95a97-41ea-4486-a403-3f8b861335b9 + - 7af4396b-dad3-44ad-ba41-e0ac76ca8c0c status: 200 OK code: 200 - duration: 73.678281ms + duration: 47.421875ms - id: 8 request: proto: HTTP/1.1 @@ -415,7 +415,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -423,20 +423,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -444,10 +444,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34d20929-e03e-4136-accc-a25a84edb5b9 + - 48433fd4-2561-499c-a1ba-98a95a09c2d1 status: 200 OK code: 200 - duration: 57.39701ms + duration: 52.118377ms - id: 9 request: proto: HTTP/1.1 @@ -464,7 +464,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -472,20 +472,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -493,10 +493,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8fb49b2f-9d2a-4b9d-9f23-86daa987b681 + - bca29d56-0b6e-4584-b5cc-0fcdda1bb2e0 status: 200 OK code: 200 - duration: 93.059587ms + duration: 120.772813ms - id: 10 request: proto: HTTP/1.1 @@ -513,7 +513,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/account/v3/projects/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -521,20 +521,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' + body: '{"created_at":"2024-08-12T08:34:44.412401Z","description":"","id":"827a3048-b744-4267-8f07-9c3bea76c810","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:44.412401Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -542,10 +542,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dedb7b0b-7a73-4080-adfc-2f933e2acc7f + - 4786dad7-84bc-479a-8028-0ea182124345 status: 200 OK code: 200 - duration: 63.622887ms + duration: 55.804156ms - id: 11 request: proto: HTTP/1.1 @@ -562,7 +562,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -570,20 +570,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -591,10 +591,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b6fcf409-7538-4939-8049-c8a77c1439b8 + - b1b55bfa-5904-4786-b68f-5bf82b036856 status: 200 OK code: 200 - duration: 46.368072ms + duration: 45.148157ms - id: 12 request: proto: HTTP/1.1 @@ -611,7 +611,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -619,20 +619,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -640,10 +640,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6433649c-86fe-453b-bfea-881933aade5c + - b46d73e1-b39d-4050-ae15-6429326b9034 status: 200 OK code: 200 - duration: 99.746058ms + duration: 95.122362ms - id: 13 request: proto: HTTP/1.1 @@ -655,7 +655,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' + body: '{"project_id":"827a3048-b744-4267-8f07-9c3bea76c810"}' form: {} headers: Content-Type: @@ -670,20 +670,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -691,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff9a71f3-3cb0-4120-8683-66a716f15a2d + - a5c49464-0a5c-498b-9801-388de120a4ee status: 200 OK code: 200 - duration: 216.003792ms + duration: 334.319997ms - id: 14 request: proto: HTTP/1.1 @@ -711,7 +711,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -719,20 +719,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -740,10 +740,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0fabd56e-9729-4af9-bf9a-cdc26ebc3417 + - 7d046ec0-853c-4637-8d03-a807597b6e68 status: 200 OK code: 200 - duration: 49.638028ms + duration: 59.713555ms - id: 15 request: proto: HTTP/1.1 @@ -760,7 +760,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -768,20 +768,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -789,10 +789,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 02494d09-e2fd-4590-b09e-e299a4ec6742 + - 335efd68-41c5-4365-930e-1f5e21c56a3e status: 200 OK code: 200 - duration: 99.488351ms + duration: 139.023846ms - id: 16 request: proto: HTTP/1.1 @@ -809,7 +809,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -817,20 +817,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -838,10 +838,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5100084b-cd3c-40db-8d20-b76c587cb1ae + - 805e0c5a-29e0-4da5-9a8a-728988faabe8 status: 200 OK code: 200 - duration: 62.015072ms + duration: 47.6609ms - id: 17 request: proto: HTTP/1.1 @@ -858,7 +858,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/account/v3/projects/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -866,20 +866,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.056647Z","description":"","id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.056647Z"}' + body: '{"created_at":"2024-08-12T08:34:44.412401Z","description":"","id":"827a3048-b744-4267-8f07-9c3bea76c810","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:44.412401Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -887,10 +887,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 30b0f522-114c-44de-881b-9751d85893c6 + - 3f47075e-dc8d-47b1-8d1d-603729fc4a4c status: 200 OK code: 200 - duration: 64.11925ms + duration: 56.367333ms - id: 18 request: proto: HTTP/1.1 @@ -907,7 +907,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -915,20 +915,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -936,10 +936,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b42b6211-94e8-4847-ae2e-7e4f9a294758 + - 057684db-0434-4d5b-88d7-894ecaf9d2d4 status: 200 OK code: 200 - duration: 57.78256ms + duration: 45.743978ms - id: 19 request: proto: HTTP/1.1 @@ -956,7 +956,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -964,20 +964,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:47 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: @@ -985,10 +985,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 787e21b5-4e28-4bbe-847f-19edaa2ed6b3 + - f6b5aa6c-2cc6-45e2-8b1e-0d3428383d41 status: 200 OK code: 200 - duration: 429.927356ms + duration: 110.881019ms - id: 20 request: proto: HTTP/1.1 @@ -1005,7 +1005,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -1013,20 +1013,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:48 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: @@ -1034,10 +1034,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20765f3e-d2cc-4c67-ac2c-c8fae6824205 + - dbe56797-0adc-4342-94d7-5537a891ea95 status: 200 OK code: 200 - duration: 391.280878ms + duration: 102.562144ms - id: 21 request: proto: HTTP/1.1 @@ -1049,7 +1049,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' + body: '{"project_id":"827a3048-b744-4267-8f07-9c3bea76c810"}' form: {} headers: Content-Type: @@ -1064,20 +1064,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://d331a25a-62e2-44cf-8bc3-a7cde0b425fa.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:48 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: @@ -1085,10 +1085,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2d828f8-8160-4666-b429-39b39ceb5870 + - 59713839-7a5d-469c-b38e-88dfa0d7063d status: 200 OK code: 200 - duration: 226.005666ms + duration: 267.815581ms - id: 22 request: proto: HTTP/1.1 @@ -1100,7 +1100,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"541e5113-0d08-4d4c-ad72-0cdf698bfe5a"}' + body: '{"project_id":"827a3048-b744-4267-8f07-9c3bea76c810"}' form: {} headers: Content-Type: @@ -1115,20 +1115,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:48 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: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 072c1424-960b-4c01-87dd-340ad0a95b25 + - a9685aef-850e-4f2b-af9f-076e68e7efaf status: 200 OK code: 200 - duration: 272.880706ms + duration: 306.554479ms - id: 23 request: proto: HTTP/1.1 @@ -1156,7 +1156,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/account/v3/projects/827a3048-b744-4267-8f07-9c3bea76c810 method: DELETE response: proto: HTTP/2.0 @@ -1173,9 +1173,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dc8f961d-372e-4aad-9c45-eda00c383f2a + - 82d22db9-afd3-413c-a43d-0404c0c8af86 status: 204 No Content code: 204 - duration: 1.253276416s + duration: 1.205136343s - id: 24 request: proto: HTTP/1.1 @@ -1203,7 +1203,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=541e5113-0d08-4d4c-ad72-0cdf698bfe5a + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -1222,9 +1222,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:50 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: @@ -1232,7 +1232,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e75ffc5f-92f5-4da0-bef9-25e251931beb + - cd9a8ad2-7287-4c62-be2c-4082bdd18503 status: 403 Forbidden code: 403 - duration: 44.507724ms + duration: 50.55991ms diff --git a/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml b/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml index 9eb28483b..eeccfa0bd 100644 --- a/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-alert-manager-update-single-contact.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' + body: '{"created_at":"2024-08-12T08:34:43.586602Z","description":"","id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:43.586602Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 4c87211b-fcb7-469a-b24c-1d8251155285 + - 8ce312da-bc5b-4f66-ad74-8804ff3a3e5a status: 200 OK code: 200 - duration: 1.094481749s + duration: 235.151653ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/account/v3/projects/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' + body: '{"created_at":"2024-08-12T08:34:43.586602Z","description":"","id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:43.586602Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:43 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 74d517f7-63a6-445c-8994-84da097f3ef7 + - 0e033868-e2f2-45da-aa32-f4233c394708 status: 200 OK code: 200 - duration: 61.361178ms + duration: 62.934847ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 8025b86e-d87f-4600-be6b-edce9316a847 + - e8f9ddd1-8b90-4f66-a51d-63a23ec78d96 status: 200 OK code: 200 - duration: 153.907884ms + duration: 80.628688ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1f4bea7-9ea9-446b-98a6-402ac55bfc85 + - d1c12da9-fb1e-4b52-8e20-71ab911cfffc status: 200 OK code: 200 - duration: 521.076611ms + duration: 211.058411ms - id: 4 request: proto: HTTP/1.1 @@ -214,7 +214,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"notupdated@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"notupdated@example.com"}}' form: {} headers: Content-Type: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 59 + content_length: 60 uncompressed: false body: '{"email":{"to":"notupdated@example.com"},"region":"fr-par"}' headers: Content-Length: - - "59" + - "60" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7ccf59f9-867c-4900-aee2-de4528f031b8 + - 37aaa33b-db2d-4dda-a3ec-1f17bea2ec8f status: 200 OK code: 200 - duration: 583.712927ms + duration: 365.547858ms - id: 5 request: proto: HTTP/1.1 @@ -265,7 +265,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"initial1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6919f688-85a9-4cf8-9c5d-85f56b6bff10 + - 3b39a0e2-190c-48e9-9ae4-c3f9c9aaf37d status: 200 OK code: 200 - duration: 974.869859ms + duration: 269.821963ms - id: 6 request: proto: HTTP/1.1 @@ -321,7 +321,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 55413536-89e6-4857-bfd3-c01ce310b9c2 + - 8d66090d-9be7-4423-9434-c767aabb23af status: 200 OK code: 200 - duration: 42.921726ms + duration: 51.565374ms - id: 7 request: proto: HTTP/1.1 @@ -370,7 +370,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -378,20 +378,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 34a9a4d6-359a-4eb3-b0eb-953aa4873e91 + - 71779d36-db5d-44bd-8ff4-e87c4648a061 status: 200 OK code: 200 - duration: 97.137735ms + duration: 90.674437ms - id: 8 request: proto: HTTP/1.1 @@ -419,7 +419,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -427,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 06de482c-8543-4758-adcf-c785ef700824 + - d0808fbe-98cc-4e95-953d-edadaa5472ff status: 200 OK code: 200 - duration: 99.89962ms + duration: 106.981287ms - id: 9 request: proto: HTTP/1.1 @@ -468,7 +468,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/account/v3/projects/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -476,20 +476,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' + body: '{"created_at":"2024-08-12T08:34:43.586602Z","description":"","id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:43.586602Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -497,10 +497,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7fe7b70b-2220-4fb7-83c8-d322b7a6da06 + - 4fac2eee-44ac-49fc-847b-c891d00c0ef7 status: 200 OK code: 200 - duration: 52.454794ms + duration: 69.679884ms - id: 10 request: proto: HTTP/1.1 @@ -517,7 +517,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -525,20 +525,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -546,10 +546,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e9121cac-57bb-4a22-bb1f-0d58798e0a63 + - 2e818b78-794e-46f2-a8e2-dda92ce4b51a status: 200 OK code: 200 - duration: 49.891249ms + duration: 43.758027ms - id: 11 request: proto: HTTP/1.1 @@ -566,7 +566,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -574,20 +574,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:45 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: @@ -595,10 +595,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c54c6b63-7650-4364-9c4a-2ce09a860a48 + - 2b52c1b1-acc3-4b11-b330-9503430b9901 status: 200 OK code: 200 - duration: 122.416871ms + duration: 105.341386ms - id: 12 request: proto: HTTP/1.1 @@ -615,7 +615,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/account/v3/projects/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -623,20 +623,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' + body: '{"created_at":"2024-08-12T08:34:43.586602Z","description":"","id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:43.586602Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -644,10 +644,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2e2c8249-7bcd-46d7-9bab-3adb69b9553f + - fb2900f1-3c46-4662-bbaf-541f60fcefdb status: 200 OK code: 200 - duration: 57.345573ms + duration: 58.114029ms - id: 13 request: proto: HTTP/1.1 @@ -664,7 +664,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -672,20 +672,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -693,10 +693,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1cb723a-3156-4dea-a2c3-c33360815f12 + - 96c4f0b2-dadb-4777-b7f0-b20fcbfa0c3b status: 200 OK code: 200 - duration: 48.820116ms + duration: 63.499266ms - id: 14 request: proto: HTTP/1.1 @@ -713,7 +713,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -721,20 +721,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"initial1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -742,10 +742,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 51d3b6a7-795d-400e-a6f8-517959e13199 + - 607c649f-2f85-4780-8f6c-3132d9ca190a status: 200 OK code: 200 - duration: 112.438509ms + duration: 84.925219ms - id: 15 request: proto: HTTP/1.1 @@ -757,7 +757,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"initial1@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"initial1@example.com"}}' form: {} headers: Content-Type: @@ -781,9 +781,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:53 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: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a661d3cf-494f-4b06-9f04-2b5929c1325a + - 539f7e09-15ca-480f-a30e-07370c723d13 status: 204 No Content code: 204 - duration: 992.241242ms + duration: 7.197595565s - id: 16 request: proto: HTTP/1.1 @@ -806,7 +806,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: @@ -821,20 +821,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 57 + content_length: 58 uncompressed: false body: '{"email":{"to":"updated1@example.com"},"region":"fr-par"}' headers: Content-Length: - - "57" + - "58" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -842,10 +842,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a4437a4-b556-41f6-bc3a-c42a9e509c1b + - cc35f49c-3033-4095-a8a4-45f50e1df053 status: 200 OK code: 200 - duration: 277.51308ms + duration: 236.759136ms - id: 17 request: proto: HTTP/1.1 @@ -862,7 +862,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -870,20 +870,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 87b42516-98e4-4228-94e1-dd6574d34326 + - 028a928c-384e-4b79-b626-b4ca0a0876b2 status: 200 OK code: 200 - duration: 47.617058ms + duration: 46.536523ms - id: 18 request: proto: HTTP/1.1 @@ -911,7 +911,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -919,20 +919,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -940,10 +940,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 861460a5-9737-405a-b118-ee1b25378dfc + - c1e7f28d-d11b-42aa-8ef1-441be788356c status: 200 OK code: 200 - duration: 199.133926ms + duration: 95.896787ms - id: 19 request: proto: HTTP/1.1 @@ -960,7 +960,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -968,20 +968,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -989,10 +989,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5eaf58ad-ffa8-4376-bb3b-a1985149839c + - 8f0ff037-2cdb-426f-9763-77f5aab30e10 status: 200 OK code: 200 - duration: 212.809307ms + duration: 93.980192ms - id: 20 request: proto: HTTP/1.1 @@ -1009,7 +1009,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/account/v3/projects/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1017,20 +1017,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 230 + content_length: 235 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.170326Z","description":"","id":"337f4f58-c91f-4f8c-a908-4af640661424","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.170326Z"}' + body: '{"created_at":"2024-08-12T08:34:43.586602Z","description":"","id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","name":"tf_test_project","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:43.586602Z"}' headers: Content-Length: - - "230" + - "235" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -1038,10 +1038,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a80d8ea5-2ee9-4400-a153-6f345047478c + - 674bee66-a14f-43ac-aca8-21c57308ccf2 status: 200 OK code: 200 - duration: 66.506678ms + duration: 75.990705ms - id: 21 request: proto: HTTP/1.1 @@ -1058,7 +1058,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1066,20 +1066,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -1087,10 +1087,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b8dcee55-2864-4fc6-b145-0606a16fa6d7 + - 7097c5d4-db99-4699-9394-c5aaab28be20 status: 200 OK code: 200 - duration: 57.682437ms + duration: 50.951292ms - id: 22 request: proto: HTTP/1.1 @@ -1107,7 +1107,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1115,20 +1115,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7ed123e7-25cc-4aee-8782-51ecb7bc7f77 + - 953e45a7-64e7-40d0-a12f-7077883bb1dd status: 200 OK code: 200 - duration: 85.103047ms + duration: 87.696633ms - id: 23 request: proto: HTTP/1.1 @@ -1156,7 +1156,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1164,20 +1164,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 225 + content_length: 231 uncompressed: false body: '{"contact_points":[{"email":{"to":"notupdated@example.com"},"region":"fr-par"},{"email":{"to":"updated1@example.com"},"region":"fr-par"}],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":2}' headers: Content-Length: - - "225" + - "231" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:55 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: @@ -1185,10 +1185,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c8c2cea6-2e75-4f78-94a1-cabca8140355 + - 4640f94a-1718-42da-a936-0e58c3471ad3 status: 200 OK code: 200 - duration: 97.53901ms + duration: 90.666487ms - id: 24 request: proto: HTTP/1.1 @@ -1200,7 +1200,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"notupdated@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"notupdated@example.com"}}' form: {} headers: Content-Type: @@ -1224,9 +1224,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:35:02 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: @@ -1234,10 +1234,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cff649f0-cfae-479a-b686-a70edea87e2c + - e1d41d5b-abc7-47f1-b17b-ef9a98bf6376 status: 204 No Content code: 204 - duration: 202.515442ms + duration: 7.036281361s - id: 25 request: proto: HTTP/1.1 @@ -1249,7 +1249,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424","email":{"to":"updated1@example.com"}}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","email":{"to":"updated1@example.com"}}' form: {} headers: Content-Type: @@ -1273,9 +1273,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:35:02 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: @@ -1283,10 +1283,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1335dc2-d3fe-476c-91c9-80b40c24e657 + - 4701411a-c750-4952-8f30-581be398a96d status: 204 No Content code: 204 - duration: 246.4898ms + duration: 264.734837ms - id: 26 request: proto: HTTP/1.1 @@ -1298,7 +1298,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' form: {} headers: Content-Type: @@ -1313,20 +1313,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://4610dee5-f5d5-4875-b40d-644f55fba425.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:35:02 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: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58fa3c64-2e15-4c05-8b3d-05dc8c935584 + - 7fe76cdf-f12d-43e2-8d2c-e7e027161834 status: 200 OK code: 200 - duration: 205.700985ms + duration: 192.469707ms - id: 27 request: proto: HTTP/1.1 @@ -1349,7 +1349,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"337f4f58-c91f-4f8c-a908-4af640661424"}' + body: '{"project_id":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' form: {} headers: Content-Type: @@ -1364,20 +1364,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:35:03 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: @@ -1385,10 +1385,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8be85a38-e6d6-4e15-ad3a-9784deadb142 + - 26c34969-b05b-42ff-86ff-0b6df3fc95f6 status: 200 OK code: 200 - duration: 266.513895ms + duration: 265.73229ms - id: 28 request: proto: HTTP/1.1 @@ -1405,7 +1405,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/account/v3/projects/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: DELETE response: proto: HTTP/2.0 @@ -1422,9 +1422,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:35:04 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: @@ -1432,10 +1432,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 965b05ac-e6b5-43d1-bbf6-1470279316ec + - f334f672-f786-4237-b194-7cd3d81511b5 status: 204 No Content code: 204 - duration: 1.205601314s + duration: 1.204726923s - id: 29 request: proto: HTTP/1.1 @@ -1452,7 +1452,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=337f4f58-c91f-4f8c-a908-4af640661424 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1471,9 +1471,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:35:04 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: @@ -1481,7 +1481,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6dae8bec-cc25-44a8-91bd-b1f53d1770ee + - ce43ee77-c5e9-4257-aa6a-32c567e5ccae status: 403 Forbidden code: 403 - duration: 55.154779ms + duration: 53.54403ms diff --git a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml index c75046ce0..393c51f60 100644 --- a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 245 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + body: '{"created_at":"2024-08-12T08:34:40.493998Z","description":"","id":"22d6f096-edef-45d7-b5fa-764c169cfda5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:40.493998Z"}' headers: Content-Length: - - "245" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 8e7e39e6-45c1-4ff9-8ff8-4fdcded0cb79 + - 92ffacc4-420f-4c6c-93f1-34d324267be9 status: 200 OK code: 200 - duration: 1.174815795s + duration: 215.230625ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 245 + content_length: 250 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + body: '{"created_at":"2024-08-12T08:34:40.493998Z","description":"","id":"22d6f096-edef-45d7-b5fa-764c169cfda5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:40.493998Z"}' headers: Content-Length: - - "245" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:40 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b810fbc1-8282-4981-b2ba-47e0ec4fb9ed + - bf5cb574-504f-4579-9ee7-833b1aa819d9 status: 200 OK code: 200 - duration: 79.191075ms + duration: 58.079131ms - id: 2 request: proto: HTTP/1.1 @@ -125,20 +125,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:40 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: @@ -146,10 +146,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ef7d436-eb5b-476c-994b-4d2b46f98a7b + - e9593681-633b-427b-abdf-b3a9da2e0b09 status: 200 OK code: 200 - duration: 25.715305ms + duration: 24.21487ms - id: 3 request: proto: HTTP/1.1 @@ -161,7 +161,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","plan_name":"free"}' + body: '{"project_id":"22d6f096-edef-45d7-b5fa-764c169cfda5","plan_name":"free"}' form: {} headers: Content-Type: @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 078259db-5684-4f88-9b68-c919a0a045f9 + - a79befad-0338-4edf-bab9-dae7e8d245c9 status: 200 OK code: 200 - duration: 84.236667ms + duration: 79.072436ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 32e8f2a1-144f-4645-89c7-601dcdd76b93 + - a60ae99d-e85b-47ee-9342-067e17643a45 status: 200 OK code: 200 - duration: 67.656365ms + duration: 52.536041ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:41 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: - - bc23b656-1bf9-46b1-b724-c5b6e01fe4a4 + - 8f5e5c20-cf51-4fee-b444-e955bc98c592 status: 200 OK code: 200 - duration: 590.720073ms + duration: 255.22082ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:41 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: - - 2eaabb55-e09f-4aa5-a118-8d00cab3afaf + - 4437ac4d-b001-446d-8b5e-958a58654cea status: 200 OK code: 200 - duration: 51.099536ms + duration: 40.891382ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 245 + content_length: 108 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "245" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 535ee3cb-2669-4b56-a78f-ea780f073f58 + - 408e8a11-3e88-4d0d-bed5-1e56e9bf28be status: 200 OK code: 200 - duration: 59.044783ms + duration: 42.181422ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 250 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"created_at":"2024-08-12T08:34:40.493998Z","description":"","id":"22d6f096-edef-45d7-b5fa-764c169cfda5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:40.493998Z"}' headers: Content-Length: - - "229" + - "250" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 67eb107b-11a7-4336-a5ad-8dce8728880b + - 1b911dab-952d-4c70-a783-13df6740b6a7 status: 200 OK code: 200 - duration: 49.183611ms + duration: 58.657145ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -470,20 +470,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 236 uncompressed: false - body: '{"data_sources":[],"total_count":0}' + 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: - - "35" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:41 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: @@ -491,10 +491,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0b88ca6c-1b76-4c21-aef1-fe42c3e9f1b6 + - e1458627-57dd-4396-9eb6-64ae368cf6fc status: 200 OK code: 200 - duration: 261.47429ms + duration: 50.969319ms - id: 10 request: proto: HTTP/1.1 @@ -511,7 +511,56 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 36 + uncompressed: false + body: '{"data_sources":[],"total_count":0}' + headers: + Content-Length: + - "36" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f6dca846-192e-4a91-b880-033f2edb5488 + status: 200 OK + code: 200 + duration: 253.224941ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -530,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -540,11 +589,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1f61fa1-42a6-4682-92fc-3762c04b6699 + - 470ef8e0-5e46-4ed6-97fd-49af85cda754 status: 200 OK code: 200 - duration: 44.724589ms - - id: 11 + duration: 43.501375ms + - id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -560,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -568,20 +617,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 245 + content_length: 108 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "245" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -589,11 +638,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 940ff39b-a21c-4e19-aae4-5bd2b9a1b641 + - d7fa559e-3224-4603-9c0c-c212b21a27ce status: 200 OK code: 200 - duration: 67.925645ms - - id: 12 + duration: 53.797588ms + - id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -609,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -617,20 +666,69 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-08-12T08:34:40.493998Z","description":"","id":"22d6f096-edef-45d7-b5fa-764c169cfda5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:40.493998Z"}' + headers: + Content-Length: + - "250" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2181a476-0f33-4a5d-90da-c8205906dda7 + status: 200 OK + code: 200 + duration: 47.553137ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -638,11 +736,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2fbd5943-3b28-4cdc-b08a-cd433a436537 + - 1ec18135-09e2-4d70-99bd-2be72ad2f0f3 status: 200 OK code: 200 - duration: 52.983364ms - - id: 13 + duration: 45.022976ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -658,7 +756,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -666,20 +764,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -687,11 +785,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f3b01769-b4f6-462c-a230-d4be739829ef + - df13f2c0-dc47-49fa-8870-02036268a713 status: 200 OK code: 200 - duration: 260.602886ms - - id: 14 + duration: 228.174035ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -707,7 +805,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -726,9 +824,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -736,11 +834,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 77747322-6ad5-416b-b45b-cd8701c98ed1 + - d283f147-0938-40f4-bc02-404e3361c62a status: 200 OK code: 200 - duration: 46.99638ms - - id: 15 + duration: 47.132717ms + - 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.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:42 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 473a56d2-0e25-4985-b05b-5820c768170d + status: 200 OK + code: 200 + duration: 53.28345ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -764,20 +911,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -785,11 +932,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d632100e-2618-48e4-8cc0-5cfb6e949703 + - 1840ed2d-e1b4-46c6-afc3-fd39beab478c status: 200 OK code: 200 - duration: 31.343168ms - - id: 16 + duration: 21.984763ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -800,7 +947,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","plan_name":"premium"}' + body: '{"project_id":"22d6f096-edef-45d7-b5fa-764c169cfda5","plan_name":"premium"}' form: {} headers: Content-Type: @@ -815,20 +962,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 243 uncompressed: false body: '{"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}' headers: Content-Length: - - "236" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -836,11 +983,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6c3e1304-624d-4b88-b290-ac3fb241a9d2 + - 4cb4bdae-9245-47e1-b485-8ebe05dc2228 status: 200 OK code: 200 - duration: 70.267219ms - - id: 17 + duration: 62.255677ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -856,7 +1003,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -864,20 +1011,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 243 uncompressed: false body: '{"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}' headers: Content-Length: - - "236" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -885,11 +1032,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 45612bc6-2451-47b1-9d4c-4eb4753fb8aa + - ea9addfe-3f95-4d1d-b08c-5a56be6f9a07 status: 200 OK code: 200 - duration: 50.148221ms - - id: 18 + duration: 52.927428ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -905,7 +1052,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -913,20 +1060,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -934,11 +1081,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5cc4d56b-8fbf-4723-82de-dcc29056308a + - 6c97f202-6f59-4bab-bd77-efe165ebf83c status: 200 OK code: 200 - duration: 280.071365ms - - id: 19 + duration: 204.822656ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 @@ -954,7 +1101,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -973,9 +1120,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -983,11 +1130,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a6fa4781-a8a8-4b5e-96db-019a8053860e + - f8d4f382-ab50-4c22-8632-9737fa6d08a9 status: 200 OK code: 200 - duration: 69.412855ms - - id: 20 + duration: 47.33074ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -1003,7 +1150,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -1011,20 +1158,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 245 + content_length: 108 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.090400Z","description":"","id":"3f2e5690-3b41-480c-86f9-e317f4dcea85","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.090400Z"}' + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "245" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:43 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: @@ -1032,11 +1179,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d41883e3-ef30-4300-ae12-8d0097a30bc1 + - 9287ae41-4991-4e3d-8625-5c3d771a779e status: 200 OK code: 200 - duration: 63.767273ms - - id: 21 + duration: 50.866691ms + - id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -1052,7 +1199,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -1060,20 +1207,69 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-08-12T08:34:40.493998Z","description":"","id":"22d6f096-edef-45d7-b5fa-764c169cfda5","name":"tf_tests_cockpit_project_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:40.493998Z"}' + headers: + Content-Length: + - "250" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f8bf7d0a-9632-4bad-a80a-cae80722d52a + status: 200 OK + code: 200 + duration: 48.277231ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 243 uncompressed: false body: '{"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}' headers: Content-Length: - - "236" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -1081,11 +1277,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf20c81f-7969-4eba-8f72-4f790c588573 + - e32ff12c-8448-4592-ba81-2fafbe19d884 status: 200 OK code: 200 - duration: 52.534299ms - - id: 22 + duration: 52.845771ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1101,7 +1297,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -1109,20 +1305,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 35 + content_length: 36 uncompressed: false body: '{"data_sources":[],"total_count":0}' headers: Content-Length: - - "35" + - "36" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -1130,11 +1326,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a1e0a277-9c77-4c58-9eea-7faaa6682780 + - 98f08c3e-84bb-4219-96f9-43f27bf8a981 status: 200 OK code: 200 - duration: 299.416034ms - - id: 23 + duration: 235.919248ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1150,7 +1346,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 method: GET response: proto: HTTP/2.0 @@ -1169,9 +1365,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:44 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: @@ -1179,11 +1375,60 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5da3da8a-4ab5-4b2c-9c60-bbe5e7ed6738 + - 85d3e8d4-d6ae-41a4-9173-75f201a2b940 status: 200 OK code: 200 - duration: 54.20254ms - - id: 24 + duration: 50.214138ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 108 + uncompressed: false + body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' + headers: + Content-Length: + - "108" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:44 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 431853dc-ac63-4418-86af-86fced36eb04 + status: 200 OK + code: 200 + duration: 48.53598ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1199,7 +1444,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3f2e5690-3b41-480c-86f9-e317f4dcea85 + url: https://api.scaleway.com/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 method: DELETE response: proto: HTTP/2.0 @@ -1216,9 +1461,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:46 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: @@ -1226,7 +1471,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b02dd87f-76c9-4fb0-81fb-8c323849f545 + - a2765e6d-907a-4a5e-94f3-ca75db684ea9 status: 204 No Content code: 204 - duration: 1.195655322s + duration: 1.182695524s diff --git a/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml index b93e944af..5950db6b8 100644 --- a/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-source-basic.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 253 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' + body: '{"created_at":"2024-08-12T08:34:36.980214Z","description":"","id":"13533699-1e63-4034-a885-2f02cda9107e","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:36.980214Z"}' headers: Content-Length: - - "248" + - "253" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:37 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: - - 263067ce-856c-4842-8f46-ffb58f97dde0 + - 23c824c8-61fc-40a7-a257-8d28aa3ab2bf status: 200 OK code: 200 - duration: 1.108438549s + duration: 262.837593ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 + url: https://api.scaleway.com/account/v3/projects/13533699-1e63-4034-a885-2f02cda9107e method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 253 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' + body: '{"created_at":"2024-08-12T08:34:36.980214Z","description":"","id":"13533699-1e63-4034-a885-2f02cda9107e","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:36.980214Z"}' headers: Content-Length: - - "248" + - "253" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:37 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4dba95ef-46d2-4611-85a3-97e9f6b95fb0 + - 45bef3ad-74f8-45fb-86b3-f246f8fbbc59 status: 200 OK code: 200 - duration: 57.554021ms + duration: 47.606188ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"my-source","type":"metrics"}' + body: '{"project_id":"13533699-1e63-4034-a885-2f02cda9107e","name":"my-source","type":"metrics"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 377 + content_length: 386 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:37.413294Z","id":"c796b392-5641-4695-962e-c2700e868d55","name":"my-source","origin":"external","project_id":"13533699-1e63-4034-a885-2f02cda9107e","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:37.413294Z","url":"https://c796b392-5641-4695-962e-c2700e868d55.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "377" + - "386" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:37 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: - - b3772829-d584-4466-ab3a-23900f10beff + - f76386ff-a5bf-485b-9add-110f876ee095 status: 200 OK code: 200 - duration: 289.323336ms + duration: 156.55071ms - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/c796b392-5641-4695-962e-c2700e868d55 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 377 + content_length: 386 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:37.413294Z","id":"c796b392-5641-4695-962e-c2700e868d55","name":"my-source","origin":"external","project_id":"13533699-1e63-4034-a885-2f02cda9107e","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:37.413294Z","url":"https://c796b392-5641-4695-962e-c2700e868d55.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "377" + - "386" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:37 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: - - fa2cd8e8-015b-40ad-9c15-880cdf37afe3 + - 0d238185-0e93-4ca5-925c-855e70d81805 status: 200 OK code: 200 - duration: 48.143529ms + duration: 44.069604ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/c796b392-5641-4695-962e-c2700e868d55 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 377 + content_length: 386 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:37.413294Z","id":"c796b392-5641-4695-962e-c2700e868d55","name":"my-source","origin":"external","project_id":"13533699-1e63-4034-a885-2f02cda9107e","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:37.413294Z","url":"https://c796b392-5641-4695-962e-c2700e868d55.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "377" + - "386" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:37 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: - - d7cdc934-cd75-4536-97b6-fff32f4a08b8 + - 71279cdf-1a4d-4af6-87a9-882c7c86bf58 status: 200 OK code: 200 - duration: 74.363277ms + duration: 52.543197ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 + url: https://api.scaleway.com/account/v3/projects/13533699-1e63-4034-a885-2f02cda9107e method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 253 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.670185Z","description":"","id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.670185Z"}' + body: '{"created_at":"2024-08-12T08:34:36.980214Z","description":"","id":"13533699-1e63-4034-a885-2f02cda9107e","name":"tf_tests_cockpit_datasource_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:36.980214Z"}' headers: Content-Length: - - "248" + - "253" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:38 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: - - 85ab8bf6-8f39-4eea-8bc5-864282e323bb + - c2ade5f9-2d41-4147-8ff1-921dcda02d76 status: 200 OK code: 200 - duration: 254.934639ms + duration: 48.661479ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/c796b392-5641-4695-962e-c2700e868d55 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 377 + content_length: 386 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.668386Z","id":"b46b8a1a-201d-4397-a57f-97331598a8e0","name":"my-source","origin":"external","project_id":"ff3dc7f6-0f16-4ca3-9910-90569095c701","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:03.668386Z","url":"https://b46b8a1a-201d-4397-a57f-97331598a8e0.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:37.413294Z","id":"c796b392-5641-4695-962e-c2700e868d55","name":"my-source","origin":"external","project_id":"13533699-1e63-4034-a885-2f02cda9107e","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:37.413294Z","url":"https://c796b392-5641-4695-962e-c2700e868d55.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "377" + - "386" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:38 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: - - b1dcd39d-f29e-405e-8c68-b6a56bd118ca + - 8a326942-9e4e-4d27-88e5-d43ea70b85b1 status: 200 OK code: 200 - duration: 50.811547ms + duration: 47.576921ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/c796b392-5641-4695-962e-c2700e868d55 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - f7399523-e3d3-4cdf-805f-aa147ca46329 + - b39ee7e2-2021-4f92-8f71-6ee04fae2538 status: 204 No Content code: 204 - duration: 213.015974ms + duration: 756.875559ms - id: 8 request: proto: HTTP/1.1 @@ -411,7 +411,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/ff3dc7f6-0f16-4ca3-9910-90569095c701 + url: https://api.scaleway.com/account/v3/projects/13533699-1e63-4034-a885-2f02cda9107e method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 946ec907-e66b-4b5a-9bb6-eeea81589267 + - cf78598f-0af6-430e-9900-67b12c7346f4 status: 204 No Content code: 204 - duration: 1.350947032s + duration: 1.231950375s - id: 9 request: proto: HTTP/1.1 @@ -458,7 +458,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/b46b8a1a-201d-4397-a57f-97331598a8e0 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/c796b392-5641-4695-962e-c2700e868d55 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":"b46b8a1a-201d-4397-a57f-97331598a8e0","type":"not_found"}' + body: '{"message":"resource is not found","resource":"data source","resource_id":"c796b392-5641-4695-962e-c2700e868d55","type":"not_found"}' headers: Content-Length: - "132" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 1a254c2d-ac1c-4e75-a20f-e7c7dc610c01 + - fa8f27f0-7a5d-4cbe-b044-b86c672b33f7 status: 404 Not Found code: 404 - duration: 20.539537ms + duration: 22.41542ms diff --git a/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml index 63624d066..806a5ad2b 100644 --- a/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' + body: '{"created_at":"2024-08-12T08:58:43.818041Z","description":"","id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:58:43.818041Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bd799936-7e33-4362-8ad1-b1be4cfde979 + - 9ddbc141-3e89-4ba0-bb83-8e9d871419b8 status: 200 OK code: 200 - duration: 255.623023ms + duration: 279.602663ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/account/v3/projects/fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' + body: '{"created_at":"2024-08-12T08:58:43.818041Z","description":"","id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:58:43.818041Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a030929-1d11-462e-adfb-b4a5a5035d40 + - b49b136b-0275-4183-892d-08caa024aa43 status: 200 OK code: 200 - duration: 56.916ms + duration: 57.565718ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,22 +148,22 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63b0d30d-5740-455c-8f18-332fc2a24508 + - bc4d4820-9bf5-4e96-b6a0-a48d49845710 status: 200 OK code: 200 - duration: 138.986204ms + duration: 95.920991ms - id: 3 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 102 + content_length: 100 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-metrics","type":"metrics"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"my-data-source-traces","type":"traces"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 396 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.254102Z","id":"81dddda3-a932-415e-8081-7a7b53411e99","name":"my-data-source-traces","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:58:44.254102Z","url":"https://81dddda3-a932-415e-8081-7a7b53411e99.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -199,22 +199,22 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c757df0e-9444-4f23-91fb-30bb2a3a35a7 + - 5aeac095-8b66-431f-a75f-e83892bae51d status: 200 OK code: 200 - duration: 545.936773ms + duration: 166.284586ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 100 + content_length: 102 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-traces","type":"traces"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"my-data-source-metrics","type":"metrics"}' form: {} headers: Content-Type: @@ -229,20 +229,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 387 + content_length: 399 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.282146Z","id":"1b9e29ae-fcd4-4d37-add5-cd3e7044e767","name":"my-data-source-metrics","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:58:44.282146Z","url":"https://1b9e29ae-fcd4-4d37-add5-cd3e7044e767.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "387" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cd3945e3-922b-40cc-8562-b7e667deb9cd + - 81ceb7d8-f552-4dad-af42-cdaa45334340 status: 200 OK code: 200 - duration: 545.937081ms + duration: 195.722084ms - id: 5 request: proto: HTTP/1.1 @@ -265,7 +265,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"my-data-source-logs","type":"logs"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"my-data-source-logs","type":"logs"}' form: {} headers: Content-Type: @@ -280,20 +280,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.302679Z","id":"3af10c90-79cf-4b0c-ba7a-2f513f75f93f","name":"my-data-source-logs","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:58:44.302679Z","url":"https://3af10c90-79cf-4b0c-ba7a-2f513f75f93f.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e177548-c810-4c63-8774-62d858b2a513 + - 188a27c7-c7c7-4987-b8bc-6d16b37ceb47 status: 200 OK code: 200 - duration: 545.951643ms + duration: 218.739602ms - id: 6 request: proto: HTTP/1.1 @@ -321,7 +321,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1b9e29ae-fcd4-4d37-add5-cd3e7044e767 method: GET response: proto: HTTP/2.0 @@ -329,20 +329,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 399 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.282146Z","id":"1b9e29ae-fcd4-4d37-add5-cd3e7044e767","name":"my-data-source-metrics","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:58:44.282146Z","url":"https://1b9e29ae-fcd4-4d37-add5-cd3e7044e767.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -350,50 +350,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8718d33a-867c-40e2-809c-8642f0eb6009 + - 79cf954a-5bad-4aaf-ae31-69241efc2dd7 status: 200 OK code: 200 - duration: 48.55437ms + duration: 48.267926ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable - method: POST + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/3af10c90-79cf-4b0c-ba7a-2f513f75f93f + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 390 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-12T08:58:44.302679Z","id":"3af10c90-79cf-4b0c-ba7a-2f513f75f93f","name":"my-data-source-logs","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:58:44.302679Z","url":"https://3af10c90-79cf-4b0c-ba7a-2f513f75f93f.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -401,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 680a0e39-d6ae-4d47-a9d5-f53af5e907f6 + - effaf801-c2b4-472a-9a8f-faa1444bab93 status: 200 OK code: 200 - duration: 455.459278ms + duration: 51.893657ms - id: 8 request: proto: HTTP/1.1 @@ -421,7 +419,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/81dddda3-a932-415e-8081-7a7b53411e99 method: GET response: proto: HTTP/2.0 @@ -429,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 396 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.254102Z","id":"81dddda3-a932-415e-8081-7a7b53411e99","name":"my-data-source-traces","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:58:44.254102Z","url":"https://81dddda3-a932-415e-8081-7a7b53411e99.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -450,48 +448,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7707b9b9-dc38-436f-af7d-1f2deea28a4d + - 44757f00-cb37-46d5-85bc-b1e994fec9df status: 200 OK code: 200 - duration: 52.350219ms + duration: 122.784577ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 - method: GET + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 387 + content_length: 186 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "387" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:47 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -499,10 +499,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7c204a88-0794-411d-9bb6-817d54631954 + - fe90b21e-e4ee-42fe-8261-aa541179dfd9 status: 200 OK code: 200 - duration: 72.899199ms + duration: 216.465199ms - id: 10 request: proto: HTTP/1.1 @@ -519,7 +519,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -527,20 +527,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:48 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -548,10 +548,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a3236bc-ef4f-4d6a-ae74-a2df56069f20 + - 1017f423-bb7a-4e9e-8f9b-40a9c2e2415a status: 200 OK code: 200 - duration: 56.443224ms + duration: 71.156581ms - id: 11 request: proto: HTTP/1.1 @@ -568,7 +568,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -576,20 +576,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:51:48 GMT + - Mon, 12 Aug 2024 08:58:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -597,10 +597,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb6fccb7-ea04-4557-87b7-b31d626d3f5a + - 39aa6179-779e-40d1-8c0d-6644182ebfa1 status: 200 OK code: 200 - duration: 130.452386ms + duration: 124.160019ms - id: 12 request: proto: HTTP/1.1 @@ -612,7 +612,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","login":"cockpit_test","role":"editor"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","login":"cockpit_test","role":"editor"}' form: {} headers: Content-Type: @@ -627,20 +627,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 77 + content_length: 80 uncompressed: false - body: '{"id":2,"login":"cockpit_test","password":"4btiVRPmFORWlBxj","role":"editor"}' + body: '{"id":2,"login":"cockpit_test","password":"iPWpyMgWBLcADv6R","role":"editor"}' headers: Content-Length: - - "77" + - "80" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -648,10 +648,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a401108-342b-4d5b-af35-5cff1aad7ba4 + - f637ff39-e15f-43fe-9076-3a7ae029ab0f status: 200 OK code: 200 - duration: 35.050818265s + duration: 35.620545529s - id: 13 request: proto: HTTP/1.1 @@ -668,7 +668,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -676,20 +676,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 97 + content_length: 101 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "97" + - "101" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -697,10 +697,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5ce22429-151a-42a3-9c33-750fdbec091a + - 6b6f848d-69e1-4a41-9bb8-f8d0f490eb0c status: 200 OK code: 200 - duration: 118.008169ms + duration: 149.212592ms - id: 14 request: proto: HTTP/1.1 @@ -725,20 +725,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:19 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -746,10 +746,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cd9c8cd7-2642-4f04-98ad-10499f61fc4b + - e82b9f70-9b7c-4484-81d3-dcfc64207d7e status: 200 OK code: 200 - duration: 31.374957ms + duration: 26.551756ms - id: 15 request: proto: HTTP/1.1 @@ -761,7 +761,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc","plan_name":"premium"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","plan_name":"premium"}' form: {} headers: Content-Type: @@ -776,20 +776,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 243 uncompressed: false body: '{"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}' headers: Content-Length: - - "236" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -797,10 +797,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ceb1617c-3fa1-4bb1-af51-dfd5dd36cbd2 + - dde722c7-d408-452a-9751-2f00bb008924 status: 200 OK code: 200 - duration: 94.157418ms + duration: 103.681302ms - id: 16 request: proto: HTTP/1.1 @@ -817,7 +817,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -825,20 +825,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 243 uncompressed: false body: '{"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}' headers: Content-Length: - - "236" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -846,10 +846,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2e425cc-ee12-415c-accd-f705d8553730 + - 2d03d96c-1f25-4e54-a65e-ccec5c9f4b9f status: 200 OK code: 200 - duration: 67.684419ms + duration: 52.004847ms - id: 17 request: proto: HTTP/1.1 @@ -866,7 +866,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -874,20 +874,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1587 + content_length: 1223 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T14:51:47.479958Z","id":"cbcc4513-c7dd-474f-b6ad-89eb218e5247","name":"Scaleway Alerting","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"unknown_type","updated_at":"2024-08-01T14:51:47.479958Z","url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:58:44.254102Z","id":"81dddda3-a932-415e-8081-7a7b53411e99","name":"my-data-source-traces","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:58:44.254102Z","url":"https://81dddda3-a932-415e-8081-7a7b53411e99.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:58:44.282146Z","id":"1b9e29ae-fcd4-4d37-add5-cd3e7044e767","name":"my-data-source-metrics","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-12T08:58:44.282146Z","url":"https://1b9e29ae-fcd4-4d37-add5-cd3e7044e767.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:58:44.302679Z","id":"3af10c90-79cf-4b0c-ba7a-2f513f75f93f","name":"my-data-source-logs","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-12T08:58:44.302679Z","url":"https://3af10c90-79cf-4b0c-ba7a-2f513f75f93f.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1587" + - "1223" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:22 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -895,10 +895,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20238fda-547f-4436-82b2-6cc9c8d9f596 + - e986072b-a826-4b94-8bf0-d2d060276e29 status: 200 OK code: 200 - duration: 281.925571ms + duration: 252.994706ms - id: 18 request: proto: HTTP/1.1 @@ -915,7 +915,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -925,7 +925,7 @@ interactions: trailer: {} content_length: 93 uncompressed: false - body: '{"grafana_url":"https://a147487d-a049-4153-b24c-f083291b9bfc.dashboard.obs.fr-par.scw.cloud"}' + body: '{"grafana_url":"https://fb2a3d12-1014-4e94-9f07-c36dff3711ad.dashboard.obs.fr-par.scw.cloud"}' headers: Content-Length: - "93" @@ -934,9 +934,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -944,10 +944,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ceb983c-bb1f-4294-a844-5aecd5aa4f40 + - 11b5a0cc-93c1-4943-83c1-43e3f1897c5c status: 200 OK code: 200 - duration: 58.595865ms + duration: 49.118746ms - id: 19 request: proto: HTTP/1.1 @@ -964,7 +964,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -972,20 +972,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 186 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.113910Z","description":"","id":"a147487d-a049-4153-b24c-f083291b9bfc","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T14:51:47.113910Z"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "247" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -993,10 +993,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ab8a9f5c-61f4-4b89-851a-501c4cb68b69 + - 42ef096e-380e-49b8-ae5a-2ead963d4c54 status: 200 OK code: 200 - duration: 53.609477ms + duration: 63.57119ms - id: 20 request: proto: HTTP/1.1 @@ -1013,7 +1013,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 + url: https://api.scaleway.com/account/v3/projects/fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1021,20 +1021,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 386 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:43.818041Z","description":"","id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:58:43.818041Z"}' headers: Content-Length: - - "386" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1042,10 +1042,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 230dc326-dad0-4cd2-8335-512468819106 + - aca8be24-e54e-4ff8-a7b8-be1d48716595 status: 200 OK code: 200 - duration: 44.442244ms + duration: 61.588616ms - id: 21 request: proto: HTTP/1.1 @@ -1062,7 +1062,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/81dddda3-a932-415e-8081-7a7b53411e99 method: GET response: proto: HTTP/2.0 @@ -1070,20 +1070,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 389 + content_length: 395 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:58:44.254102Z","id":"81dddda3-a932-415e-8081-7a7b53411e99","name":"my-data-source-traces","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-12T08:58:44.254102Z","url":"https://81dddda3-a932-415e-8081-7a7b53411e99.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "389" + - "395" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1091,10 +1091,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cf254f30-6274-4731-8f5a-89b79ffab2a5 + - 5e06852d-e5aa-45dc-8d7c-055a337f97a9 status: 200 OK code: 200 - duration: 57.437974ms + duration: 51.722767ms - id: 22 request: proto: HTTP/1.1 @@ -1111,7 +1111,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1119,20 +1119,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 380 + content_length: 186 uncompressed: false - body: '{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "380" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1140,10 +1140,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bb87b02c-850e-4237-884f-2455984b1ada + - 6e3bcfcf-424f-4372-a2c5-ead12ed037ca status: 200 OK code: 200 - duration: 60.595316ms + duration: 55.532052ms - id: 23 request: proto: HTTP/1.1 @@ -1160,7 +1160,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1b9e29ae-fcd4-4d37-add5-cd3e7044e767 method: GET response: proto: HTTP/2.0 @@ -1168,20 +1168,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 398 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-12T08:58:44.282146Z","id":"1b9e29ae-fcd4-4d37-add5-cd3e7044e767","name":"my-data-source-metrics","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-12T08:58:44.282146Z","url":"https://1b9e29ae-fcd4-4d37-add5-cd3e7044e767.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "398" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1189,10 +1189,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 10b6cb2b-568a-4689-9828-1847dab3ba4d + - 85953323-1470-4b59-8d28-749190d007fb status: 200 OK code: 200 - duration: 60.97473ms + duration: 55.673392ms - id: 24 request: proto: HTTP/1.1 @@ -1209,7 +1209,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/3af10c90-79cf-4b0c-ba7a-2f513f75f93f method: GET response: proto: HTTP/2.0 @@ -1217,20 +1217,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 389 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: '{"created_at":"2024-08-12T08:58:44.302679Z","id":"3af10c90-79cf-4b0c-ba7a-2f513f75f93f","name":"my-data-source-logs","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-12T08:58:44.302679Z","url":"https://3af10c90-79cf-4b0c-ba7a-2f513f75f93f.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "108" + - "389" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:20 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1238,10 +1238,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a6cb02d-e94b-4795-9d4d-d33eac7deb3f + - e8030b1b-fc3b-49c7-bbed-b591b51d81ff status: 200 OK code: 200 - duration: 94.95095ms + duration: 57.678161ms - id: 25 request: proto: HTTP/1.1 @@ -1258,7 +1258,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1266,20 +1266,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 97 + content_length: 101 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "97" + - "101" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1287,10 +1287,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a24e8fab-65f7-4704-ac76-0d4e7603acb2 + - f4db365b-3202-4fe6-8c4b-da873a973429 status: 200 OK code: 200 - duration: 236.209645ms + duration: 128.805559ms - id: 26 request: proto: HTTP/1.1 @@ -1307,7 +1307,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1315,20 +1315,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 236 + content_length: 111 uncompressed: false - body: '{"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}' + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "236" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:23 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1336,10 +1336,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e66f3735-e31a-4ec0-a897-25015578d375 + - 54683a31-9291-4083-8281-b22a768522e0 status: 200 OK code: 200 - duration: 46.386671ms + duration: 123.528524ms - id: 27 request: proto: HTTP/1.1 @@ -1356,7 +1356,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1364,20 +1364,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1587 + content_length: 243 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T14:51:47.479958Z","id":"cbcc4513-c7dd-474f-b6ad-89eb218e5247","name":"Scaleway Alerting","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"unknown_type","updated_at":"2024-08-01T14:51:47.479958Z","url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.501113Z","id":"781a5760-4527-4793-9c07-dfe5e2412fd3","name":"my-data-source-metrics","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-01T14:51:47.501113Z","url":"https://781a5760-4527-4793-9c07-dfe5e2412fd3.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.519936Z","id":"97e42817-6e5d-46b3-a39c-6f5b81e612e8","name":"my-data-source-traces","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-01T14:51:47.519936Z","url":"https://97e42817-6e5d-46b3-a39c-6f5b81e612e8.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T14:51:47.548180Z","id":"65578ee0-5eae-461e-9891-621b74908289","name":"my-data-source-logs","origin":"external","project_id":"a147487d-a049-4153-b24c-f083291b9bfc","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-01T14:51:47.548180Z","url":"https://65578ee0-5eae-461e-9891-621b74908289.logs.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"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}' headers: Content-Length: - - "1587" + - "243" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1385,10 +1385,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a6b9232-acc3-4c36-8c3d-4cc1d3c6a071 + - 6b61e929-15a2-42a2-bdb6-141b9b15c715 status: 200 OK code: 200 - duration: 322.124015ms + duration: 44.460647ms - id: 28 request: proto: HTTP/1.1 @@ -1405,7 +1405,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1413,20 +1413,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 93 + content_length: 1222 uncompressed: false - body: '{"grafana_url":"https://a147487d-a049-4153-b24c-f083291b9bfc.dashboard.obs.fr-par.scw.cloud"}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:58:44.254102Z","id":"81dddda3-a932-415e-8081-7a7b53411e99","name":"my-data-source-traces","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"traces","updated_at":"2024-08-12T08:58:44.254102Z","url":"https://81dddda3-a932-415e-8081-7a7b53411e99.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:58:44.282146Z","id":"1b9e29ae-fcd4-4d37-add5-cd3e7044e767","name":"my-data-source-metrics","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"metrics","updated_at":"2024-08-12T08:58:44.282146Z","url":"https://1b9e29ae-fcd4-4d37-add5-cd3e7044e767.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:58:44.302679Z","id":"3af10c90-79cf-4b0c-ba7a-2f513f75f93f","name":"my-data-source-logs","origin":"external","project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","region":"fr-par","synchronized_with_grafana":true,"type":"logs","updated_at":"2024-08-12T08:58:44.302679Z","url":"https://3af10c90-79cf-4b0c-ba7a-2f513f75f93f.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "93" + - "1222" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1434,10 +1434,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e41ee55-fc81-45fe-8071-558e68d6beba + - 1138ddec-cc4b-45de-a183-57df482c08b4 status: 200 OK code: 200 - duration: 43.477406ms + duration: 229.385061ms - id: 29 request: proto: HTTP/1.1 @@ -1454,26 +1454,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/97e42817-6e5d-46b3-a39c-6f5b81e612e8 - method: DELETE + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 93 uncompressed: false - body: "" + body: '{"grafana_url":"https://fb2a3d12-1014-4e94-9f07-c36dff3711ad.dashboard.obs.fr-par.scw.cloud"}' headers: + Content-Length: + - "93" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1481,10 +1483,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7362051e-cc9c-4a01-8d53-3e1694d0c591 - status: 204 No Content - code: 204 - duration: 65.401716ms + - fa418a9e-a235-4026-bbcb-beb8a5acc8cf + status: 200 OK + code: 200 + duration: 51.660129ms - id: 30 request: proto: HTTP/1.1 @@ -1501,7 +1503,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad method: GET response: proto: HTTP/2.0 @@ -1509,20 +1511,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 186 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "108" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1530,10 +1532,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a83f30b9-644a-4105-a5d3-ddf3c65a3ee2 + - 96073529-ad51-4a70-82e4-f391e3c1a9a1 status: 200 OK code: 200 - duration: 140.840963ms + duration: 46.609429ms - id: 31 request: proto: HTTP/1.1 @@ -1550,7 +1552,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/65578ee0-5eae-461e-9891-621b74908289 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/81dddda3-a932-415e-8081-7a7b53411e99 method: DELETE response: proto: HTTP/2.0 @@ -1567,9 +1569,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:21 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1577,10 +1579,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6ac9a521-b8f6-46c4-b661-f17636a1cf0a + - cafc8ad8-1726-48bc-a8ec-ad731e5e5228 status: 204 No Content code: 204 - duration: 167.638531ms + duration: 55.543731ms - id: 32 request: proto: HTTP/1.1 @@ -1597,26 +1599,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=a147487d-a049-4153-b24c-f083291b9bfc - method: DELETE + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 111 uncompressed: false - body: "" + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: + Content-Length: + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:22 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1624,10 +1628,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a585800-30ec-46fa-9614-af114b16a56c - status: 204 No Content - code: 204 - duration: 240.866429ms + - eda4ba22-ed86-4759-aafd-aa63215645b8 + status: 200 OK + code: 200 + duration: 128.453559ms - id: 33 request: proto: HTTP/1.1 @@ -1644,7 +1648,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/781a5760-4527-4793-9c07-dfe5e2412fd3 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/3af10c90-79cf-4b0c-ba7a-2f513f75f93f method: DELETE response: proto: HTTP/2.0 @@ -1661,9 +1665,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:22 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1671,10 +1675,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 95813ac9-7480-426d-b382-062897c3d04d + - 55d0a696-d5f7-49bc-b992-c749d012d1a9 status: 204 No Content code: 204 - duration: 308.929937ms + duration: 154.200933ms - id: 34 request: proto: HTTP/1.1 @@ -1686,7 +1690,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad"}' form: {} headers: Content-Type: @@ -1701,20 +1705,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://cbcc4513-c7dd-474f-b6ad-89eb218e5247.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://2b60d723-a1b0-4c4d-919b-564b177fbb21.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:24 GMT + - Mon, 12 Aug 2024 08:59:22 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1722,11 +1726,58 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 92b8d64d-6eda-4bb9-882c-47b176e09c06 + - 93cf6c55-dff7-46d4-ae47-53e831fee81c status: 200 OK code: 200 - duration: 205.37615ms + duration: 202.372958ms - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/1b9e29ae-fcd4-4d37-add5-cd3e7044e767 + 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: + - Mon, 12 Aug 2024 08:59:22 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: + - 0a0b72b0-34cc-4145-a909-488673aa31f2 + status: 204 No Content + code: 204 + duration: 361.809518ms + - id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -1737,7 +1788,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"a147487d-a049-4153-b24c-f083291b9bfc"}' + body: '{"project_id":"fb2a3d12-1014-4e94-9f07-c36dff3711ad"}' form: {} headers: Content-Type: @@ -1752,20 +1803,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:25 GMT + - Mon, 12 Aug 2024 08:59:22 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1773,11 +1824,58 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f8cff13c-d2bf-46e0-ba7b-bb9494bddfa5 + - 1fac090d-7643-4550-acb9-b63be24c27c7 status: 200 OK code: 200 - duration: 397.549804ms - - id: 36 + duration: 419.430293ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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: + - Mon, 12 Aug 2024 08:59:25 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: + - 23a86251-ac5c-4804-bf26-ffc2ca4ab01e + status: 204 No Content + code: 204 + duration: 3.416937714s + - id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -1793,7 +1891,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/a147487d-a049-4153-b24c-f083291b9bfc + url: https://api.scaleway.com/account/v3/projects/fb2a3d12-1014-4e94-9f07-c36dff3711ad method: DELETE response: proto: HTTP/2.0 @@ -1810,9 +1908,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 14:52:26 GMT + - Mon, 12 Aug 2024 08:59:26 GMT Server: - - Scaleway API Gateway (fr-par-1;edge02) + - Scaleway API Gateway (fr-par-1;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1820,7 +1918,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2594067d-67f7-41f4-b77a-db440f475d6c + - 0a707788-4fc5-4bd5-b424-ab5f7afccca2 status: 204 No Content code: 204 - duration: 1.424692587s + duration: 1.418232458s 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 127b84162..8999e9f5c 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-basic.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + body: '{"created_at":"2024-08-12T08:34:32.639394Z","description":"","id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:32.639394Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:32 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: - - ac79e8ec-8e7d-461a-86f1-10fbdf6b0eba + - b8bf15b8-d4d3-4f41-9ab1-314eead36d19 status: 200 OK code: 200 - duration: 263.911301ms + duration: 285.703715ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/account/v3/projects/8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + body: '{"created_at":"2024-08-12T08:34:32.639394Z","description":"","id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:32.639394Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:32 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9eafc10-965b-40cb-b416-3fbb13d8852a + - 876c9b88-1d76-4857-8fa5-a37de5682397 status: 200 OK code: 200 - duration: 50.04977ms + duration: 62.356889ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:33 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: - - b9ebb823-9008-4e41-a47c-9ae7e525c006 + - b5d165e0-9db2-4a31-9920-d8683736dc41 status: 200 OK code: 200 - duration: 423.790238ms + duration: 98.77506ms - id: 3 request: proto: HTTP/1.1 @@ -163,7 +163,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-traces","type":"traces"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"my-data-source-traces","type":"traces"}' form: {} headers: Content-Type: @@ -178,20 +178,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 387 + content_length: 396 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "387" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -199,50 +199,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2db32d9c-eeca-40fe-bdf3-31c767ad87a3 + - 51003dd8-9ddf-4cf4-967c-6f73cb02ed6e status: 200 OK code: 200 - duration: 723.821116ms + duration: 136.472684ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 102 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-metrics","type":"metrics"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources - method: POST + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/08d85fe9-2c48-45c8-a100-e41396d2d969 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 396 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -250,22 +248,22 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f3165b60-d6c0-49ca-b155-9ed653eaa287 + - 24c9bda3-c83d-4543-89e1-23facca70b55 status: 200 OK code: 200 - duration: 723.683887ms + duration: 53.040942ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 96 + content_length: 102 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"my-data-source-logs","type":"logs"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"my-data-source-metrics","type":"metrics"}' form: {} headers: Content-Type: @@ -280,20 +278,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 399 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -301,50 +299,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 94582009-cdb0-455c-b131-5857ccc483ad + - c19e175d-6d1a-4d2e-8538-41d3fa18c902 status: 200 OK code: 200 - duration: 723.918726ms + duration: 200.887036ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 53 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable - method: POST + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 399 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "183" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -352,48 +348,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 415f241a-d1ec-47fb-980b-8c5fda551693 + - 5a288878-c026-4e5b-b9d8-2a1f48bf7f5a status: 200 OK code: 200 - duration: 300.001915ms + duration: 49.923015ms - id: 7 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 96 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"my-data-source-logs","type":"logs"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 - method: GET + 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: 387 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "387" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -401,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a5ffe860-8859-4a19-8c94-a78fd457afcd + - a7ca5cb4-2eb1-4408-859a-9045931e4000 status: 200 OK code: 200 - duration: 49.420938ms + duration: 270.352677ms - id: 8 request: proto: HTTP/1.1 @@ -421,7 +419,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4a31765d-f636-44b9-b154-286629a1660b method: GET response: proto: HTTP/2.0 @@ -429,20 +427,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 390 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "381" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -450,48 +448,50 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e8cf72ce-e46d-4903-a30a-de63febe246b + - caa0af01-c33b-4ce5-8daf-3f7a9b31944c status: 200 OK code: 200 - duration: 49.740005ms + duration: 43.700036ms - id: 9 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 53 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee"}' form: {} headers: + Content-Type: + - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 - method: GET + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/managed-alerts/enable + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 186 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "183" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -499,10 +499,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d06f9d3b-2bf8-4910-a9a2-66b31a38c938 + - 31cdcfa1-6ee0-46bf-8ac0-5e9f761986cb status: 200 OK code: 200 - duration: 54.05395ms + duration: 265.627485ms - id: 10 request: proto: HTTP/1.1 @@ -519,7 +519,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -527,20 +527,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 186 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "390" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -548,10 +548,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a10e4847-a5ad-4268-8a76-747cc47fcba6 + - 1bb3facb-2355-4136-ad54-9721618d790c status: 200 OK code: 200 - duration: 53.971528ms + duration: 45.326613ms - id: 11 request: proto: HTTP/1.1 @@ -568,7 +568,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -576,20 +576,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 111 uncompressed: false body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "108" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -597,10 +597,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 170c519d-c393-4289-8cb6-e15dbfc72372 + - 5a980df1-1346-42fd-868e-fa802f0d57e0 status: 200 OK code: 200 - duration: 108.765311ms + duration: 98.552533ms - id: 12 request: proto: HTTP/1.1 @@ -625,20 +625,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -646,10 +646,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5d2a0b62-80cc-4a86-afb7-b3850466d0f1 + - 740216a8-758c-4305-b615-29c880c6b7ee status: 200 OK code: 200 - duration: 36.133906ms + duration: 23.099233ms - id: 13 request: proto: HTTP/1.1 @@ -661,7 +661,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","plan_name":"free"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","plan_name":"free"}' form: {} headers: Content-Type: @@ -676,20 +676,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -697,10 +697,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c7f59f13-9d49-480a-a1ba-3d947bde0ed5 + - d54a2f40-cba6-42d0-b283-b1003047c076 status: 200 OK code: 200 - duration: 77.048108ms + duration: 82.964889ms - id: 14 request: proto: HTTP/1.1 @@ -717,7 +717,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -725,20 +725,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -746,10 +746,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5a02689a-0f81-4da9-afa0-9430a4ca85e6 + - dcc4fb91-24b9-41e2-9a34-d066a1a41006 status: 200 OK code: 200 - duration: 50.315976ms + duration: 56.752662ms - id: 15 request: proto: HTTP/1.1 @@ -766,7 +766,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -774,20 +774,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 1225 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1591" + - "1225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -795,10 +795,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 00a1ee7e-ac9d-4e4d-aa2e-fa8c19046e9c + - ce0c595b-08c6-408a-8c54-ed9a4d655fbb status: 200 OK code: 200 - duration: 263.567435ms + duration: 254.941767ms - id: 16 request: proto: HTTP/1.1 @@ -815,7 +815,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -834,9 +834,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -844,10 +844,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 05c6170a-3699-45fe-97f8-76613b01b976 + - 16663f27-1434-4255-9dfb-91fbb0b42484 status: 200 OK code: 200 - duration: 61.984904ms + duration: 58.773391ms - id: 17 request: proto: HTTP/1.1 @@ -864,7 +864,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -872,20 +872,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 186 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "229" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -893,10 +893,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46c96036-4eee-4348-9a55-240732d29a74 + - 25fa3e43-8fc1-43ac-bcc5-f8571ad7e2fb status: 200 OK code: 200 - duration: 162.169368ms + duration: 52.305015ms - id: 18 request: proto: HTTP/1.1 @@ -913,7 +913,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -921,20 +921,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 236 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + 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: - - "1591" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -942,10 +942,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0cab8dcb-eb56-49aa-946a-2eaecbda0837 + - 290bdbad-98c0-4474-a6c2-2eb2f6569cb7 status: 200 OK code: 200 - duration: 287.987577ms + duration: 47.466729ms - id: 19 request: proto: HTTP/1.1 @@ -962,7 +962,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -970,20 +970,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 1225 uncompressed: false - body: '{"grafana_url":""}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "18" + - "1225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:09 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -991,10 +991,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5c0fb485-0aaa-4db2-8587-d91474d19de1 + - 6f178f12-f186-42ae-9843-b5e6dbee1c83 status: 200 OK code: 200 - duration: 52.214823ms + duration: 242.807609ms - id: 20 request: proto: HTTP/1.1 @@ -1011,7 +1011,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1019,20 +1019,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 18 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"grafana_url":""}' headers: Content-Length: - - "229" + - "18" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -1040,10 +1040,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c10e5167-8ea5-4e69-b13c-97742bb3dd4a + - ce6f7be8-31d0-4ab5-b67b-963a784823e3 status: 200 OK code: 200 - duration: 46.814448ms + duration: 50.547719ms - id: 21 request: proto: HTTP/1.1 @@ -1060,7 +1060,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1068,20 +1068,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 186 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "1591" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -1089,10 +1089,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce45ab69-b652-488c-adba-02168845d1f1 + - ad8889e5-325c-4fcd-ab20-45ee92db01ef status: 200 OK code: 200 - duration: 325.046141ms + duration: 53.216675ms - id: 22 request: proto: HTTP/1.1 @@ -1109,7 +1109,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1117,20 +1117,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 236 uncompressed: false - body: '{"grafana_url":""}' + 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: - - "18" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -1138,10 +1138,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 24f9870e-3ccb-4c0c-a6fa-a859dc1e88d1 + - 28c38107-9b98-4b17-b44c-7caec9367b4c status: 200 OK code: 200 - duration: 53.480834ms + duration: 45.781949ms - id: 23 request: proto: HTTP/1.1 @@ -1158,7 +1158,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1166,20 +1166,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 1225 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:07.590361Z","description":"","id":"932a1582-7557-4322-b16e-b0c5f9ec8719","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:07.590361Z"}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "247" + - "1225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1187,10 +1187,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb33c77c-d5ac-42bd-9ad9-1ce281649758 + - 5a714335-66c2-4d00-953b-1bc86671e142 status: 200 OK code: 200 - duration: 70.624679ms + duration: 229.859936ms - id: 24 request: proto: HTTP/1.1 @@ -1207,7 +1207,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1215,20 +1215,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 381 + content_length: 18 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"}' + body: '{"grafana_url":""}' headers: Content-Length: - - "381" + - "18" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1236,10 +1236,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0b95ddd8-c1b4-4e1f-867d-a7045942de33 + - ee8f9bc0-b8c3-417c-a2d4-9326505643af status: 200 OK code: 200 - duration: 50.610517ms + duration: 47.322287ms - id: 25 request: proto: HTTP/1.1 @@ -1256,7 +1256,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1264,20 +1264,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 387 + content_length: 186 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "387" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1cee2199-3ec4-4c2e-9793-aa4440cd776d + - 816eddb2-2586-4977-af47-8bc955f5d8a5 status: 200 OK code: 200 - duration: 50.879739ms + duration: 69.890931ms - id: 26 request: proto: HTTP/1.1 @@ -1305,7 +1305,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/account/v3/projects/8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1313,20 +1313,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 183 + content_length: 252 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + body: '{"created_at":"2024-08-12T08:34:32.639394Z","description":"","id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","name":"tf_tests_cockpit_project_premium","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:32.639394Z"}' headers: Content-Length: - - "183" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 64099bcd-9652-4d1f-8940-bbba1ecfcbe3 + - efaaca7d-3f22-4e12-80e8-ddf120678d95 status: 200 OK code: 200 - duration: 52.56665ms + duration: 72.20473ms - id: 27 request: proto: HTTP/1.1 @@ -1354,7 +1354,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/08d85fe9-2c48-45c8-a100-e41396d2d969 method: GET response: proto: HTTP/2.0 @@ -1362,20 +1362,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 396 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}' + body: '{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "390" + - "396" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1383,10 +1383,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5ad35096-7909-4e8f-8632-27be2d97338e + - b1d2d098-e489-44ad-92fc-529997141bd3 status: 200 OK code: 200 - duration: 58.963642ms + duration: 63.537148ms - id: 28 request: proto: HTTP/1.1 @@ -1403,7 +1403,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4a31765d-f636-44b9-b154-286629a1660b method: GET response: proto: HTTP/2.0 @@ -1411,20 +1411,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 390 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: '{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "108" + - "390" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1432,10 +1432,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f0502ee3-8e00-4503-a653-4fd5789749e7 + - 59f1ec3d-a225-4ed3-8610-44bd67d1ebc9 status: 200 OK code: 200 - duration: 95.311962ms + duration: 65.712237ms - id: 29 request: proto: HTTP/1.1 @@ -1452,7 +1452,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1460,20 +1460,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 186 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "229" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:10 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1481,10 +1481,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d75322d4-0c21-461c-a895-7e61a1f5a8e7 + - 9ca2baba-7c5c-47f3-830e-3505b912ebbc status: 200 OK code: 200 - duration: 46.055028ms + duration: 71.528769ms - id: 30 request: proto: HTTP/1.1 @@ -1501,7 +1501,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a method: GET response: proto: HTTP/2.0 @@ -1509,20 +1509,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 399 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"}' headers: Content-Length: - - "1591" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1530,10 +1530,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b458f9f2-1451-4278-bf52-fe7682ca9222 + - 5e168201-7b58-4168-8c38-b88884744c27 status: 200 OK code: 200 - duration: 276.234832ms + duration: 76.234341ms - id: 31 request: proto: HTTP/1.1 @@ -1550,7 +1550,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1558,20 +1558,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 18 + content_length: 111 uncompressed: false - body: '{"grafana_url":""}' + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' headers: Content-Length: - - "18" + - "111" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1579,10 +1579,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b84130e9-23f4-45a2-b9b1-f8f5c165f4ca + - 3b309f5e-6f6f-4ae0-a43a-762c13bb4d97 status: 200 OK code: 200 - duration: 46.320206ms + duration: 144.610021ms - id: 32 request: proto: HTTP/1.1 @@ -1599,7 +1599,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1607,20 +1607,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 236 uncompressed: false body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' headers: Content-Length: - - "229" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1628,10 +1628,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eee1f4b9-3c32-49ca-81a1-5afbed09950e + - cae6e492-7ec0-4f9d-9813-ae89e8707d8c status: 200 OK code: 200 - duration: 45.8096ms + duration: 48.351862ms - id: 33 request: proto: HTTP/1.1 @@ -1648,7 +1648,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1656,20 +1656,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 1225 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' headers: Content-Length: - - "1591" + - "1225" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1677,10 +1677,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 20eaeb7d-5998-4778-93e5-1ad70f7975c5 + - e0018b18-f06a-440a-9599-954ecd13c5a4 status: 200 OK code: 200 - duration: 255.557111ms + duration: 212.428265ms - id: 34 request: proto: HTTP/1.1 @@ -1697,7 +1697,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1716,9 +1716,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:35 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: @@ -1726,10 +1726,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 037c43e6-0959-4078-8df2-d5242659852f + - 0b9a4201-cf81-4ded-9a30-df0436179541 status: 200 OK code: 200 - duration: 66.333166ms + duration: 45.254654ms - id: 35 request: proto: HTTP/1.1 @@ -1746,7 +1746,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1754,20 +1754,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 229 + content_length: 186 uncompressed: false - body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "229" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -1775,10 +1775,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ffc3ca20-b070-4ad5-8e40-f486981a9ca5 + - 8d228c5e-c7e9-40ee-9646-2d516a70d777 status: 200 OK code: 200 - duration: 43.361461ms + duration: 45.361052ms - id: 36 request: proto: HTTP/1.1 @@ -1795,7 +1795,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1803,20 +1803,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 1591 + content_length: 236 uncompressed: false - body: '{"data_sources":[{"created_at":"2024-08-01T13:53:07.926351Z","id":"aee2aa18-d23b-48e5-a632-d90657787473","name":"Scaleway Alerting","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"unknown_type","updated_at":"2024-08-01T13:53:07.926351Z","url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.001275Z","id":"ebf868bb-c342-40af-8da0-9194468087a7","name":"my-data-source-traces","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-01T13:53:08.001275Z","url":"https://ebf868bb-c342-40af-8da0-9194468087a7.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.020411Z","id":"f963a9c4-9389-48d8-a9bd-6645d14592e3","name":"my-data-source-logs","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-01T13:53:08.020411Z","url":"https://f963a9c4-9389-48d8-a9bd-6645d14592e3.logs.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-01T13:53:08.041313Z","id":"e13d1b57-02df-4288-bc80-a0d43ef4c996","name":"my-data-source-metrics","origin":"external","project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-01T13:53:08.041313Z","url":"https://e13d1b57-02df-4288-bc80-a0d43ef4c996.metrics.cockpit.fr-par.scw.cloud"}],"total_count":4}' + 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: - - "1591" + - "236" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:11 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -1824,10 +1824,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ac6becea-b7b9-405f-9cee-cca23b7dab35 + - c42c24d7-d68b-4fc7-a1cc-3a04d5be20f9 status: 200 OK code: 200 - duration: 262.544517ms + duration: 47.176638ms - id: 37 request: proto: HTTP/1.1 @@ -1844,7 +1844,56 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources?order_by=created_at_asc&origin=external&page=1&project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1225 + uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + headers: + Content-Length: + - "1225" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:36 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 075f4f90-c9b3-43c5-b99d-a67b0ab4bc04 + status: 200 OK + code: 200 + duration: 208.078067ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1863,9 +1912,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -1873,11 +1922,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9dc1db16-dfba-43c0-96a5-e23a3b8a4e7e + - dc3b363f-3d99-4d21-9271-22191af5eee0 status: 200 OK code: 200 - duration: 39.797398ms - - id: 38 + duration: 58.464628ms + - id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -1893,26 +1942,175 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/ebf868bb-c342-40af-8da0-9194468087a7 - method: DELETE + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 186 + uncompressed: false + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' + headers: + Content-Length: + - "186" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:36 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a7c50f00-bb73-4921-beca-32285a82d8a9 + status: 200 OK + code: 200 + duration: 50.1222ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/current-plan?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} + content_length: 236 + uncompressed: false + body: '{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35}' + headers: + Content-Length: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:36 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7cbaf932-7496-48ff-9c1a-863ba7132cbc + status: 200 OK + code: 200 + duration: 45.184216ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; 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=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1225 uncompressed: false + body: '{"data_sources":[{"created_at":"2024-08-12T08:34:33.088805Z","id":"08d85fe9-2c48-45c8-a100-e41396d2d969","name":"my-data-source-traces","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"traces","updated_at":"2024-08-12T08:34:33.088805Z","url":"https://08d85fe9-2c48-45c8-a100-e41396d2d969.traces.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.152501Z","id":"2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a","name":"my-data-source-metrics","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"metrics","updated_at":"2024-08-12T08:34:33.152501Z","url":"https://2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a.metrics.cockpit.fr-par.scw.cloud"},{"created_at":"2024-08-12T08:34:33.222728Z","id":"4a31765d-f636-44b9-b154-286629a1660b","name":"my-data-source-logs","origin":"external","project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","region":"fr-par","synchronized_with_grafana":false,"type":"logs","updated_at":"2024-08-12T08:34:33.222728Z","url":"https://4a31765d-f636-44b9-b154-286629a1660b.logs.cockpit.fr-par.scw.cloud"}],"total_count":3}' + headers: + Content-Length: + - "1225" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:36 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a0ddc10c-08cc-44cf-8ed8-98ad75c0bbe3 + status: 200 OK + code: 200 + duration: 269.060676ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" body: "" + form: {} headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/grafana?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -1920,11 +2118,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 433c810b-7dbc-4490-a01a-23d7f9848397 - status: 204 No Content - code: 204 - duration: 73.482478ms - - id: 39 + - dde1b139-0479-4033-960c-cfb5072d4689 + status: 200 OK + code: 200 + duration: 50.724682ms + - id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -1940,7 +2138,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: GET response: proto: HTTP/2.0 @@ -1948,20 +2146,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 186 uncompressed: false - body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "108" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -1969,11 +2167,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae8449c0-8133-4d63-b52a-8e444cd6a434 + - 2c2d405d-e3a8-438c-9ba9-431051f43492 status: 200 OK code: 200 - duration: 91.097786ms - - id: 40 + duration: 50.815683ms + - id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -1989,7 +2187,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/f963a9c4-9389-48d8-a9bd-6645d14592e3 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/08d85fe9-2c48-45c8-a100-e41396d2d969 method: DELETE response: proto: HTTP/2.0 @@ -2006,9 +2204,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -2016,11 +2214,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4a485fd3-6bd8-40c9-956f-6c6eea9c67d9 + - d45514f8-11f2-4a36-959b-802a4a778ff5 status: 204 No Content code: 204 - duration: 192.247538ms - - id: 41 + duration: 54.77081ms + - id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -2036,7 +2234,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/e13d1b57-02df-4288-bc80-a0d43ef4c996 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4a31765d-f636-44b9-b154-286629a1660b method: DELETE response: proto: HTTP/2.0 @@ -2053,9 +2251,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -2063,11 +2261,107 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7ff32b64-36d5-4c71-b564-a6b4c5bcef43 + - 40c354da-fa76-4093-a209-8127dd2d57c5 status: 204 No Content code: 204 - duration: 284.805122ms - - id: 42 + duration: 168.958656ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/alert-manager/contact-points?project_id=8d2d112a-a7eb-46ed-8998-b431d91ad4ee + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 111 + uncompressed: false + body: '{"contact_points":[],"has_additional_contact_points":false,"has_additional_receivers":false,"total_count":0}' + headers: + Content-Length: + - "111" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:37 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 51ef2dc1-f8cc-4ce6-9462-4e893717475f + status: 200 OK + code: 200 + duration: 331.440802ms + - id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a + 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: + - Mon, 12 Aug 2024 08:34:37 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 51569eca-5eeb-4aad-ad00-fb1a38562b16 + status: 204 No Content + code: 204 + duration: 511.927211ms + - id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2078,7 +2372,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee"}' form: {} headers: Content-Type: @@ -2093,20 +2387,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 184 + content_length: 187 uncompressed: false - body: '{"alert_manager_enabled":true,"alert_manager_url":"https://aee2aa18-d23b-48e5-a632-d90657787473.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' + body: '{"alert_manager_enabled":true,"alert_manager_url":"https://6c1651e5-bc24-4506-969d-eb2743aa412d.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "184" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -2114,11 +2408,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1ec2c6ce-0088-4648-9a13-0f5e8514976a + - 24ec2059-034a-420c-ae89-8bc2ee269431 status: 200 OK code: 200 - duration: 212.657123ms - - id: 43 + duration: 194.902939ms + - id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2129,7 +2423,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"932a1582-7557-4322-b16e-b0c5f9ec8719"}' + body: '{"project_id":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee"}' form: {} headers: Content-Type: @@ -2144,20 +2438,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 105 + content_length: 108 uncompressed: false body: '{"alert_manager_enabled":false,"alert_manager_url":null,"managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "105" + - "108" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:12 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -2165,11 +2459,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fc2a4764-31de-440e-b280-ba881c3407d2 + - f2474681-682c-4aae-bf71-4f97a29d543a status: 200 OK code: 200 - duration: 325.827274ms - - id: 44 + duration: 290.910046ms + - id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2185,7 +2479,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/932a1582-7557-4322-b16e-b0c5f9ec8719 + url: https://api.scaleway.com/account/v3/projects/8d2d112a-a7eb-46ed-8998-b431d91ad4ee method: DELETE response: proto: HTTP/2.0 @@ -2202,9 +2496,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:14 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -2212,7 +2506,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9e607b11-a082-448b-8aba-e082fe8e22dc + - c4f3c51a-0de8-4ab8-bd3f-baf5cb6601eb status: 204 No Content code: 204 - duration: 1.180847187s + duration: 1.37900169s diff --git a/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml b/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml index 99901b0aa..5184d1736 100644 --- a/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/data-source-cockpit-plan-basic.cassette.yaml @@ -25,20 +25,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -46,10 +46,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 44f594ab-f064-4d4d-a0cb-cd396837b587 + - ccc026e5-dc7f-4eeb-8646-52221abd0fe2 status: 200 OK code: 200 - duration: 85.831256ms + duration: 32.414848ms - id: 1 request: proto: HTTP/1.1 @@ -74,20 +74,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -95,10 +95,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 635c7a3b-9b5d-472d-b0eb-600b95bbc12e + - 461713ad-2f93-4461-a7ee-82aeff7fd7e1 status: 200 OK code: 200 - duration: 86.116219ms + duration: 32.481424ms - id: 2 request: proto: HTTP/1.1 @@ -123,20 +123,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -144,10 +144,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b39647a7-2888-4ec2-929e-f1121d0a8ec2 + - a9865717-40cc-47df-8b33-9676760690b3 status: 200 OK code: 200 - duration: 92.544987ms + duration: 115.879748ms - id: 3 request: proto: HTTP/1.1 @@ -172,20 +172,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -193,10 +193,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b26b139e-4e07-4848-bdb1-a3d8799c8565 + - 7412a835-15cf-4341-a987-e8cad11c6fb4 status: 200 OK code: 200 - duration: 26.523252ms + duration: 22.866003ms - id: 4 request: proto: HTTP/1.1 @@ -221,20 +221,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -242,10 +242,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff69d1c5-29f2-427d-8193-19c26afe9c77 + - 8da56f76-2fc6-4f2b-a7f1-908524c14a90 status: 200 OK code: 200 - duration: 67.538965ms + duration: 31.490087ms - id: 5 request: proto: HTTP/1.1 @@ -270,20 +270,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:01 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -291,10 +291,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f2cbc60d-3fe4-4b3d-ac47-4efd7665ae4d + - 4c3dd8e9-2a52-40dd-a423-d679e3387106 status: 200 OK code: 200 - duration: 66.427635ms + duration: 96.938839ms - id: 6 request: proto: HTTP/1.1 @@ -319,20 +319,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -340,10 +340,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - dbe17921-54b3-4681-9ae3-7c93cb0f8529 + - 77589575-60bb-40a8-9934-acc0fdec6f7d status: 200 OK code: 200 - duration: 26.914459ms + duration: 27.292526ms - id: 7 request: proto: HTTP/1.1 @@ -368,20 +368,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:33 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: @@ -389,10 +389,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3817fbf1-02a5-40eb-b81a-0a6d9f33d7a8 + - 967cbeac-ea5d-4ff4-b74f-cd82b92e6f1e status: 200 OK code: 200 - duration: 26.720984ms + duration: 27.740633ms - id: 8 request: proto: HTTP/1.1 @@ -417,20 +417,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:33 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: - - 6af812db-cc1f-42af-9a3e-8778240ff6e7 + - 4a1c1481-74c9-4828-b4ed-70fa7240b32e status: 200 OK code: 200 - duration: 33.507514ms + duration: 38.278592ms - id: 9 request: proto: HTTP/1.1 @@ -466,20 +466,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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,10 +487,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 488505f8-f9e8-45e7-a9d5-7a52e3377e88 + - ee9e23de-0707-4fca-9401-bab9ec2484c9 status: 200 OK code: 200 - duration: 28.041532ms + duration: 19.777814ms - id: 10 request: proto: HTTP/1.1 @@ -515,20 +515,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -536,10 +536,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cc96b64e-6939-45b4-a3f8-2895ef76b58f + - 5b31f8f9-8480-4097-9073-df3023681991 status: 200 OK code: 200 - duration: 28.001525ms + duration: 28.428346ms - id: 11 request: proto: HTTP/1.1 @@ -564,20 +564,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -585,10 +585,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - beaff26f-4427-4b39-8bfa-fc2b3f1d72ab + - 8ef860d3-2187-4ed8-af06-f8a35def3408 status: 200 OK code: 200 - duration: 28.594532ms + duration: 29.626735ms - id: 12 request: proto: HTTP/1.1 @@ -613,20 +613,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -634,10 +634,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 550ec580-ceca-4a9f-a6d8-aa19f5a75ae7 + - 83d20480-69e8-46ad-9b26-add1e34e1396 status: 200 OK code: 200 - duration: 26.880473ms + duration: 19.911391ms - id: 13 request: proto: HTTP/1.1 @@ -662,20 +662,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -683,10 +683,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 13141f7b-3313-413b-9198-719a62dc80d4 + - ab4f1d34-299a-4d2c-b823-9c4e5474b436 status: 200 OK code: 200 - duration: 26.935488ms + duration: 20.82055ms - id: 14 request: proto: HTTP/1.1 @@ -711,20 +711,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -732,10 +732,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ccd85ccb-e305-4e06-af86-3669873aed53 + - a8b7faac-bf5b-4bd7-8a97-6d13daa1df4b status: 200 OK code: 200 - duration: 26.994505ms + duration: 20.817643ms - id: 15 request: proto: HTTP/1.1 @@ -760,20 +760,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 730 + content_length: 754 uncompressed: false body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' headers: Content-Length: - - "730" + - "754" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: @@ -781,7 +781,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d357e7f9-1841-45cb-a667-6b704ad46a74 + - a2f397ca-425b-4a93-ac12-e34588cb0196 status: 200 OK code: 200 - duration: 460.252753ms + duration: 24.746653ms diff --git a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml index 91ed21b62..55b7af59e 100644 --- a/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-basic.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 255 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' + body: '{"created_at":"2024-08-12T08:34:31.561533Z","description":"","id":"4b541db9-f841-4c0d-a915-cdd989a805cd","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:31.561533Z"}' headers: Content-Length: - - "250" + - "255" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:31 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: - - 6825e51a-8217-4146-b7b8-4557f193328c + - b6c87a04-d735-4d13-852a-9df660b2297f status: 200 OK code: 200 - duration: 1.137114099s + duration: 282.406181ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/account/v3/projects/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 255 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' + body: '{"created_at":"2024-08-12T08:34:31.561533Z","description":"","id":"4b541db9-f841-4c0d-a915-cdd989a805cd","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:31.561533Z"}' headers: Content-Length: - - "250" + - "255" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:31 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a01f2b2-718a-423d-9b40-d4fbcc2628dd + - 1307ae53-d63c-4bd4-b303-9d11963de0b2 status: 200 OK code: 200 - duration: 57.499821ms + duration: 54.597013ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","login":"testuserbasic","role":"editor"}' + body: '{"project_id":"4b541db9-f841-4c0d-a915-cdd989a805cd","login":"testuserbasic","role":"editor"}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 78 + content_length: 81 uncompressed: false - body: '{"id":2,"login":"testuserbasic","password":"7v66C74KQI4-JapK","role":"editor"}' + body: '{"id":2,"login":"testuserbasic","password":"Yp2z3UG3LR1PFtZD","role":"editor"}' headers: Content-Length: - - "78" + - "81" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:29 GMT + - Mon, 12 Aug 2024 08:34:54 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: - - 65399d00-e661-4a3b-8d84-41d92c7819cc + - a27cf1fd-233d-4b98-a03f-4077d8eebf5d status: 200 OK code: 200 - duration: 26.135276383s + duration: 22.867843138s - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 98 + content_length: 102 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "98" + - "102" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:29 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 151f68ac-aa2d-4f96-9a7a-65396f404b4a + - 5818c463-d1cb-445b-8271-dafcce837d6d status: 200 OK code: 200 - duration: 198.794719ms + duration: 3.381775142s - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 98 + content_length: 102 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "98" + - "102" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:29 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 727b28bb-7dc2-416d-aa99-43cd763e27a9 + - 4b5d9467-e76a-41ac-8bb5-ca45d71ed8a6 status: 200 OK code: 200 - duration: 124.984738ms + duration: 104.232141ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/account/v3/projects/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 255 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' + body: '{"created_at":"2024-08-12T08:34:31.561533Z","description":"","id":"4b541db9-f841-4c0d-a915-cdd989a805cd","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:31.561533Z"}' headers: Content-Length: - - "250" + - "255" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:30 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 81bcc1ff-b21a-42f8-91b6-2b19da93ae69 + - 1cd292b4-a34f-48cd-a9de-cbc124a6a01f status: 200 OK code: 200 - duration: 70.84779ms + duration: 66.937631ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 98 + content_length: 102 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "98" + - "102" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:30 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 31fbddb6-b4bb-4655-b515-b102c7bfe8da + - 6fc3012a-d2b5-431c-b717-b2fc9194b6a8 status: 200 OK code: 200 - duration: 118.443688ms + duration: 102.441396ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/account/v3/projects/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 255 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' + body: '{"created_at":"2024-08-12T08:34:31.561533Z","description":"","id":"4b541db9-f841-4c0d-a915-cdd989a805cd","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:31.561533Z"}' headers: Content-Length: - - "250" + - "255" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:30 GMT + - Mon, 12 Aug 2024 08:34:59 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: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c76f9103-010e-44f9-a25f-8fca4bc63616 + - aa9c2d4b-f7a2-45ca-b015-8ecd29543ff1 status: 200 OK code: 200 - duration: 68.021438ms + duration: 65.467938ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 98 + content_length: 102 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserbasic","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "98" + - "102" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:30 GMT + - Mon, 12 Aug 2024 08:35:02 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: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21b0a592-8441-4a64-900f-cc0cc29c91f6 + - 362b743c-3dfb-4b6f-945a-bf40c5299c25 status: 200 OK code: 200 - duration: 132.44751ms + duration: 3.079698348s - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=4b541db9-f841-4c0d-a915-cdd989a805cd method: DELETE response: proto: HTTP/2.0 @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:31 GMT + - Mon, 12 Aug 2024 08:35:02 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: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f79eae50-2bac-480b-93e8-f7273054720c + - 2fde7feb-162e-4dcb-930c-052999de8df3 status: 204 No Content code: 204 - duration: 206.387233ms + duration: 228.117715ms - id: 10 request: proto: HTTP/1.1 @@ -509,7 +509,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/account/v3/projects/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -517,20 +517,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 250 + content_length: 255 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.144978Z","description":"","id":"6d227cfd-b65b-4655-abea-ffc99f429aa9","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.144978Z"}' + body: '{"created_at":"2024-08-12T08:34:31.561533Z","description":"","id":"4b541db9-f841-4c0d-a915-cdd989a805cd","name":"tf_tests_cockpit_grafana_user_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:31.561533Z"}' headers: Content-Length: - - "250" + - "255" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:31 GMT + - Mon, 12 Aug 2024 08:35:03 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: @@ -538,10 +538,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ba7196d2-9c33-4b7c-ba3b-3ac581f3ab14 + - db420d77-b675-4d44-b712-5f140ee1fae9 status: 200 OK code: 200 - duration: 52.957918ms + duration: 65.13636ms - id: 11 request: proto: HTTP/1.1 @@ -558,7 +558,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/6d227cfd-b65b-4655-abea-ffc99f429aa9 + url: https://api.scaleway.com/account/v3/projects/4b541db9-f841-4c0d-a915-cdd989a805cd method: DELETE response: proto: HTTP/2.0 @@ -575,9 +575,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:33 GMT + - Mon, 12 Aug 2024 08:35:04 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: @@ -585,7 +585,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf5c707e-2c54-42f6-9403-3252c896895b + - 598e9dba-4229-4d5b-a361-dcb5d4fcaf39 status: 204 No Content code: 204 - duration: 1.409005546s + duration: 1.331511516s diff --git a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml index b33934f5b..6f58abd43 100644 --- a/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml +++ b/internal/services/cockpit/testdata/grafana-user-update.cassette.yaml @@ -27,18 +27,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:18 GMT + - Mon, 12 Aug 2024 08:34:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3e03a170-65ce-44f5-ae12-321c561bf9ce + - 61b16df2-d932-4938-b78d-592189f0e78e status: 200 OK code: 200 - duration: 280.319918ms + duration: 285.3514ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -76,18 +76,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:18 GMT + - Mon, 12 Aug 2024 08:34:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 804ea124-ba41-4c20-8e67-285a47dd6d2f + - 49e82e85-dafd-4c6f-a102-7fc8d1c08701 status: 200 OK code: 200 - duration: 64.529367ms + duration: 49.916919ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","login":"testuserupdate","role":"editor"}' + body: '{"project_id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","login":"testuserupdate","role":"editor"}' form: {} headers: Content-Type: @@ -127,18 +127,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 79 + content_length: 82 uncompressed: false - body: '{"id":2,"login":"testuserupdate","password":"kvP8w9ZuEHXzVpfp","role":"editor"}' + body: '{"id":2,"login":"testuserupdate","password":"BEk7XNwRSPz8QhvQ","role":"editor"}' headers: Content-Length: - - "79" + - "82" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:45 GMT + - Mon, 12 Aug 2024 08:35:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39e68db7-994c-492a-91bd-63b4f9ac8971 + - 80f2cacd-737c-47c2-a621-3569a7a915aa status: 200 OK code: 200 - duration: 27.096415173s + duration: 25.161687808s - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -176,18 +176,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:45 GMT + - Mon, 12 Aug 2024 08:35:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -197,10 +197,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf26d6e3-12d0-4a8d-b34a-1a1ce2935aa7 + - d2948adb-2e1d-43df-b428-0b14a76bf6f0 status: 200 OK code: 200 - duration: 149.48207ms + duration: 150.541747ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -225,18 +225,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:45 GMT + - Mon, 12 Aug 2024 08:35:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -246,10 +246,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f37dd3b8-c5aa-4659-bf87-e17c59bbd76c + - 7b334f48-5b13-4acb-9ab2-c63324c1830f status: 200 OK code: 200 - duration: 165.736972ms + duration: 118.50593ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -274,18 +274,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:46 GMT + - Mon, 12 Aug 2024 08:35:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -295,10 +295,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 824dbff5-bf18-42b4-9320-9fe8c4e057ee + - 860582ef-c77f-4a59-ac6a-896d791f0d67 status: 200 OK code: 200 - duration: 64.912123ms + duration: 63.87656ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -323,18 +323,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:46 GMT + - Mon, 12 Aug 2024 08:35:07 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -344,10 +344,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b81f32a3-3979-4b29-b45d-da31947884e9 + - 2e1b5ea2-1d0b-4497-9e85-efeef55834ec status: 200 OK code: 200 - duration: 106.403526ms + duration: 103.279092ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -372,18 +372,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:46 GMT + - Mon, 12 Aug 2024 08:35:08 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 90ccfd88-4fe8-4458-b9bc-f2ef495488b4 + - 6e188751-278f-4da0-a558-45c7e9128af3 status: 200 OK code: 200 - duration: 59.214529ms + duration: 51.418987ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -421,18 +421,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":2,"login":"testuserupdate","password":"","role":"editor"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:46 GMT + - Mon, 12 Aug 2024 08:35:08 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fed185a3-0c53-4466-bd8e-aaa7a2f020dd + - e0d9db03-b239-491d-9ad9-6ad9ddccfcc9 status: 200 OK code: 200 - duration: 109.838617ms + duration: 117.045371ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users/2?project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: DELETE response: proto: HTTP/2.0 @@ -479,7 +479,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:47 GMT + - Mon, 12 Aug 2024 08:35:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 09ac3d5b-09e7-4fe7-9141-59164d7d5a50 + - f1860b00-b911-4c97-837b-f2f4d1d074a5 status: 204 No Content code: 204 - duration: 280.714573ms + duration: 225.789483ms - id: 10 request: proto: HTTP/1.1 @@ -504,7 +504,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","login":"testuserupdate","role":"viewer"}' + body: '{"project_id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","login":"testuserupdate","role":"viewer"}' form: {} headers: Content-Type: @@ -519,18 +519,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 79 + content_length: 82 uncompressed: false - body: '{"id":3,"login":"testuserupdate","password":"4iDSrtcCj6w-9_t8","role":"viewer"}' + body: '{"id":3,"login":"testuserupdate","password":"RnQ9LKPFc-Ji4Tt3","role":"viewer"}' headers: Content-Length: - - "79" + - "82" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:47 GMT + - Mon, 12 Aug 2024 08:35:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cc2dca87-9d56-425d-a81e-fb4ad78c654a + - d6e2e783-344c-4d3b-b1e0-9064074dc422 status: 200 OK code: 200 - duration: 381.762479ms + duration: 288.4506ms - id: 11 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -568,18 +568,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:47 GMT + - Mon, 12 Aug 2024 08:35:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 76e253e9-c63b-4f4f-af6d-9ec75ee349c8 + - d8c3ddbe-2426-4117-b97d-4a3c070fa9e6 status: 200 OK code: 200 - duration: 115.081121ms + duration: 105.282308ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -617,18 +617,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:47 GMT + - Mon, 12 Aug 2024 08:35:09 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - cf61ba1a-57dc-4880-8734-e9440d0f83c7 + - 62a0eb87-14d8-4e20-a188-29ef5d98959c status: 200 OK code: 200 - duration: 107.857028ms + duration: 105.26298ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -666,18 +666,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:48 GMT + - Mon, 12 Aug 2024 08:35:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a2ac412-b4db-44fc-b1cd-f59429eaa01e + - 099b4618-13af-4b41-9345-ffceb09b80b1 status: 200 OK code: 200 - duration: 63.048091ms + duration: 58.075589ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +707,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -715,18 +715,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:48 GMT + - Mon, 12 Aug 2024 08:35:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 14fcbd6f-c30a-4ea0-b540-e2385992601a + - 6d53f6e3-6baf-439a-b9a8-bad52850115c status: 200 OK code: 200 - duration: 101.686777ms + duration: 95.488647ms - id: 15 request: proto: HTTP/1.1 @@ -756,7 +756,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -764,18 +764,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:48 GMT + - Mon, 12 Aug 2024 08:35:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -785,10 +785,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b97a93b4-b90a-488f-8ff3-2bb3e13fcc40 + - 831452fe-6a2a-4d38-bfdb-929c04b1a9dd status: 200 OK code: 200 - duration: 69.303965ms + duration: 66.290892ms - id: 16 request: proto: HTTP/1.1 @@ -805,7 +805,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users?order_by=login_asc&page=1&project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -813,18 +813,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 99 + content_length: 103 uncompressed: false body: '{"grafana_users":[{"id":3,"login":"testuserupdate","password":"","role":"viewer"}],"total_count":1}' headers: Content-Length: - - "99" + - "103" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:48 GMT + - Mon, 12 Aug 2024 08:35:10 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -834,10 +834,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9f78beb-cbe1-4beb-b3c7-622c4d7815fb + - 84bffd0f-f536-43a6-b7a8-69f46f5a989a status: 200 OK code: 200 - duration: 97.788353ms + duration: 114.922691ms - id: 17 request: proto: HTTP/1.1 @@ -854,7 +854,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/cockpit/v1/grafana/users/3?project_id=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: DELETE response: proto: HTTP/2.0 @@ -871,7 +871,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:49 GMT + - Mon, 12 Aug 2024 08:35:11 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -881,10 +881,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fe6a6194-d571-40b8-adf2-d5cfe68c88a3 + - dd5f485b-f897-41bf-9ff9-bb0a05ed4657 status: 204 No Content code: 204 - duration: 204.307846ms + duration: 195.556859ms - id: 18 request: proto: HTTP/1.1 @@ -901,7 +901,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -909,18 +909,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 251 + content_length: 256 uncompressed: false - body: '{"created_at":"2024-08-01T13:58:17.917609Z","description":"","id":"2317a245-3cf1-4e94-96d9-3034e1cf8090","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:58:17.917609Z"}' + body: '{"created_at":"2024-08-12T08:34:41.653248Z","description":"","id":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","name":"tf_tests_cockpit_grafana_user_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:41.653248Z"}' headers: Content-Length: - - "251" + - "256" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:49 GMT + - Mon, 12 Aug 2024 08:35:11 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -930,10 +930,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0a12db5b-4699-41b0-bdc7-dabedb5a0c46 + - 14ce5b31-0ae0-451d-8c02-58871299b8d6 status: 200 OK code: 200 - duration: 68.210468ms + duration: 63.542125ms - id: 19 request: proto: HTTP/1.1 @@ -950,7 +950,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/2317a245-3cf1-4e94-96d9-3034e1cf8090 + url: https://api.scaleway.com/account/v3/projects/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: DELETE response: proto: HTTP/2.0 @@ -967,7 +967,7 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:58:51 GMT + - Mon, 12 Aug 2024 08:35:13 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -977,7 +977,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a508116e-9ce1-4934-9d82-2d0070241d3c + - 01a9ec3c-7d72-460c-b9d2-c9e82fe107a2 status: 204 No Content code: 204 - duration: 1.363244712s + duration: 1.293995682s diff --git a/internal/services/cockpit/testdata/token-basic.cassette.yaml b/internal/services/cockpit/testdata/token-basic.cassette.yaml index 1be9ef0ce..62450b19b 100644 --- a/internal/services/cockpit/testdata/token-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/token-basic.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 243 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' + body: '{"created_at":"2024-08-12T08:34:39.129340Z","description":"","id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:39.129340Z"}' headers: Content-Length: - - "243" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - 0ac760db-a14c-4486-8fce-bc50b43d8428 + - f933dbfa-a75d-40eb-9873-9d897b6bd91b status: 200 OK code: 200 - duration: 1.15131012s + duration: 263.654725ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 + url: https://api.scaleway.com/account/v3/projects/f2df4a4a-ee64-4526-8772-d2d0e964d724 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 243 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' + body: '{"created_at":"2024-08-12T08:34:39.129340Z","description":"","id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:39.129340Z"}' headers: Content-Length: - - "243" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:39 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7201b42d-a092-43dc-a19a-9a9f8b00bbd0 + - c054d7a7-c213-4162-b7f3-0980ffba7d61 status: 200 OK code: 200 - duration: 79.277923ms + duration: 152.995982ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","token_scopes":["write_only_metrics","read_only_metrics"]}' + body: '{"project_id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","name":"tf_tests_cockpit_token_basic","token_scopes":["read_only_metrics","write_only_metrics"]}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 371 + content_length: 379 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' + body: '{"created_at":"2024-08-12T08:34:39.547908Z","id":"743ea413-a1f7-4bd1-9ba3-d85cb48e4e32","name":"tf_tests_cockpit_token_basic","project_id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:39.547908Z"}' headers: Content-Length: - - "371" + - "379" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - b2d645b6-918c-4678-b3bd-f72cfdbfbfbb + - 99dbf6f4-9dfa-4554-b15f-9c49fe72ae23 status: 200 OK code: 200 - duration: 133.790167ms + duration: 78.466058ms - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 309 + content_length: 317 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' + body: '{"created_at":"2024-08-12T08:34:39.547908Z","id":"743ea413-a1f7-4bd1-9ba3-d85cb48e4e32","name":"tf_tests_cockpit_token_basic","project_id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:39.547908Z"}' headers: Content-Length: - - "309" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - b5f62793-bc19-4d61-9394-c2e489750a67 + - 0ea0fc76-fb83-4606-b0cb-67a818a06674 status: 200 OK code: 200 - duration: 49.802727ms + duration: 42.043473ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 309 + content_length: 317 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' + body: '{"created_at":"2024-08-12T08:34:39.547908Z","id":"743ea413-a1f7-4bd1-9ba3-d85cb48e4e32","name":"tf_tests_cockpit_token_basic","project_id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:39.547908Z"}' headers: Content-Length: - - "309" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - ac14e4d3-a471-4c8d-8511-5cd4ab3710a9 + - afb0725c-d1d5-4004-8ae2-9a643bc087c7 status: 200 OK code: 200 - duration: 62.941665ms + duration: 45.165295ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 + url: https://api.scaleway.com/account/v3/projects/f2df4a4a-ee64-4526-8772-d2d0e964d724 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 243 + content_length: 248 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.113390Z","description":"","id":"dd040033-349e-4bab-a8aa-42759a68de19","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.113390Z"}' + body: '{"created_at":"2024-08-12T08:34:39.129340Z","description":"","id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","name":"tf_tests_cockpit_token_basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:39.129340Z"}' headers: Content-Length: - - "243" + - "248" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - bf70fd48-84e9-488c-91da-3be261b9650e + - 24a78141-8b24-44bb-8941-8464920378ea status: 200 OK code: 200 - duration: 175.995025ms + duration: 77.166707ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 309 + content_length: 317 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.509620Z","id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","name":"tf_tests_cockpit_token_basic","project_id":"dd040033-349e-4bab-a8aa-42759a68de19","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.509620Z"}' + body: '{"created_at":"2024-08-12T08:34:39.547908Z","id":"743ea413-a1f7-4bd1-9ba3-d85cb48e4e32","name":"tf_tests_cockpit_token_basic","project_id":"f2df4a4a-ee64-4526-8772-d2d0e964d724","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:39.547908Z"}' headers: Content-Length: - - "309" + - "317" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 702fe236-85cf-4d16-b770-e128e4565397 + - 30f2b11d-51d4-435e-ba10-3112dd981fb4 status: 200 OK code: 200 - duration: 143.668784ms + duration: 69.410273ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:41 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: - - 5f147215-1116-4186-afe6-69a7b9f8b826 + - 5b1a7e8d-3e7d-4cd5-8d4a-99f4db3ad323 status: 204 No Content code: 204 - duration: 48.724923ms + duration: 52.601975ms - id: 8 request: proto: HTTP/1.1 @@ -411,7 +411,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/dd040033-349e-4bab-a8aa-42759a68de19 + url: https://api.scaleway.com/account/v3/projects/f2df4a4a-ee64-4526-8772-d2d0e964d724 method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:42 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: - - 9d19011a-d046-462a-995d-0ba724d6ac04 + - a94de212-188b-4a87-aa59-de1c6feca73b status: 204 No Content code: 204 - duration: 1.377612114s + duration: 1.260297216s - id: 9 request: proto: HTTP/1.1 @@ -458,7 +458,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/0bef588e-125a-4ea0-9de9-ff8113d4f293 + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: DELETE response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"0bef588e-125a-4ea0-9de9-ff8113d4f293","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"743ea413-a1f7-4bd1-9ba3-d85cb48e4e32","type":"not_found"}' headers: Content-Length: - "126" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:42 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: - - 60570c89-f9b0-4851-bdee-046571fcf7d5 + - 5811e522-2a15-463f-bf7b-c3bad043ce26 status: 404 Not Found code: 404 - duration: 21.641357ms + duration: 19.651704ms diff --git a/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml b/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml index b7572a13b..93e0be814 100644 --- a/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml +++ b/internal/services/cockpit/testdata/token-no-scopes.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' + body: '{"created_at":"2024-08-12T08:34:42.712923Z","description":"","id":"4788222e-257a-4d0a-ac02-92fd1390d891","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:42.712923Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:42 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: - - 64c3a2ea-2cc9-454e-be21-27455d12aa7d + - 3ac91c3e-6a90-4557-83b3-1fb4f2fe00d4 status: 200 OK code: 200 - duration: 1.055546922s + duration: 260.976516ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 + url: https://api.scaleway.com/account/v3/projects/4788222e-257a-4d0a-ac02-92fd1390d891 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' + body: '{"created_at":"2024-08-12T08:34:42.712923Z","description":"","id":"4788222e-257a-4d0a-ac02-92fd1390d891","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:42.712923Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:42 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a7c8fc3a-b17a-4cd4-bfba-21b8ee9ffa78 + - 55a56c10-38d0-4be1-ac82-2f5287a7e064 status: 200 OK code: 200 - duration: 58.012539ms + duration: 56.344927ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","token_scopes":["write_only_metrics","write_only_logs"]}' + body: '{"project_id":"4788222e-257a-4d0a-ac02-92fd1390d891","name":"tf_tests_cockpit_token_no_scopes","token_scopes":["write_only_logs","write_only_metrics"]}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 373 + content_length: 381 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' + body: '{"created_at":"2024-08-12T08:34:43.067397Z","id":"f093944c-fc84-475c-8d03-c2b9c17d61d9","name":"tf_tests_cockpit_token_no_scopes","project_id":"4788222e-257a-4d0a-ac02-92fd1390d891","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:43.067397Z"}' headers: Content-Length: - - "373" + - "381" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - e677e882-1fd3-4d20-9d80-a94847877e5e + - 1096ea04-1430-4680-9c36-9c7a675ef86a status: 200 OK code: 200 - duration: 256.938674ms + duration: 81.969326ms - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 311 + content_length: 319 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' + body: '{"created_at":"2024-08-12T08:34:43.067397Z","id":"f093944c-fc84-475c-8d03-c2b9c17d61d9","name":"tf_tests_cockpit_token_no_scopes","project_id":"4788222e-257a-4d0a-ac02-92fd1390d891","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:43.067397Z"}' headers: Content-Length: - - "311" + - "319" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 664afde8-0b08-4ab2-964a-f2ef3ad0af0a + - 26f6be3d-1bbd-46eb-a7ab-1f865ed3fb14 status: 200 OK code: 200 - duration: 49.829767ms + duration: 50.717567ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 311 + content_length: 319 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' + body: '{"created_at":"2024-08-12T08:34:43.067397Z","id":"f093944c-fc84-475c-8d03-c2b9c17d61d9","name":"tf_tests_cockpit_token_no_scopes","project_id":"4788222e-257a-4d0a-ac02-92fd1390d891","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:43.067397Z"}' headers: Content-Length: - - "311" + - "319" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - f20450d1-04ea-4fd3-b7bf-2af3bd7b24fa + - cfd27a0f-a081-474b-aceb-b2994613d866 status: 200 OK code: 200 - duration: 63.035595ms + duration: 46.299537ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 + url: https://api.scaleway.com/account/v3/projects/4788222e-257a-4d0a-ac02-92fd1390d891 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 247 + content_length: 252 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.277488Z","description":"","id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.277488Z"}' + body: '{"created_at":"2024-08-12T08:34:42.712923Z","description":"","id":"4788222e-257a-4d0a-ac02-92fd1390d891","name":"tf_tests_cockpit_token_no_scopes","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:42.712923Z"}' headers: Content-Length: - - "247" + - "252" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 8d410c8f-f4d9-495f-9673-a096585a6d32 + - 4876c297-e063-4b86-9359-5be696561393 status: 200 OK code: 200 - duration: 322.31106ms + duration: 57.543879ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 311 + content_length: 319 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.485185Z","id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","name":"tf_tests_cockpit_token_no_scopes","project_id":"3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.485185Z"}' + body: '{"created_at":"2024-08-12T08:34:43.067397Z","id":"f093944c-fc84-475c-8d03-c2b9c17d61d9","name":"tf_tests_cockpit_token_no_scopes","project_id":"4788222e-257a-4d0a-ac02-92fd1390d891","region":"fr-par","scopes":["write_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:43.067397Z"}' headers: Content-Length: - - "311" + - "319" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 64a93854-4810-4f52-ba95-5f5d3fbed64b + - f9f56636-bda3-4515-81fe-7c9c35773c11 status: 200 OK code: 200 - duration: 54.484182ms + duration: 56.189044ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: DELETE response: proto: HTTP/2.0 @@ -381,9 +381,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:44 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: - - 2d5aef53-b1f0-4d83-9294-b7126d59ccb9 + - ed18853b-acd2-45e5-91d5-0ac5a8d6d932 status: 204 No Content code: 204 - duration: 53.980139ms + duration: 58.056305ms - id: 8 request: proto: HTTP/1.1 @@ -411,7 +411,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/3a58dde2-e93d-4fb7-9ef5-ee778b1c89f0 + url: https://api.scaleway.com/account/v3/projects/4788222e-257a-4d0a-ac02-92fd1390d891 method: DELETE response: proto: HTTP/2.0 @@ -428,9 +428,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:45 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: - - 1fe78747-1de1-453e-862e-9562cfe0d692 + - c8cf1ba8-4a20-4de1-a622-9c819d4ec593 status: 204 No Content code: 204 - duration: 1.32851465s + duration: 1.221344636s - id: 9 request: proto: HTTP/1.1 @@ -458,7 +458,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/21a5f9a1-65c1-4efa-8fe8-155dd840c9df + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: DELETE response: proto: HTTP/2.0 @@ -468,7 +468,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"21a5f9a1-65c1-4efa-8fe8-155dd840c9df","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"f093944c-fc84-475c-8d03-c2b9c17d61d9","type":"not_found"}' headers: Content-Length: - "126" @@ -477,9 +477,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:45 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: - - 9bf5eab4-6dde-4938-bd7c-d6bec26ffcb7 + - 0fb81f0a-3719-4c71-96e9-78536c9e4f43 status: 404 Not Found code: 404 - duration: 34.206694ms + duration: 20.977615ms diff --git a/internal/services/cockpit/testdata/token-update.cassette.yaml b/internal/services/cockpit/testdata/token-update.cassette.yaml index dee2bcd7c..fe555513f 100644 --- a/internal/services/cockpit/testdata/token-update.cassette.yaml +++ b/internal/services/cockpit/testdata/token-update.cassette.yaml @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 244 + content_length: 249 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' + body: '{"created_at":"2024-08-12T08:34:34.784207Z","description":"","id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:34.784207Z"}' headers: Content-Length: - - "244" + - "249" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:34 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: - - bdc566c3-033c-4aa5-a8ca-a832d2ea0580 + - d2725474-c833-49d6-b23b-9fd8574c37cf status: 200 OK code: 200 - duration: 552.98793ms + duration: 285.8705ms - id: 1 request: proto: HTTP/1.1 @@ -68,7 +68,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 + url: https://api.scaleway.com/account/v3/projects/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -76,20 +76,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 244 + content_length: 249 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' + body: '{"created_at":"2024-08-12T08:34:34.784207Z","description":"","id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:34.784207Z"}' headers: Content-Length: - - "244" + - "249" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:02 GMT + - Mon, 12 Aug 2024 08:34:35 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,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4e1f2ec8-5832-49a2-b7ad-b63d45a782f1 + - 0c3ea4bd-79c7-405d-b3a2-5d3e93597773 status: 200 OK code: 200 - duration: 469.821798ms + duration: 48.970435ms - id: 2 request: proto: HTTP/1.1 @@ -112,7 +112,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","token_scopes":["read_only_metrics","write_only_metrics"]}' + body: '{"project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","token_scopes":["read_only_metrics","write_only_metrics"]}' form: {} headers: Content-Type: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 372 + content_length: 380 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' + body: '{"created_at":"2024-08-12T08:34:35.143909Z","id":"6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:35.143909Z"}' headers: Content-Length: - - "372" + - "380" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:35 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: - - 51ff1e75-56ea-4de3-a211-270952c17b3b + - fedff55a-5714-4f86-b20b-e556308c2f57 status: 200 OK code: 200 - duration: 181.009549ms + duration: 88.723359ms - id: 3 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 310 + content_length: 318 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' + body: '{"created_at":"2024-08-12T08:34:35.143909Z","id":"6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:35.143909Z"}' headers: Content-Length: - - "310" + - "318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:35 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: - - d4ef67c1-dd1f-4de8-8e9d-6e825fc277c1 + - 8cd464d7-90e9-4e31-95fb-2c7bfa56569a status: 200 OK code: 200 - duration: 53.836855ms + duration: 63.435266ms - id: 4 request: proto: HTTP/1.1 @@ -217,7 +217,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -225,20 +225,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 310 + content_length: 318 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' + body: '{"created_at":"2024-08-12T08:34:35.143909Z","id":"6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:35.143909Z"}' headers: Content-Length: - - "310" + - "318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:03 GMT + - Mon, 12 Aug 2024 08:34:35 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: - - 9f712b8f-f3df-43d5-8fda-1e5d594aa312 + - 77edb27d-186c-48a3-aecf-7e3d5d140021 status: 200 OK code: 200 - duration: 50.618207ms + duration: 59.448039ms - id: 5 request: proto: HTTP/1.1 @@ -266,7 +266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 + url: https://api.scaleway.com/account/v3/projects/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -274,20 +274,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 244 + content_length: 249 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' + body: '{"created_at":"2024-08-12T08:34:34.784207Z","description":"","id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:34.784207Z"}' headers: Content-Length: - - "244" + - "249" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:35 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: - - 1b5809b3-9538-407c-8b60-03cc74156e29 + - 2454ef1a-0169-402d-a936-ad142a31f4bf status: 200 OK code: 200 - duration: 95.888299ms + duration: 51.577776ms - id: 6 request: proto: HTTP/1.1 @@ -315,7 +315,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -323,20 +323,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 310 + content_length: 318 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' + body: '{"created_at":"2024-08-12T08:34:35.143909Z","id":"6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:35.143909Z"}' headers: Content-Length: - - "310" + - "318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:35 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: - - f40e9f9c-05e2-406a-83bc-0ec5fc356553 + - ff6b6985-53c3-4858-96e1-c7d952d8db95 status: 200 OK code: 200 - duration: 42.510993ms + duration: 45.681855ms - id: 7 request: proto: HTTP/1.1 @@ -364,7 +364,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 + url: https://api.scaleway.com/account/v3/projects/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -372,20 +372,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 244 + content_length: 249 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' + body: '{"created_at":"2024-08-12T08:34:34.784207Z","description":"","id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:34.784207Z"}' headers: Content-Length: - - "244" + - "249" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -393,10 +393,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - db915ec4-394f-4ab1-a222-915e147ba773 + - 99d4f8a3-eaf2-4dc0-af94-22d463b74ee8 status: 200 OK code: 200 - duration: 52.894104ms + duration: 54.02728ms - id: 8 request: proto: HTTP/1.1 @@ -413,7 +413,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -421,20 +421,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 310 + content_length: 318 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:03.390125Z","id":"d42280b5-6458-40f5-88b8-4c6dcdb9250b","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:03.390125Z"}' + body: '{"created_at":"2024-08-12T08:34:35.143909Z","id":"6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:35.143909Z"}' headers: Content-Length: - - "310" + - "318" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:04 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -442,10 +442,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3bcc0a95-91cb-4f71-92a4-fd40e8ea6aed + - 3067e85b-eed8-4e6e-96bb-4f51f8c7339a status: 200 OK code: 200 - duration: 44.209993ms + duration: 46.231706ms - id: 9 request: proto: HTTP/1.1 @@ -462,7 +462,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/d42280b5-6458-40f5-88b8-4c6dcdb9250b + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: DELETE response: proto: HTTP/2.0 @@ -479,9 +479,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -489,10 +489,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0864fd4a-8ed2-4a6a-a9d7-ef5f6d2b2bde + - bf6c8ad5-ceff-4c7e-9517-e2ba5de49126 status: 204 No Content code: 204 - duration: 60.847461ms + duration: 57.537187ms - id: 10 request: proto: HTTP/1.1 @@ -504,7 +504,7 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","token_scopes":["read_only_metrics","write_only_logs","write_only_metrics"]}' + body: '{"project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","token_scopes":["write_only_metrics","write_only_logs","read_only_metrics"]}' form: {} headers: Content-Type: @@ -519,20 +519,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 390 + content_length: 399 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' + body: '{"created_at":"2024-08-12T08:34:36.762783Z","id":"a23adec9-49f1-4399-bd94-473b2854d494","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:36.762783Z"}' headers: Content-Length: - - "390" + - "399" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -540,10 +540,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9ec5b7a5-634b-4f79-a206-23e8aa375e42 + - 6c3f8cdc-4a85-4f91-af5f-a75b3cf374c1 status: 200 OK code: 200 - duration: 67.843215ms + duration: 56.448177ms - id: 11 request: proto: HTTP/1.1 @@ -560,7 +560,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -568,20 +568,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 328 + content_length: 337 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' + body: '{"created_at":"2024-08-12T08:34:36.762783Z","id":"a23adec9-49f1-4399-bd94-473b2854d494","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:36.762783Z"}' headers: Content-Length: - - "328" + - "337" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:36 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: @@ -589,10 +589,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8882e421-c185-4878-a2f8-1f0d51d89e48 + - 27494489-a63b-4ad7-b8b1-f745fdb93bb2 status: 200 OK code: 200 - duration: 48.486261ms + duration: 46.73134ms - id: 12 request: proto: HTTP/1.1 @@ -609,7 +609,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -617,20 +617,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 328 + content_length: 337 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' + body: '{"created_at":"2024-08-12T08:34:36.762783Z","id":"a23adec9-49f1-4399-bd94-473b2854d494","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:36.762783Z"}' headers: Content-Length: - - "328" + - "337" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:05 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -638,10 +638,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 39c463cb-d256-4032-b521-b22a9934a5cb + - 29ff9e90-7a05-4dd0-afc7-9c4906da42bd status: 200 OK code: 200 - duration: 59.062847ms + duration: 65.409284ms - id: 13 request: proto: HTTP/1.1 @@ -658,7 +658,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 + url: https://api.scaleway.com/account/v3/projects/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -666,20 +666,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 244 + content_length: 249 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:02.244302Z","description":"","id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-01T13:53:02.244302Z"}' + body: '{"created_at":"2024-08-12T08:34:34.784207Z","description":"","id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","name":"tf_tests_cockpit_token_update","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","updated_at":"2024-08-12T08:34:34.784207Z"}' headers: Content-Length: - - "244" + - "249" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -687,10 +687,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 38db8693-f198-4873-af5f-4f2ed1179454 + - bc107851-a165-4bf7-9fc0-635f821cb16d status: 200 OK code: 200 - duration: 48.009485ms + duration: 51.621147ms - id: 14 request: proto: HTTP/1.1 @@ -707,7 +707,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -715,20 +715,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 328 + content_length: 337 uncompressed: false - body: '{"created_at":"2024-08-01T13:53:05.417089Z","id":"71e42844-e3ef-46a4-8119-28224a420afe","name":"tf_tests_cockpit_token_update","project_id":"c219e756-0ff5-43f1-9aa6-6876a5d1dc36","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-01T13:53:05.417089Z"}' + body: '{"created_at":"2024-08-12T08:34:36.762783Z","id":"a23adec9-49f1-4399-bd94-473b2854d494","name":"tf_tests_cockpit_token_update","project_id":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","region":"fr-par","scopes":["write_only_metrics","read_only_metrics","write_only_logs"],"secret_key":"00000000-0000-0000-0000-000000000000","updated_at":"2024-08-12T08:34:36.762783Z"}' headers: Content-Length: - - "328" + - "337" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:37 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: @@ -736,10 +736,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b6796041-7ca4-4e94-9803-3b04e122b03c + - 03286849-cb50-462b-9f91-b67b97d9bc34 status: 200 OK code: 200 - duration: 42.364494ms + duration: 50.092622ms - id: 15 request: proto: HTTP/1.1 @@ -756,7 +756,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/a23adec9-49f1-4399-bd94-473b2854d494 method: DELETE response: proto: HTTP/2.0 @@ -773,9 +773,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:06 GMT + - Mon, 12 Aug 2024 08:34:38 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: @@ -783,10 +783,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 95bf6a76-7509-45f7-9582-23e170c6827d + - 1e82b330-907d-41dc-bf35-7c8744fbeb91 status: 204 No Content code: 204 - duration: 49.020043ms + duration: 57.520982ms - id: 16 request: proto: HTTP/1.1 @@ -803,7 +803,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/c219e756-0ff5-43f1-9aa6-6876a5d1dc36 + url: https://api.scaleway.com/account/v3/projects/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: DELETE response: proto: HTTP/2.0 @@ -820,9 +820,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:07 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -830,10 +830,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5137aa16-5fd1-4295-9e93-8eda0cf8036e + - 16058906-82b3-46d3-9f08-848af7f595d2 status: 204 No Content code: 204 - duration: 1.168279692s + duration: 1.461131065s - id: 17 request: proto: HTTP/1.1 @@ -850,7 +850,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/71e42844-e3ef-46a4-8119-28224a420afe + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/tokens/a23adec9-49f1-4399-bd94-473b2854d494 method: DELETE response: proto: HTTP/2.0 @@ -860,7 +860,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"token","resource_id":"71e42844-e3ef-46a4-8119-28224a420afe","type":"not_found"}' + body: '{"message":"resource is not found","resource":"token","resource_id":"a23adec9-49f1-4399-bd94-473b2854d494","type":"not_found"}' headers: Content-Length: - "126" @@ -869,9 +869,9 @@ interactions: Content-Type: - application/json Date: - - Thu, 01 Aug 2024 13:53:08 GMT + - Mon, 12 Aug 2024 08:34:39 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: @@ -879,7 +879,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 938b3677-39e3-4871-8867-071314fe3229 + - b18e4868-dffc-492b-9cac-7a9fcb8480fc status: 404 Not Found code: 404 - duration: 665.445337ms + duration: 20.335114ms From 7749fb19fa8f668062f124f15a154c4f824ca757 Mon Sep 17 00:00:00 2001 From: jremy Date: Mon, 12 Aug 2024 14:04:06 +0200 Subject: [PATCH 10/10] fix indentation --- docs/data-sources/cockpit.md | 10 +++++----- docs/resources/cockpit.md | 28 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/data-sources/cockpit.md b/docs/data-sources/cockpit.md index a321ffe1e..51954064e 100644 --- a/docs/data-sources/cockpit.md +++ b/docs/data-sources/cockpit.md @@ -25,7 +25,7 @@ data "scaleway_cockpit" "main" {} ```hcl // Get a specific project's cockpit data "scaleway_cockpit" "main" { -project_id = "11111111-1111-1111-1111-111111111111" + project_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -40,7 +40,7 @@ In addition to all arguments above, the following attributes are exported: - `plan_id` - (Deprecated) The ID of the current plan - `endpoints` - (Deprecated) Endpoints -- `metrics_url` - (Deprecated) The metrics URL -- `logs_url` - (Deprecated) The logs URL -- `alertmanager_url` - (Deprecated) The alertmanager URL -- `grafana_url` - (Deprecated) The grafana URL \ No newline at end of file + - `metrics_url` - (Deprecated) The metrics URL + - `logs_url` - (Deprecated) The logs URL + - `alertmanager_url` - (Deprecated) The alertmanager URL + - `grafana_url` - (Deprecated) The grafana URL \ No newline at end of file diff --git a/docs/resources/cockpit.md b/docs/resources/cockpit.md index c8b974fb1..a26651c2d 100644 --- a/docs/resources/cockpit.md +++ b/docs/resources/cockpit.md @@ -25,7 +25,7 @@ resource "scaleway_cockpit" "main" {} ```terraform resource "scaleway_cockpit" "main" { -project_id = "11111111-1111-1111-1111-111111111111" + project_id = "11111111-1111-1111-1111-111111111111" } ``` @@ -33,8 +33,8 @@ project_id = "11111111-1111-1111-1111-111111111111" ```terraform resource "scaleway_cockpit" "main" { -project_id = "11111111-1111-1111-1111-111111111111" -plan = "premium" + project_id = "11111111-1111-1111-1111-111111111111" + plan = "premium" } ``` @@ -44,18 +44,18 @@ plan = "premium" resource "scaleway_cockpit" "main" {} resource "scaleway_cockpit_grafana_user" "main" { -project_id = scaleway_cockpit.main.project_id -login = "example" -role = "editor" + project_id = scaleway_cockpit.main.project_id + login = "example" + role = "editor" } provider "grafana" { -url = scaleway_cockpit.main.endpoints.0.grafana_url -auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}" + url = scaleway_cockpit.main.endpoints.0.grafana_url + auth = "${scaleway_cockpit_grafana_user.main.login}:${scaleway_cockpit_grafana_user.main.password}" } resource "grafana_folder" "test_folder" { -title = "Test Folder" + title = "Test Folder" } ``` @@ -71,11 +71,11 @@ In addition to all arguments above, the following attributes are exported: - `plan_id` - (Deprecated) The ID of the current plan. Please use plan instead. - `endpoints` - (Deprecated) Endpoints. Please use scaleway_cockpit_source instead. -- `metrics_url` - (Deprecated) The metrics URL. -- `logs_url` - (Deprecated) The logs URL. -- `alertmanager_url` - (Deprecated) The alertmanager URL. -- `grafana_url` - (Deprecated) The grafana URL. -- `traces_url` - (Deprecated) The traces URL. + - `metrics_url` - (Deprecated) The metrics URL. + - `logs_url` - (Deprecated) The logs URL. + - `alertmanager_url` - (Deprecated) The alertmanager URL. + - `grafana_url` - (Deprecated) The grafana URL. + - `traces_url` - (Deprecated) The traces URL. ## Import