diff --git a/docs/data-sources/cockpit.md b/docs/data-sources/cockpit.md index de3afbbe7..51954064e 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). @@ -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..a26651c2d 100644 --- a/docs/resources/cockpit.md +++ b/docs/resources/cockpit.md @@ -15,13 +15,13 @@ 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" { @@ -29,6 +29,15 @@ resource "scaleway_cockpit" "main" { } ``` +### Choose a specific plan for Cockpit + +```terraform +resource "scaleway_cockpit" "main" { + project_id = "11111111-1111-1111-1111-111111111111" + plan = "premium" +} +``` + ### Use the Grafana Terraform provider ```terraform @@ -53,20 +62,20 @@ resource "grafana_folder" "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 diff --git a/internal/services/cockpit/cockpit.go b/internal/services/cockpit/cockpit.go index 1867c0c49..5fbf24586 100644 --- a/internal/services/cockpit/cockpit.go +++ b/internal/services/cockpit/cockpit.go @@ -5,9 +5,8 @@ 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" ) @@ -17,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, }, @@ -37,11 +30,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 +71,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,87 +92,108 @@ 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 { + 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) + } + + alertManager, err := regionalAPI.GetAlertManager(&cockpit.RegionalAPIGetAlertManagerRequest{ + ProjectID: d.Get("project_id").(string), + }) if err != nil { - if httperrors.Is404(err) { - d.SetId("") - return nil - } return diag.FromErr(err) } + alertManagerURL := "" + if alertManager.AlertManagerURL != nil { + alertManagerURL = *alertManager.AlertManagerURL + } - _ = 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)) + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerURL) + + _ = 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 +201,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 +230,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..713f50bcf 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,76 @@ 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) + + 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) + } + + 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 + } - d.SetId(res.ProjectID) - _ = d.Set("project_id", res.ProjectID) - _ = d.Set("plan_id", res.Plan.ID) - _ = d.Set("endpoints", flattenCockpitEndpoints(res.Endpoints)) + endpoints := flattenCockpitEndpoints(dataSourcesRes.DataSources, grafana.GrafanaURL, alertManagerURL) + _ = 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..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 @@ -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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -38,7 +38,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c7a95552-556c-4233-8704-501e72524694 + - a54c22a9-ef9b-4700-a9e9-c8cfeadfd554 status: 200 OK code: 200 - duration: 248.177802ms + duration: 251.69671ms - 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/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -87,7 +87,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eec9c287-450d-4d38-92db-92bb7b5e419e + - 82ddcb17-34e3-4369-834e-e235c543b145 status: 200 OK code: 200 - duration: 58.577504ms + duration: 53.978042ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' 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: 187 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d1537a14-15b2-4e94-9ee4-9d0e1791987a + - 0f1b0106-31c9-4bbf-bf23-2cf5ce730362 status: 200 OK code: 200 - duration: 94.366738ms + duration: 83.867293ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' 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: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2f9a5089-d11e-45f4-b79b-eee0968bfb6d + - ada691aa-c90d-424b-8ecd-10263cd16be8 status: 200 OK code: 200 - duration: 69.126972ms + duration: 192.300033ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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: @@ -240,7 +240,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:14 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -250,10 +250,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ff6eb53f-dc51-43ae-aa2b-21d8d28f34d3 + - ebcfbd57-e69f-4f21-8519-d2881fd74c4f status: 200 OK code: 200 - duration: 349.62061ms + duration: 319.498575ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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: @@ -291,7 +291,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -301,10 +301,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c15e97d-6f92-4b16-a392-671f5599cce7 + - b4dd5443-ff28-4bd4-8490-51883222a9c4 status: 200 OK code: 200 - duration: 255.049823ms + duration: 375.313068ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -329,18 +329,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -350,10 +350,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 131f152e-73e1-444c-93fd-31db6468e0e7 + - 3db22409-11cb-4c32-9f36-b874055f3d71 status: 200 OK code: 200 - duration: 51.473412ms + duration: 53.568778ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -389,7 +389,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Mon, 12 Aug 2024 08:34:38 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -399,10 +399,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 26291fba-1618-450f-8454-8e17dd4336d3 + - e0063bfb-98b8-4393-a5c1-32df3bcff37c status: 200 OK code: 200 - duration: 103.394235ms + duration: 1.196163071s - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -438,7 +438,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:15 GMT + - Mon, 12 Aug 2024 08:34:38 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -448,10 +448,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46e4b93d-29b7-4f62-934f-e08c2225bcfa + - 08e25cbc-ba4d-4c1e-8dc9-e68ea964def8 status: 200 OK code: 200 - duration: 163.443815ms + duration: 122.562484ms - 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/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -478,7 +478,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -487,7 +487,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Mon, 12 Aug 2024 08:34:38 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -497,10 +497,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f8d5ee90-2374-4032-8185-f934da171d61 + - 1e83ee3b-b658-4b2e-bcfd-d6c66ff7fd73 status: 200 OK code: 200 - duration: 41.840674ms + duration: 168.407449ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -525,18 +525,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Mon, 12 Aug 2024 08:34:39 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -546,10 +546,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d3f2385b-d376-425d-9a76-b2b70614f430 + - 543e714b-b620-4a37-bd87-3650798544f3 status: 200 OK code: 200 - duration: 45.747748ms + duration: 181.209081ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -585,7 +585,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Mon, 12 Aug 2024 08:34:39 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -595,10 +595,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1a194ae7-ecdf-49bd-ad5d-33cbd06a4239 + - ba556e8c-ea03-4253-8b0f-f79376ea704c status: 200 OK code: 200 - duration: 121.904893ms + duration: 185.56407ms - 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/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -625,7 +625,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -634,7 +634,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Mon, 12 Aug 2024 08:34:39 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -644,10 +644,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8e3cfe9d-c77f-4c9d-a773-acac574523c5 + - aabaa517-8134-453e-9328-453563b5b20e status: 200 OK code: 200 - duration: 54.924232ms + duration: 62.721938ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -672,18 +672,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:16 GMT + - Mon, 12 Aug 2024 08:34:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -693,10 +693,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d04ab708-f68d-4aa2-9166-1a7ff34fd54d + - b3d612b3-7cd4-4bdf-b6ab-758a28a487f6 status: 200 OK code: 200 - duration: 46.670788ms + duration: 52.668699ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -732,7 +732,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:17 GMT + - Mon, 12 Aug 2024 08:34:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -742,10 +742,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f1e5bbaa-260e-42d8-a2c5-ff2f06c62f40 + - b1c88255-3621-42f4-b666-46855f4c95a6 status: 200 OK code: 200 - duration: 80.613474ms + duration: 101.782742ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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,7 +781,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -791,10 +791,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a3b69f0e-ccfe-464b-9542-2b47faf6b33f + - 4caf27af-3452-4537-82aa-6aa855639397 status: 204 No Content code: 204 - duration: 343.584531ms + duration: 7.195674042s - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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,7 +830,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:48 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -840,10 +840,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bf64bc41-8c93-4b51-9ecc-e6a5ef336b0a + - 88d2a957-6595-4412-a958-4ae8badf7788 status: 204 No Content code: 204 - duration: 257.618803ms + duration: 177.240988ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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: @@ -881,7 +881,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:48 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -891,10 +891,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6f3d71eb-d05b-4a91-aeae-e1318c12de45 + - 60f886d8-3ff8-4707-a421-34cfddaa967d status: 200 OK code: 200 - duration: 196.185104ms + duration: 947.154648ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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: @@ -932,7 +932,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -942,10 +942,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - fef78589-6916-4170-9ae9-f78a09982a56 + - a62e2a21-da64-48e8-a4c5-16282c48d750 status: 200 OK code: 200 - duration: 295.04332ms + duration: 1.474157942s - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -970,18 +970,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -991,10 +991,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1d29efa7-1d30-4a70-8068-aba979bd6215 + - 58ca8031-85fa-41cd-9cd5-2b74f94236cc status: 200 OK code: 200 - duration: 55.431828ms + duration: 49.428071ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1030,7 +1030,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:18 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1040,10 +1040,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - decd1597-394b-4cf5-b1b7-00cc0b17e3b5 + - 3682077f-d35a-4038-93ba-17503c6687af status: 200 OK code: 200 - duration: 101.944361ms + duration: 99.100959ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1079,7 +1079,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1089,10 +1089,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0dd62fda-a30a-4af7-9d24-e4ba95936694 + - 5b3f1bae-bfbb-4e7d-9de0-77f306d33851 status: 200 OK code: 200 - duration: 179.798711ms + duration: 83.164064ms - 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/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1119,7 +1119,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -1128,7 +1128,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Mon, 12 Aug 2024 08:34:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1138,10 +1138,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5b3de1f1-b4c5-42f1-93fe-a9121a6ff7b6 + - afe3eabb-9614-40c9-b286-69fa5a33a7a5 status: 200 OK code: 200 - duration: 41.189011ms + duration: 75.161579ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1166,18 +1166,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:19 GMT + - Mon, 12 Aug 2024 08:34:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1187,10 +1187,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f3c6b074-331b-4600-8de8-328bb11e04e0 + - 509a4e1f-a7f6-48be-b13f-93bfc93c6286 status: 200 OK code: 200 - duration: 57.068035ms + duration: 42.67442ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1226,7 +1226,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:20 GMT + - Mon, 12 Aug 2024 08:34:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1236,10 +1236,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 1e05405c-db65-43e2-be15-82653c2b3181 + - 75b1f1ff-5fa3-4143-8377-c93742d8b200 status: 200 OK code: 200 - duration: 77.630092ms + duration: 96.853ms - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1275,7 +1275,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:20 GMT + - Mon, 12 Aug 2024 08:34:51 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c421a95f-749b-4721-82cb-65cb209b1e72 + - 633844af-d4ea-4fc5-8898-37c28407c002 status: 200 OK code: 200 - duration: 114.071266ms + duration: 108.32178ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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,7 +1324,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Mon, 12 Aug 2024 08:34:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1334,10 +1334,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 27bbf7ec-86b3-41b4-b009-d11a70b766a6 + - e97e9142-0540-4c60-8de9-ec9f72470f72 status: 204 No Content code: 204 - duration: 522.483769ms + duration: 376.254935ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d","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,7 +1373,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Mon, 12 Aug 2024 08:34:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1383,10 +1383,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9ae9ec9-dfbf-41a5-9e13-5927273dbca6 + - cdf92a67-03d0-43e5-a917-53fc79db4c81 status: 204 No Content code: 204 - duration: 249.62806ms + duration: 284.238199ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' 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,18 +1413,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://0ddc7745-f7cc-4327-bfbc-13dee3fcca34.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Mon, 12 Aug 2024 08:34:52 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1434,10 +1434,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 53456821-3d41-4c2d-b5b9-82a161c7006c + - 510691d1-c39a-4cb2-9cb3-04967113e6c5 status: 200 OK code: 200 - duration: 49.421699ms + duration: 239.11229ms - 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":"c4a518ca-3d21-42cc-a1e6-857d27ce0a8d"}' 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: @@ -1475,7 +1475,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:21 GMT + - Mon, 12 Aug 2024 08:34:53 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1485,10 +1485,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 951c383d-e268-452b-9853-7aa3681c2700 + - 3af4b795-3fab-4a03-834d-c32fb3e8d6fb status: 200 OK code: 200 - duration: 176.985388ms + duration: 291.489858ms - 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/c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: DELETE response: proto: HTTP/2.0 @@ -1522,7 +1522,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:23 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1532,10 +1532,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5bd062f2-29d0-443e-96a0-51a9995cdcf4 + - 9b2537e5-ded9-4119-8e1c-74dd935df025 status: 204 No Content code: 204 - duration: 1.189821195s + duration: 1.224397241s - 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=c4a518ca-3d21-42cc-a1e6-857d27ce0a8d method: GET response: proto: HTTP/2.0 @@ -1571,7 +1571,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:23 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1581,7 +1581,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2825a4a2-6e95-4252-aa9e-6b5bfbcf67cb + - 9016d150-fe8b-4f94-bb4d-dca8149eb860 status: 403 Forbidden code: 403 - duration: 54.157505ms + 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 394172991..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 @@ -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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:51 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: - - ae99895f-3e45-4999-b612-02ae07f83ed1 + - cd53e1fe-88a1-4f2a-8a6e-75b226b8e8fd status: 200 OK code: 200 - duration: 272.246203ms + duration: 265.913664ms - 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/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:51 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: - - 0d38ef0a-c047-4733-bee6-a0e08a7e952b + - 342238f5-38dc-4ce0-9c5b-72c988b79d3d status: 200 OK code: 200 - duration: 49.196723ms + duration: 58.491127ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' 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: 187 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 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: - - e0deb8dd-b6f3-42a6-9935-0d935c04b5b0 + - 0d72e16a-74e9-41d6-b8aa-a44250876db0 status: 200 OK code: 200 - duration: 91.938019ms + duration: 86.53924ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' 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: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 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: - - 6e389b7a-2fae-4c6a-a1bd-2dbf0efa1d23 + - 149bff1f-b013-48b0-9090-048af6f4741f status: 200 OK code: 200 - duration: 85.680071ms + duration: 213.969188ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718","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: @@ -240,9 +240,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 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: - - 8e53cc03-620c-4352-948b-617aa098327c + - b3fae390-f11b-4e25-83ab-52e7a55e4f54 status: 200 OK code: 200 - duration: 549.735551ms + duration: 791.025143ms - 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=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: 149 + content_length: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 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: - - f995c199-6ceb-4e2f-8572-f31362c1422f + - 1b3d3d15-b0a0-4133-b07f-cd11f3696ca8 status: 200 OK code: 200 - duration: 56.000168ms + duration: 41.940536ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -338,9 +338,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:52 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: - - a98266c1-b952-4c79-b255-3c0838d7cd19 + - e8f10848-943b-4445-8eb1-6d7f26c65910 status: 200 OK code: 200 - duration: 166.947593ms + duration: 82.10074ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -387,9 +387,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 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: - - 25ccf442-349f-484b-91bd-f6a5d103f110 + - a483ed07-0c6c-4e06-b063-fe41f6fe1f64 status: 200 OK code: 200 - duration: 94.130354ms + duration: 88.145381ms - 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/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -427,7 +427,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -436,9 +436,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 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: - - 6c5b722c-575f-4615-af01-6f1af4e19d13 + - a7dd793e-62f0-45af-b563-cbed036adfc3 status: 200 OK code: 200 - duration: 54.767063ms + duration: 67.057432ms - 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=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: 149 + content_length: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 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: - - 4491f05b-d18d-487a-864f-27e8412acf5e + - 4e6b0781-6c1b-4a47-90e0-8b38683dbb89 status: 200 OK code: 200 - duration: 44.887707ms + duration: 54.74101ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -534,9 +534,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:53 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: - - 7a010943-a998-4b2f-81c9-b5caf4f00466 + - ce5184fb-4611-44fc-9c48-9f2d3fdb982f status: 200 OK code: 200 - duration: 149.60835ms + duration: 85.919328ms - 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/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -574,7 +574,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -583,9 +583,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 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: - - 45ff78cb-4c19-46dc-a59e-f8fc2fa090d8 + - 3fff50fc-96c9-4fe8-9d74-420f4cfe1010 status: 200 OK code: 200 - duration: 47.778448ms + duration: 53.282732ms - 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=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: 149 + content_length: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 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: - - 59cae494-ba07-401b-b4f8-9957972d14aa + - 2b89a90b-02c9-4348-9442-004788dbffad status: 200 OK code: 200 - duration: 35.920508ms + duration: 52.673377ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -681,9 +681,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:54 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: - - ed24dff4-ac8c-417a-9b51-6f27165b6263 + - 60349f62-8e78-4e2c-9a1b-25cd6844266e status: 200 OK code: 200 - duration: 101.506309ms + duration: 97.58979ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718","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,9 +730,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:55 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: - - e2160e60-dbb3-40cf-a285-e95bf1ef2e1c + - 820b2cba-830b-449b-9ca3-51ce106d91ae status: 204 No Content code: 204 - duration: 192.794078ms + duration: 553.181094ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718","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: @@ -781,9 +781,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 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: - - 28a1165a-900c-494f-94ec-a2941ad73a08 + - 278ca42f-2eda-45fc-a0d5-793ea396e25c status: 200 OK code: 200 - duration: 403.659466ms + duration: 413.238014ms - 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=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: 149 + content_length: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 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: - - 243cea81-5d64-4247-a033-6a3c60835463 + - 37e78a4a-d1c8-4c20-b97e-17d05dd08797 status: 200 OK code: 200 - duration: 54.88508ms + duration: 50.349093ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -879,9 +879,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 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: - - 9fb1bff3-8ea5-4d8f-b11e-cf7c2553b1e9 + - 2adecb86-514c-4fc2-98cb-8039aa48f85b status: 200 OK code: 200 - duration: 101.939693ms + duration: 105.080138ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -928,9 +928,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:56 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: - - 0f4ba24d-ec0c-4f91-926d-b5d10be3ba46 + - 9fc5837a-05b8-477b-a272-8fe8f437249f status: 200 OK code: 200 - duration: 162.838196ms + duration: 95.587297ms - 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/c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -968,7 +968,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -977,9 +977,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 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: - - a044861c-78e4-4509-96d6-71fb91c644ee + - a65dcd57-9937-469d-b017-188e4489711c status: 200 OK code: 200 - duration: 53.877364ms + duration: 60.746731ms - 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=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: 149 + content_length: 186 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 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: - - f82cf205-24e3-470c-9388-f29115e34efe + - 930e451f-b8db-487c-9538-7fae02cbc883 status: 200 OK code: 200 - duration: 46.663234ms + duration: 51.330707ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1075,9 +1075,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:57 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: - - 6f2a11fc-74c4-474a-899b-e13ab10b3518 + - 87f270ea-8fd1-4d20-92aa-1ada0dc4c188 status: 200 OK code: 200 - duration: 149.342836ms + duration: 95.660545ms - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1124,9 +1124,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:40:58 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: - - 2a670770-ff67-4eb9-be9c-8ac8d771c35c + - 808fb24a-e68c-4695-9f21-26f05dca6ee7 status: 200 OK code: 200 - duration: 133.911285ms + duration: 75.697748ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718","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,9 +1173,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41: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: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 4c5fef7b-6bef-4dee-803a-74e9c5d2ece5 + - ab3dec23-5e4b-4ed3-9f5e-062ce62353ed status: 204 No Content code: 204 - duration: 7.149486853s + duration: 560.992323ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' 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,20 +1213,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://d77456aa-d305-41af-bada-a6728cc79ce7.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41: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: @@ -1234,10 +1234,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 48f09fc2-c3c1-47e9-ad72-f82be60c790e + - 1df2468d-6c3c-47d9-9c8c-8cc1f58177b0 status: 200 OK code: 200 - duration: 55.357598ms + duration: 196.994597ms - 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":"c24a6631-d446-45f0-842e-28ac2bf4b718"}' 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: @@ -1275,9 +1275,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41: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: @@ -1285,10 +1285,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c523fc25-bf99-4f30-8606-80c8eebb7b23 + - e974e9b4-b0a1-42ac-8682-59f45b9fdfa9 status: 200 OK code: 200 - duration: 172.987254ms + duration: 320.105822ms - 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/c24a6631-d446-45f0-842e-28ac2bf4b718 method: DELETE response: proto: HTTP/2.0 @@ -1322,9 +1322,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41: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: @@ -1332,10 +1332,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b9d7a992-907a-4092-94a5-f660fac3ebc4 + - 8f43cb85-bd31-4830-b787-22a6bac7df2a status: 204 No Content code: 204 - duration: 1.31203248s + duration: 1.221923425s - 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=c24a6631-d446-45f0-842e-28ac2bf4b718 method: GET response: proto: HTTP/2.0 @@ -1371,9 +1371,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:41: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: @@ -1381,7 +1381,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8bbb062c-7ae5-46af-9b47-a9c966ec36b8 + - 2a4d2dfe-ed1d-43a3-acc5-4882e6e17010 status: 403 Forbidden code: 403 - duration: 48.303558ms + 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 5e3a34051..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 @@ -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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -38,7 +38,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:56 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f88bb622-1538-4937-9cbf-c94df2411774 + - 22c2f359-fe6a-4937-982a-ec97da4a337d status: 200 OK code: 200 - duration: 240.599746ms + duration: 243.196334ms - 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/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -87,7 +87,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:56 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -97,10 +97,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a1836db9-6948-4463-a570-a7c9cd170ff8 + - 630e27d8-3827-4f34-a062-5ebe4efb315e status: 200 OK code: 200 - duration: 32.592692ms + duration: 56.155696ms - 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":"827a3048-b744-4267-8f07-9c3bea76c810"}' 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: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b07588bc-aabc-42ba-adc3-3e6828036f3f + - 349485df-aa55-4cc6-93b9-21a11142bb80 status: 200 OK code: 200 - duration: 91.692971ms + duration: 73.554432ms - 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":"827a3048-b744-4267-8f07-9c3bea76c810"}' 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: 186 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -199,10 +199,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 57b355fc-6f94-4510-a988-6a818ae038e0 + - fd602f31-e4b9-4794-8b11-eb401299e9ae status: 200 OK code: 200 - duration: 53.638871ms + duration: 249.865748ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -227,18 +227,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -248,10 +248,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9c438beb-6011-40d4-a791-5e213d094b61 + - 95a596e0-ee1d-4596-b51d-67a3e090abd9 status: 200 OK code: 200 - duration: 47.323107ms + duration: 49.48649ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -287,7 +287,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -297,10 +297,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 11189d88-3070-4a94-96dd-f4d4dafd9215 + - 01a03bce-7592-4053-a535-218239374d37 status: 200 OK code: 200 - duration: 120.390369ms + duration: 99.639618ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -325,18 +325,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:57 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -346,10 +346,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 6108a3d6-cd0d-439d-9162-2d685055b61d + - fe140707-168c-4ffb-9d01-8d8dc564f5c1 status: 200 OK code: 200 - duration: 64.157756ms + duration: 43.361351ms - 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/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -376,7 +376,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -385,7 +385,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -395,10 +395,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - aa94c888-387f-463d-b5bb-0bb478ca7aa8 + - 7af4396b-dad3-44ad-ba41-e0ac76ca8c0c status: 200 OK code: 200 - duration: 38.901031ms + duration: 47.421875ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -423,18 +423,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -444,10 +444,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 500d3aba-a726-4b00-b90e-7c699fa78bab + - 48433fd4-2561-499c-a1ba-98a95a09c2d1 status: 200 OK code: 200 - duration: 47.3001ms + duration: 52.118377ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -483,7 +483,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -493,10 +493,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 46856ed3-0019-4f4c-8574-17133e3aeb57 + - bca29d56-0b6e-4584-b5cc-0fcdda1bb2e0 status: 200 OK code: 200 - duration: 99.823326ms + duration: 120.772813ms - 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/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -523,7 +523,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -532,7 +532,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -542,10 +542,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5423b1ed-1caa-4203-8933-3255595d2a71 + - 4786dad7-84bc-479a-8028-0ea182124345 status: 200 OK code: 200 - duration: 42.885046ms + duration: 55.804156ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -570,18 +570,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 149 + content_length: 186 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -591,10 +591,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 212a002e-e70e-422a-9d7f-7d26ad6714dc + - b1b55bfa-5904-4786-b68f-5bf82b036856 status: 200 OK code: 200 - duration: 50.078223ms + duration: 45.148157ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -630,7 +630,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:58 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -640,10 +640,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - afdfc7f7-92cc-4ab6-ae26-86d9bbd47a98 + - b46d73e1-b39d-4050-ae15-6429326b9034 status: 200 OK code: 200 - duration: 82.803505ms + duration: 95.122362ms - 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":"827a3048-b744-4267-8f07-9c3bea76c810"}' 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,18 +670,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:59 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -691,10 +691,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7720b4bc-8a4e-438c-90a6-788ca36e0c23 + - a5c49464-0a5c-498b-9801-388de120a4ee status: 200 OK code: 200 - duration: 66.011996ms + duration: 334.319997ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -719,18 +719,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:59 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -740,10 +740,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 63c0b56c-1a70-462b-8ee5-4057c76324c4 + - 7d046ec0-853c-4637-8d03-a807597b6e68 status: 200 OK code: 200 - duration: 49.427945ms + duration: 59.713555ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -779,7 +779,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:59 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -789,10 +789,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a06e928-03a5-48db-a2ba-31a6fa51790f + - 335efd68-41c5-4365-930e-1f5e21c56a3e status: 200 OK code: 200 - duration: 125.494456ms + duration: 139.023846ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -817,18 +817,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -838,10 +838,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 97b3a0e2-5399-4301-816b-f0ba04b4b3a2 + - 805e0c5a-29e0-4da5-9a8a-728988faabe8 status: 200 OK code: 200 - duration: 57.035052ms + duration: 47.6609ms - 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/827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -868,7 +868,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -877,7 +877,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -887,10 +887,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eb2a93c2-2704-4a82-b79a-b973b723b312 + - 3f47075e-dc8d-47b1-8d1d-603729fc4a4c status: 200 OK code: 200 - duration: 40.430492ms + duration: 56.367333ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -915,18 +915,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -936,10 +936,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 64a69e8f-0491-4de0-b8cf-82701d669709 + - 057684db-0434-4d5b-88d7-894ecaf9d2d4 status: 200 OK code: 200 - duration: 39.385519ms + duration: 45.743978ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -975,7 +975,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:00 GMT + - Mon, 12 Aug 2024 08:34:47 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -985,10 +985,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bb5decd6-c213-4a0a-9844-ec8343b7b2c9 + - f6b5aa6c-2cc6-45e2-8b1e-0d3428383d41 status: 200 OK code: 200 - duration: 79.195034ms + duration: 110.881019ms - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -1024,7 +1024,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:01 GMT + - Mon, 12 Aug 2024 08:34:48 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1034,10 +1034,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d292b483-6550-46a1-a73e-af59c3a91f14 + - dbe56797-0adc-4342-94d7-5537a891ea95 status: 200 OK code: 200 - duration: 110.75728ms + duration: 102.562144ms - 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":"827a3048-b744-4267-8f07-9c3bea76c810"}' 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,18 +1064,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 150 + content_length: 187 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://6b175b8e-964f-4f7a-9814-113552730eb3.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:01 GMT + - Mon, 12 Aug 2024 08:34:48 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1085,10 +1085,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b030ce7e-8efc-44f9-8b23-91de0004117a + - 59713839-7a5d-469c-b38e-88dfa0d7063d status: 200 OK code: 200 - duration: 55.039145ms + duration: 267.815581ms - 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":"827a3048-b744-4267-8f07-9c3bea76c810"}' 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: @@ -1126,7 +1126,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:01 GMT + - Mon, 12 Aug 2024 08:34:48 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1136,10 +1136,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - de076723-caf7-4d33-852c-62cbb534adcc + - a9685aef-850e-4f2b-af9f-076e68e7efaf status: 200 OK code: 200 - duration: 119.268293ms + duration: 306.554479ms - 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/827a3048-b744-4267-8f07-9c3bea76c810 method: DELETE response: proto: HTTP/2.0 @@ -1173,7 +1173,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:03 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1183,10 +1183,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7b125eab-edb1-4108-ada2-f30921db2218 + - 82d22db9-afd3-413c-a43d-0404c0c8af86 status: 204 No Content code: 204 - duration: 1.207594709s + duration: 1.205136343s - 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=827a3048-b744-4267-8f07-9c3bea76c810 method: GET response: proto: HTTP/2.0 @@ -1222,7 +1222,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:43:03 GMT + - Mon, 12 Aug 2024 08:34:50 GMT Server: - Scaleway API Gateway (fr-par-1;edge02) Strict-Transport-Security: @@ -1232,7 +1232,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bae734bd-6eaf-45ad-99f9-5a59997eba10 + - cd9a8ad2-7287-4c62-be2c-4082bdd18503 status: 403 Forbidden code: 403 - duration: 43.551462ms + 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 1a3ec7e49..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 @@ -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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Mon, 12 Aug 2024 08:34:43 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 602d438b-ba70-4b00-9395-5ab71283fbe9 + - 8ce312da-bc5b-4f66-ad74-8804ff3a3e5a status: 200 OK code: 200 - duration: 240.062767ms + duration: 235.151653ms - 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/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Mon, 12 Aug 2024 08:34:43 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 63dd17b2-732e-4a35-8eb9-7deb4c1e9191 + - 0e033868-e2f2-45da-aa32-f4233c394708 status: 200 OK code: 200 - duration: 43.54418ms + duration: 62.934847ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' 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: 187 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Mon, 12 Aug 2024 08:34:43 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 39bf3465-eb77-494b-85bb-77c6ca6f7738 + - e8f9ddd1-8b90-4f66-a51d-63a23ec78d96 status: 200 OK code: 200 - duration: 107.158774ms + duration: 80.628688ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' 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: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:34 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 060e8564-c7c2-484f-b3e6-d1dfae93e857 + - d1c12da9-fb1e-4b52-8e20-71ab911cfffc status: 200 OK code: 200 - duration: 65.589698ms + duration: 211.058411ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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: @@ -240,9 +240,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - fb136d4f-9c90-48d0-a28b-c7bd38c2faed + - 37aaa33b-db2d-4dda-a3ec-1f17bea2ec8f status: 200 OK code: 200 - duration: 523.909412ms + duration: 365.547858ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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: @@ -291,9 +291,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - f6611e43-2c07-4cad-a720-3d266b25ad25 + - 3b39a0e2-190c-48e9-9ae4-c3f9c9aaf37d status: 200 OK code: 200 - duration: 398.09631ms + duration: 269.821963ms - 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=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: 149 + content_length: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 22244f0c-8b6f-4d9a-85bc-d25ccc238b31 + - 8d66090d-9be7-4423-9434-c767aabb23af status: 200 OK code: 200 - duration: 48.392523ms + duration: 51.565374ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -389,9 +389,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Mon, 12 Aug 2024 08:34:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 276edd8a-3166-4076-944a-8c066347ae7a + - 71779d36-db5d-44bd-8ff4-e87c4648a061 status: 200 OK code: 200 - duration: 77.52606ms + duration: 90.674437ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -438,9 +438,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:35 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - a4b2e109-126f-454c-ac9b-1afe7cab8517 + - d0808fbe-98cc-4e95-953d-edadaa5472ff status: 200 OK code: 200 - duration: 104.774926ms + duration: 106.981287ms - 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/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -478,7 +478,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -487,9 +487,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 0eef9243-8b79-454d-aa28-29670ff169d5 + - 4fac2eee-44ac-49fc-847b-c891d00c0ef7 status: 200 OK code: 200 - duration: 46.051182ms + duration: 69.679884ms - 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=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: 149 + content_length: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 242b41cd-2e3d-40f7-b788-f2b37f176b92 + - 2e818b78-794e-46f2-a8e2-dda92ce4b51a status: 200 OK code: 200 - duration: 47.218657ms + duration: 43.758027ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -585,9 +585,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:36 GMT + - Mon, 12 Aug 2024 08:34:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 2f234c9d-97c2-4a09-a23c-eaa1b76e4f1f + - 2b52c1b1-acc3-4b11-b330-9503430b9901 status: 200 OK code: 200 - duration: 103.932675ms + duration: 105.341386ms - 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/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -625,7 +625,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -634,9 +634,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 7e5080ca-9add-4e41-b0ba-c823f677e18b + - fb2900f1-3c46-4662-bbaf-541f60fcefdb status: 200 OK code: 200 - duration: 52.650654ms + duration: 58.114029ms - 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=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: 149 + content_length: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 3ae7e02a-bb65-4e36-bfd2-f568b9021375 + - 96c4f0b2-dadb-4777-b7f0-b20fcbfa0c3b status: 200 OK code: 200 - duration: 46.010952ms + duration: 63.499266ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -732,9 +732,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:37 GMT + - Mon, 12 Aug 2024 08:34:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 890b965e-e8a6-44d6-9b04-0bc4f2cd708d + - 607c649f-2f85-4780-8f6c-3132d9ca190a status: 200 OK code: 200 - duration: 69.951681ms + duration: 84.925219ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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 + - Mon, 12 Aug 2024 08:34:53 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 9e72769f-e3b4-4242-8179-f90f0d0801a0 + - 539f7e09-15ca-480f-a30e-07370c723d13 status: 204 No Content code: 204 - duration: 242.698397ms + duration: 7.197595565s - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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: @@ -832,9 +832,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:41 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 270c85d3-adce-4cc7-a584-3ee96be85f1f + - cc35f49c-3033-4095-a8a4-45f50e1df053 status: 200 OK code: 200 - duration: 2.799652083s + duration: 236.759136ms - 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=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: 149 + content_length: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:41 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 0a4701b9-a711-4261-8b2b-e42498797d0b + - 028a928c-384e-4b79-b626-b4ca0a0876b2 status: 200 OK code: 200 - duration: 49.657002ms + duration: 46.536523ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -930,9 +930,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 21190ae6-dabd-4474-8d8f-a4ca643a52fc + - c1e7f28d-d11b-42aa-8ef1-441be788356c status: 200 OK code: 200 - duration: 810.059377ms + duration: 95.896787ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -979,9 +979,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 8835a0c5-9378-4417-9ac8-4713f54a82d8 + - 8f0ff037-2cdb-426f-9763-77f5aab30e10 status: 200 OK code: 200 - duration: 107.427205ms + duration: 93.980192ms - 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/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1019,7 +1019,7 @@ interactions: trailer: {} content_length: 235 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-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: - "235" @@ -1028,9 +1028,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:42 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 6c6ea3ce-efe0-4e29-8edd-90372afeeac0 + - 674bee66-a14f-43ac-aca8-21c57308ccf2 status: 200 OK code: 200 - duration: 35.06513ms + duration: 75.990705ms - 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=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: 149 + content_length: 186 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":true,"region":"fr-par"}' headers: Content-Length: - - "149" + - "186" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:43 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 2e5069d2-17d1-4d19-a642-adf11432f88a + - 7097c5d4-db99-4699-9394-c5aaab28be20 status: 200 OK code: 200 - duration: 44.501327ms + duration: 50.951292ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1126,9 +1126,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:43 GMT + - Mon, 12 Aug 2024 08:34:54 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - d8bf1d64-f60d-45e3-87cb-2e4204c89ad8 + - 953e45a7-64e7-40d0-a12f-7077883bb1dd status: 200 OK code: 200 - duration: 118.175699ms + duration: 87.696633ms - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff method: GET response: proto: HTTP/2.0 @@ -1175,9 +1175,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Mon, 12 Aug 2024 08:34:55 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 7708881d-a54d-4413-be68-549d0e17b020 + - 4640f94a-1718-42da-a936-0e58c3471ad3 status: 200 OK code: 200 - duration: 101.867184ms + duration: 90.666487ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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 + - Mon, 12 Aug 2024 08:35:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 479464cc-1458-4620-861c-f6b10960320e + - e1d41d5b-abc7-47f1-b17b-ef9a98bf6376 status: 204 No Content code: 204 - duration: 336.7361ms + duration: 7.036281361s - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff","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 + - Mon, 12 Aug 2024 08:35:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 306981df-8b22-49ec-86a8-345db7200467 + - 4701411a-c750-4952-8f30-581be398a96d status: 204 No Content code: 204 - duration: 239.37662ms + duration: 264.734837ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' 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: 187 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://dd5b3362-f901-403e-99d7-23a31d27a137.alertmanager.cockpit.fr-par.scw.cloud","managed_alerts_enabled":false,"region":"fr-par"}' headers: Content-Length: - - "150" + - "187" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Mon, 12 Aug 2024 08:35:02 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - eb3abc0a-e613-4a99-8d19-f40898fdad27 + - 7fe76cdf-f12d-43e2-8d2c-e7e027161834 status: 200 OK code: 200 - duration: 74.586188ms + duration: 192.469707ms - 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":"571968a2-2d43-41cb-9ed4-a5b8a3cb4eff"}' 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: @@ -1375,9 +1375,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 May 2024 12:42:44 GMT + - Mon, 12 Aug 2024 08:35:03 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 627d0821-4561-4f42-98c6-45dd7e176066 + - 26c34969-b05b-42ff-86ff-0b6df3fc95f6 status: 200 OK code: 200 - duration: 167.975958ms + duration: 265.73229ms - 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/571968a2-2d43-41cb-9ed4-a5b8a3cb4eff 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 + - Mon, 12 Aug 2024 08:35:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 7718e3e5-2cff-44ac-8e9b-798b9a69fd55 + - f334f672-f786-4237-b194-7cd3d81511b5 status: 204 No Content code: 204 - duration: 1.137323198s + duration: 1.204726923s - 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=571968a2-2d43-41cb-9ed4-a5b8a3cb4eff 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 + - Mon, 12 Aug 2024 08:35:04 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 7f65e41d-9482-448d-982e-0ba52e1a09c6 + - ce43ee77-c5e9-4257-aa6a-32c567e5ccae status: 403 Forbidden code: 403 - duration: 45.353813ms + duration: 53.54403ms diff --git a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml index 80e739105..393c51f60 100644 --- a/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml +++ b/internal/services/cockpit/testdata/cockpit-basic.cassette.yaml @@ -1,843 +1,1477 @@ --- 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: 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:40 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: + - 92ffacc4-420f-4c6c-93f1-34d324267be9 + status: 200 OK + code: 200 + duration: 215.230625ms + - 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/22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-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:40 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: + - bf5cb574-504f-4579-9ee7-833b1aa819d9 + status: 200 OK + code: 200 + duration: 58.079131ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:40 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: + - e9593681-633b-427b-abdf-b3a9da2e0b09 + status: 200 OK + code: 200 + duration: 24.21487ms + - 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":"22d6f096-edef-45d7-b5fa-764c169cfda5","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: 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:40 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: + - a79befad-0338-4edf-bab9-dae7e8d245c9 + status: 200 OK + code: 200 + duration: 79.072436ms + - 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=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: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:40 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: + - a60ae99d-e85b-47ee-9342-067e17643a45 + status: 200 OK + code: 200 + duration: 52.536041ms + - 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=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:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8f5e5c20-cf51-4fee-b444-e955bc98c592 + status: 200 OK + code: 200 + duration: 255.22082ms + - 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=22d6f096-edef-45d7-b5fa-764c169cfda5 + 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: + - Mon, 12 Aug 2024 08:34:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4437ac4d-b001-446d-8b5e-958a58654cea + status: 200 OK + code: 200 + duration: 40.891382ms + - 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/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:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 408e8a11-3e88-4d0d-bed5-1e56e9bf28be + status: 200 OK + code: 200 + duration: 42.181422ms + - 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/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-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:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1b911dab-952d-4c70-a783-13df6740b6a7 + status: 200 OK + code: 200 + duration: 58.657145ms + - 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/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: + - "236" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e1458627-57dd-4396-9eb6-64ae368cf6fc + status: 200 OK + code: 200 + duration: 50.969319ms + - 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?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 + 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: + - 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: + - 470ef8e0-5e46-4ed6-97fd-49af85cda754 + status: 200 OK + code: 200 + duration: 43.501375ms + - 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/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: + - d7fa559e-3224-4603-9c0c-c212b21a27ce + status: 200 OK + code: 200 + duration: 53.797588ms + - 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/account/v3/projects/22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-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: + - "236" + 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: + - 1ec18135-09e2-4d70-99bd-2be72ad2f0f3 + status: 200 OK + code: 200 + duration: 45.022976ms + - 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=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: + - df13f2c0-dc47-49fa-8870-02036268a713 + status: 200 OK + code: 200 + duration: 228.174035ms + - 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=22d6f096-edef-45d7-b5fa-764c169cfda5 + 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: + - 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: + - d283f147-0938-40f4-bc02-404e3361c62a + status: 200 OK + code: 200 + 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 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1840ed2d-e1b4-46c6-afc3-fd39beab478c + status: 200 OK + code: 200 + duration: 21.984763ms + - id: 19 + 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":"22d6f096-edef-45d7-b5fa-764c169cfda5","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: 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: + - "243" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4cb4bdae-9245-47e1-b485-8ebe05dc2228 + status: 200 OK + code: 200 + duration: 62.255677ms + - 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=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: + - "243" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ea9addfe-3f95-4d1d-b08c-5a56be6f9a07 + status: 200 OK + code: 200 + duration: 52.927428ms + - 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=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:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6c97f202-6f59-4bab-bd77-efe165ebf83c + status: 200 OK + code: 200 + duration: 204.822656ms + - 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=22d6f096-edef-45d7-b5fa-764c169cfda5 + 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: + - Mon, 12 Aug 2024 08:34:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f8d4f382-ab50-4c22-8632-9737fa6d08a9 + status: 200 OK + code: 200 + duration: 47.33074ms + - 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/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:43 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9287ae41-4991-4e3d-8625-5c3d771a779e + status: 200 OK + code: 200 + duration: 50.866691ms + - 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/22d6f096-edef-45d7-b5fa-764c169cfda5 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 250 + uncompressed: false + body: '{"created_at":"2024-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: + - "243" + 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: + - e32ff12c-8448-4592-ba81-2fafbe19d884 + status: 200 OK + code: 200 + duration: 52.845771ms + - 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/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: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: + - 98f08c3e-84bb-4219-96f9-43f27bf8a981 + status: 200 OK + code: 200 + duration: 235.919248ms + - 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/grafana?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: 18 + uncompressed: false + body: '{"grafana_url":""}' + headers: + Content-Length: + - "18" + 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: + - 85d3e8d4-d6ae-41a4-9173-75f201a2b940 + status: 200 OK + code: 200 + 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 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + 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/22d6f096-edef-45d7-b5fa-764c169cfda5 + 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:46 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a2765e6d-907a-4a5e-94f3-ca75db684ea9 + status: 204 No Content + code: 204 + duration: 1.182695524s 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..5950db6b8 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: @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 248 + content_length: 253 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-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, 18 Apr 2024 13:52:54 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 2e659d71-fed0-493a-97d1-8e8c46cab5f3 + - 23c824c8-61fc-40a7-a257-8d28aa3ab2bf status: 200 OK code: 200 - duration: 300.06273ms + duration: 262.837593ms - 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/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-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-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, 18 Apr 2024 13:52:54 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 47d1a181-a8db-4f07-95aa-03765591158e + - 45bef3ad-74f8-45fb-86b3-f246f8fbbc59 status: 200 OK code: 200 - duration: 47.109329ms + duration: 47.606188ms - 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":"13533699-1e63-4034-a885-2f02cda9107e","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: @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 377 + content_length: 386 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-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, 18 Apr 2024 13:52:54 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 370df396-86c4-49a1-87c4-b399a15f08af + - f76386ff-a5bf-485b-9add-110f876ee095 status: 200 OK code: 200 - duration: 150.493787ms + duration: 156.55071ms - 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/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-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-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, 18 Apr 2024 13:52:54 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 4254b38d-a3db-457f-aea4-62ca07658f3f + - 0d238185-0e93-4ca5-925c-855e70d81805 status: 200 OK code: 200 - duration: 57.078563ms + duration: 44.069604ms - 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/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-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-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, 18 Apr 2024 13:52:54 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - d975cc90-a7fa-49ad-9fc6-f8892ccd57f3 + - 71279cdf-1a4d-4af6-87a9-882c7c86bf58 status: 200 OK code: 200 - duration: 44.583277ms + duration: 52.543197ms - 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/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-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-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, 18 Apr 2024 13:52:55 GMT + - Mon, 12 Aug 2024 08:34:38 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 35fa8ce8-0907-4613-a46f-32fff96bfbf2 + - c2ade5f9-2d41-4147-8ff1-921dcda02d76 status: 200 OK code: 200 - duration: 52.790263ms + duration: 48.661479ms - 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/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-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-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, 18 Apr 2024 13:52:55 GMT + - Mon, 12 Aug 2024 08:34:38 GMT Server: - - Scaleway API Gateway (fr-par-1;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: - - 62bfef63-06cc-4b5b-8728-6080923da5c8 + - 8a326942-9e4e-4d27-88e5-d43ea70b85b1 status: 200 OK code: 200 - duration: 50.948313ms + duration: 47.576921ms - 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/c796b392-5641-4695-962e-c2700e868d55 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 + - Mon, 12 Aug 2024 08:34:39 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 8b1df135-1044-48f8-a8c4-cb02311d5595 + - b39ee7e2-2021-4f92-8f71-6ee04fae2538 status: 204 No Content code: 204 - duration: 413.1223ms + duration: 756.875559ms - 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/13533699-1e63-4034-a885-2f02cda9107e 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 + - Mon, 12 Aug 2024 08:34:40 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 3f44c8b7-3b7c-48cb-ac09-d3ac38ac24d6 + - cf78598f-0af6-430e-9900-67b12c7346f4 status: 204 No Content code: 204 - duration: 1.426102659s + duration: 1.231950375s - 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/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":"60f3fe7b-c6e7-4ff7-a352-7db0095c2821","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, 18 Apr 2024 13:52:57 GMT + - Mon, 12 Aug 2024 08:34:40 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - 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: - - 02374bb4-476a-4b03-99b5-b5c9c66c89cb + - fa8f27f0-7a5d-4cbe-b044-b86c672b33f7 status: 404 Not Found code: 404 - duration: 28.129175ms + 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 new file mode 100644 index 000000000..806a5ad2b --- /dev/null +++ b/internal/services/cockpit/testdata/cockpit-with-source-endpoints.cassette.yaml @@ -0,0 +1,1924 @@ +--- +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: 252 + uncompressed: false + 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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 9ddbc141-3e89-4ba0-bb83-8e9d871419b8 + status: 200 OK + code: 200 + duration: 279.602663ms + - 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/fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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-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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - b49b136b-0275-4183-892d-08caa024aa43 + status: 200 OK + code: 200 + duration: 57.565718ms + - 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":"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/alert-manager/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 187 + uncompressed: false + 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: + - "187" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - bc4d4820-9bf5-4e96-b6a0-a48d49845710 + status: 200 OK + code: 200 + duration: 95.920991ms + - 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":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","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: 396 + uncompressed: false + 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: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 5aeac095-8b66-431f-a75f-e83892bae51d + status: 200 OK + code: 200 + duration: 166.284586ms + - 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":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","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: 399 + uncompressed: false + 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: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 81ceb7d8-f552-4dad-af42-cdaa45334340 + status: 200 OK + code: 200 + duration: 195.722084ms + - 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":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","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: 390 + uncompressed: false + 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: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 188a27c7-c7c7-4987-b8bc-6d16b37ceb47 + status: 200 OK + code: 200 + duration: 218.739602ms + - 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/1b9e29ae-fcd4-4d37-add5-cd3e7044e767 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 399 + uncompressed: false + 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: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 79cf954a-5bad-4aaf-ae31-69241efc2dd7 + status: 200 OK + code: 200 + duration: 48.267926ms + - 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/3af10c90-79cf-4b0c-ba7a-2f513f75f93f + 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-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: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - effaf801-c2b4-472a-9a8f-faa1444bab93 + status: 200 OK + code: 200 + duration: 51.893657ms + - 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/81dddda3-a932-415e-8081-7a7b53411e99 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 396 + uncompressed: false + 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: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:58:44 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: + - 44757f00-cb37-46d5-85bc-b1e994fec9df + status: 200 OK + code: 200 + duration: 122.784577ms + - 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":"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/alert-manager/managed-alerts/enable + method: POST + 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://2b60d723-a1b0-4c4d-919b-564b177fbb21.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:58:44 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: + - fe90b21e-e4ee-42fe-8261-aa541179dfd9 + status: 200 OK + code: 200 + duration: 216.465199ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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://2b60d723-a1b0-4c4d-919b-564b177fbb21.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:58:44 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: + - 1017f423-bb7a-4e9e-8f9b-40a9c2e2415a + status: 200 OK + code: 200 + duration: 71.156581ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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:58:44 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: + - 39aa6179-779e-40d1-8c0d-6644182ebfa1 + status: 200 OK + code: 200 + duration: 124.160019ms + - 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":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","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: 80 + uncompressed: false + body: '{"id":2,"login":"cockpit_test","password":"iPWpyMgWBLcADv6R","role":"editor"}' + headers: + Content-Length: + - "80" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:19 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: + - f637ff39-e15f-43fe-9076-3a7ae029ab0f + status: 200 OK + code: 200 + duration: 35.620545529s + - 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/grafana/users?order_by=login_asc&page=1&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: 101 + uncompressed: false + body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' + headers: + Content-Length: + - "101" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:19 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: + - 6b6f848d-69e1-4a41-9bb8-f8d0f490eb0c + status: 200 OK + code: 200 + duration: 149.212592ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:19 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: + - e82b9f70-9b7c-4484-81d3-dcfc64207d7e + status: 200 OK + code: 200 + duration: 26.551756ms + - id: 15 + 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":"fb2a3d12-1014-4e94-9f07-c36dff3711ad","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: 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: + - "243" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - dde722c7-d408-452a-9751-2f00bb008924 + status: 200 OK + code: 200 + duration: 103.681302ms + - 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/current-plan?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: 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: + - "243" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - 2d03d96c-1f25-4e54-a65e-ccec5c9f4b9f + status: 200 OK + code: 200 + duration: 52.004847ms + - 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/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 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1223 + uncompressed: false + 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: + - "1223" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - e986072b-a826-4b94-8bf0-d2d060276e29 + status: 200 OK + code: 200 + duration: 252.994706ms + - 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/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: 93 + uncompressed: false + 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: + - Mon, 12 Aug 2024 08:59:20 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: + - 11b5a0cc-93c1-4943-83c1-43e3f1897c5c + status: 200 OK + code: 200 + duration: 49.118746ms + - 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/regions/fr-par/alert-manager?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: 186 + uncompressed: false + 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: + - "186" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - 42ef096e-380e-49b8-ae5a-2ead963d4c54 + status: 200 OK + code: 200 + duration: 63.57119ms + - 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/fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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-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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - aca8be24-e54e-4ff8-a7b8-be1d48716595 + status: 200 OK + code: 200 + duration: 61.588616ms + - 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/81dddda3-a932-415e-8081-7a7b53411e99 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 395 + uncompressed: false + 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: + - "395" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - 5e06852d-e5aa-45dc-8d7c-055a337f97a9 + status: 200 OK + code: 200 + duration: 51.722767ms + - 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/alert-manager?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: 186 + uncompressed: false + 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: + - "186" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - 6e3bcfcf-424f-4372-a2c5-ead12ed037ca + status: 200 OK + code: 200 + duration: 55.532052ms + - 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/1b9e29ae-fcd4-4d37-add5-cd3e7044e767 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 398 + uncompressed: false + 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: + - "398" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - 85953323-1470-4b59-8d28-749190d007fb + status: 200 OK + code: 200 + duration: 55.673392ms + - 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/3af10c90-79cf-4b0c-ba7a-2f513f75f93f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 389 + uncompressed: false + body: '{"created_at":"2024-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: + - "389" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:20 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: + - e8030b1b-fc3b-49c7-bbed-b591b51d81ff + status: 200 OK + code: 200 + duration: 57.678161ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 101 + uncompressed: false + body: '{"grafana_users":[{"id":2,"login":"cockpit_test","password":"","role":"editor"}],"total_count":1}' + headers: + Content-Length: + - "101" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:21 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: + - f4db365b-3202-4fe6-8c4b-da873a973429 + status: 200 OK + code: 200 + duration: 128.805559ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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:59:21 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: + - 54683a31-9291-4083-8281-b22a768522e0 + status: 200 OK + code: 200 + duration: 123.528524ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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: + - "243" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:21 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: + - 6b61e929-15a2-42a2-bdb6-141b9b15c715 + status: 200 OK + code: 200 + duration: 44.460647ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1222 + uncompressed: false + 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: + - "1222" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:21 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: + - 1138ddec-cc4b-45de-a183-57df482c08b4 + status: 200 OK + code: 200 + duration: 229.385061ms + - 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=fb2a3d12-1014-4e94-9f07-c36dff3711ad + 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://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: + - Mon, 12 Aug 2024 08:59:21 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: + - fa418a9e-a235-4026-bbcb-beb8a5acc8cf + status: 200 OK + code: 200 + duration: 51.660129ms + - 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/alert-manager?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: 186 + uncompressed: false + 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: + - "186" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:59:21 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: + - 96073529-ad51-4a70-82e4-f391e3c1a9a1 + status: 200 OK + code: 200 + duration: 46.609429ms + - 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/data-sources/81dddda3-a932-415e-8081-7a7b53411e99 + 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:21 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: + - cafc8ad8-1726-48bc-a8ec-ad731e5e5228 + status: 204 No Content + code: 204 + duration: 55.543731ms + - 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/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: 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: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: + - eda4ba22-ed86-4759-aafd-aa63215645b8 + status: 200 OK + code: 200 + duration: 128.453559ms + - 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/3af10c90-79cf-4b0c-ba7a-2f513f75f93f + 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: + - 55d0a696-d5f7-49bc-b992-c749d012d1a9 + status: 204 No Content + code: 204 + duration: 154.200933ms + - 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":"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/alert-manager/managed-alerts/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 187 + uncompressed: false + 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: + - "187" + 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: + - 93cf6c55-dff7-46d4-ae47-53e831fee81c + status: 200 OK + code: 200 + 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 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + 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/alert-manager/disable + method: POST + 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: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: + - 1fac090d-7643-4550-acb9-b63be24c27c7 + status: 200 OK + code: 200 + 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 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + 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/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: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: + - 0a707788-4fc5-4bd5-b424-ab5f7afccca2 + status: 204 No Content + code: 204 + 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 084e9ec64..8999e9f5c 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,2512 @@ --- 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: 252 + uncompressed: false + 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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:32 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: + - b8bf15b8-d4d3-4f41-9ab1-314eead36d19 + status: 200 OK + code: 200 + duration: 285.703715ms + - 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/8d2d112a-a7eb-46ed-8998-b431d91ad4ee + 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-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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:32 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: + - 876c9b88-1d76-4857-8fa5-a37de5682397 + status: 200 OK + code: 200 + duration: 62.356889ms + - 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":"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/enable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 187 + 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":false,"region":"fr-par"}' + headers: + Content-Length: + - "187" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - b5d165e0-9db2-4a31-9920-d8683736dc41 + status: 200 OK + code: 200 + duration: 98.77506ms + - 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":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","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: 396 + uncompressed: false + 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: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 51003dd8-9ddf-4cf4-967c-6f73cb02ed6e + status: 200 OK + code: 200 + duration: 136.472684ms + - 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/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: 396 + uncompressed: false + 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: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 24c9bda3-c83d-4543-89e1-23facca70b55 + status: 200 OK + code: 200 + duration: 53.040942ms + - id: 5 + 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":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","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: 399 + uncompressed: false + 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: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - c19e175d-6d1a-4d2e-8538-41d3fa18c902 + status: 200 OK + code: 200 + duration: 200.887036ms + - 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/2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 399 + uncompressed: false + 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: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 5a288878-c026-4e5b-b9d8-2a1f48bf7f5a + status: 200 OK + code: 200 + duration: 49.923015ms + - id: 7 + 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":"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 + 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-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: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - a7ca5cb4-2eb1-4408-859a-9045931e4000 + status: 200 OK + code: 200 + duration: 270.352677ms + - 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/4a31765d-f636-44b9-b154-286629a1660b + 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-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: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - caa0af01-c33b-4ce5-8daf-3f7a9b31944c + status: 200 OK + code: 200 + duration: 43.700036ms + - 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":"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/managed-alerts/enable + method: POST + 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:33 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: + - 31cdcfa1-6ee0-46bf-8ac0-5e9f761986cb + status: 200 OK + code: 200 + duration: 265.627485ms + - 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=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:33 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: + - 1bb3facb-2355-4136-ad54-9721618d790c + status: 200 OK + code: 200 + duration: 45.326613ms + - 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=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:33 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: + - 5a980df1-1346-42fd-868e-fa802f0d57e0 + status: 200 OK + code: 200 + duration: 98.552533ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 740216a8-758c-4305-b615-29c880c6b7ee + status: 200 OK + code: 200 + duration: 23.099233ms + - 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":"8d2d112a-a7eb-46ed-8998-b431d91ad4ee","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: 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:33 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: + - d54a2f40-cba6-42d0-b283-b1003047c076 + status: 200 OK + code: 200 + duration: 82.964889ms + - 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=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:33 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: + - dcc4fb91-24b9-41e2-9a34-d066a1a41006 + status: 200 OK + code: 200 + duration: 56.752662ms + - 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=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:33 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: + - ce0c595b-08c6-408a-8c54-ed9a4d655fbb + status: 200 OK + code: 200 + duration: 254.941767ms + - 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=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: + - Mon, 12 Aug 2024 08:34:33 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: + - 16663f27-1434-4255-9dfb-91fbb0b42484 + status: 200 OK + code: 200 + duration: 58.773391ms + - 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=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:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 25fa3e43-8fc1-43ac-bcc5-f8571ad7e2fb + status: 200 OK + code: 200 + duration: 52.305015ms + - 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/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:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 290bdbad-98c0-4474-a6c2-2eb2f6569cb7 + status: 200 OK + code: 200 + duration: 47.466729ms + - 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/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:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6f178f12-f186-42ae-9843-b5e6dbee1c83 + status: 200 OK + code: 200 + duration: 242.807609ms + - 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/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: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ce6f7be8-31d0-4ab5-b67b-963a784823e3 + status: 200 OK + code: 200 + duration: 50.547719ms + - 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=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:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ad8889e5-325c-4fcd-ab20-45ee92db01ef + status: 200 OK + code: 200 + duration: 53.216675ms + - 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/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:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 28c38107-9b98-4b17-b44c-7caec9367b4c + status: 200 OK + code: 200 + duration: 45.781949ms + - 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?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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5a714335-66c2-4d00-953b-1bc86671e142 + status: 200 OK + code: 200 + duration: 229.859936ms + - 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/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: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ee8f9bc0-b8c3-417c-a2d4-9326505643af + status: 200 OK + code: 200 + duration: 47.322287ms + - 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/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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 816eddb2-2586-4977-af47-8bc955f5d8a5 + status: 200 OK + code: 200 + duration: 69.890931ms + - 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/account/v3/projects/8d2d112a-a7eb-46ed-8998-b431d91ad4ee + 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-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: + - "252" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - efaaca7d-3f22-4e12-80e8-ddf120678d95 + status: 200 OK + code: 200 + duration: 72.20473ms + - 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/08d85fe9-2c48-45c8-a100-e41396d2d969 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 396 + uncompressed: false + 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: + - "396" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b1d2d098-e489-44ad-92fc-529997141bd3 + status: 200 OK + code: 200 + duration: 63.537148ms + - 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/4a31765d-f636-44b9-b154-286629a1660b + 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-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: + - "390" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 59f1ec3d-a225-4ed3-8610-44bd67d1ebc9 + status: 200 OK + code: 200 + duration: 65.712237ms + - 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/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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9ca2baba-7c5c-47f3-830e-3505b912ebbc + status: 200 OK + code: 200 + duration: 71.528769ms + - 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/2ccd4a3b-f0c8-43ff-b127-1ddf7cb0031a + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 399 + uncompressed: false + 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: + - "399" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5e168201-7b58-4168-8c38-b88884744c27 + status: 200 OK + code: 200 + duration: 76.234341ms + - 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=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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3b309f5e-6f6f-4ae0-a43a-762c13bb4d97 + status: 200 OK + code: 200 + duration: 144.610021ms + - 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=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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cae6e492-7ec0-4f9d-9813-ae89e8707d8c + status: 200 OK + code: 200 + duration: 48.351862ms + - 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=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:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e0018b18-f06a-440a-9599-954ecd13c5a4 + status: 200 OK + code: 200 + duration: 212.428265ms + - 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=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: + - Mon, 12 Aug 2024 08:34:35 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0b9a4201-cf81-4ded-9a30-df0436179541 + status: 200 OK + code: 200 + duration: 45.254654ms + - 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/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: + - 8d228c5e-c7e9-40ee-9646-2d516a70d777 + status: 200 OK + code: 200 + duration: 45.361052ms + - 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/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: + - c42c24d7-d68b-4fc7-a1cc-3a04d5be20f9 + status: 200 OK + code: 200 + duration: 47.176638ms + - 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/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 + 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: + - 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: + - dc3b363f-3d99-4d21-9271-22191af5eee0 + status: 200 OK + code: 200 + duration: 58.464628ms + - 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?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: + - 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: + - dde1b139-0479-4033-960c-cfb5072d4689 + status: 200 OK + code: 200 + duration: 50.724682ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + 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: + - 2c2d405d-e3a8-438c-9ba9-431051f43492 + status: 200 OK + code: 200 + duration: 50.815683ms + - 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/cockpit/v1/regions/fr-par/data-sources/08d85fe9-2c48-45c8-a100-e41396d2d969 + 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: + - d45514f8-11f2-4a36-959b-802a4a778ff5 + status: 204 No Content + code: 204 + duration: 54.77081ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/cockpit/v1/regions/fr-par/data-sources/4a31765d-f636-44b9-b154-286629a1660b + 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: + - 40c354da-fa76-4093-a209-8127dd2d57c5 + status: 204 No Content + code: 204 + 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 + proto_minor: 1 + content_length: 53 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + 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/managed-alerts/disable + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 187 + 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":false,"region":"fr-par"}' + headers: + Content-Length: + - "187" + 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: + - 24ec2059-034a-420c-ae89-8bc2ee269431 + status: 200 OK + code: 200 + duration: 194.902939ms + - id: 49 + 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":"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/disable + method: POST + 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:38 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f2474681-682c-4aae-bf71-4f97a29d543a + status: 200 OK + code: 200 + duration: 290.910046ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.22.4; darwin; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/8d2d112a-a7eb-46ed-8998-b431d91ad4ee + 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:39 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c4f3c51a-0de8-4ab8-bd3f-baf5cb6601eb + status: 204 No Content + code: 204 + 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 445199902..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 @@ -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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - ccc026e5-dc7f-4eeb-8646-52221abd0fe2 + status: 200 OK + code: 200 + duration: 32.414848ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 461713ad-2f93-4461-a7ee-82aeff7fd7e1 + status: 200 OK + code: 200 + duration: 32.481424ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - a9865717-40cc-47df-8b33-9676760690b3 + status: 200 OK + code: 200 + duration: 115.879748ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 7412a835-15cf-4341-a987-e8cad11c6fb4 + status: 200 OK + code: 200 + duration: 22.866003ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 8da56f76-2fc6-4f2b-a7f1-908524c14a90 + status: 200 OK + code: 200 + duration: 31.490087ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 4c3dd8e9-2a52-40dd-a423-d679e3387106 + status: 200 OK + code: 200 + duration: 96.938839ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 77589575-60bb-40a8-9934-acc0fdec6f7d + status: 200 OK + code: 200 + duration: 27.292526ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 967cbeac-ea5d-4ff4-b74f-cd82b92e6f1e + status: 200 OK + code: 200 + duration: 27.740633ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:33 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: + - 4a1c1481-74c9-4828-b4ed-70fa7240b32e + status: 200 OK + code: 200 + duration: 38.278592ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ee9e23de-0707-4fca-9401-bab9ec2484c9 + status: 200 OK + code: 200 + duration: 19.777814ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5b31f8f9-8480-4097-9073-df3023681991 + status: 200 OK + code: 200 + duration: 28.428346ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8ef860d3-2187-4ed8-af06-f8a35def3408 + status: 200 OK + code: 200 + duration: 29.626735ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 83d20480-69e8-46ad-9b26-add1e34e1396 + status: 200 OK + code: 200 + duration: 19.911391ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ab4f1d34-299a-4d2c-b823-9c4e5474b436 + status: 200 OK + code: 200 + duration: 20.82055ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a8b7faac-bf5b-4bd7-8a97-6d13daa1df4b + status: 200 OK + code: 200 + duration: 20.817643ms + - 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: 754 + uncompressed: false + body: '{"plans":[{"logs_ingestion_price":35,"monthly_price":29,"name":"custom","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":0,"name":"free","retention_logs_interval":"604800s","retention_metrics_interval":"2678400s","retention_traces_interval":"604800s","sample_ingestion_price":15,"traces_ingestion_price":35},{"logs_ingestion_price":35,"monthly_price":29,"name":"premium","retention_logs_interval":"2678400s","retention_metrics_interval":"31536000s","retention_traces_interval":"2678400s","sample_ingestion_price":15,"traces_ingestion_price":35}],"total_count":3}' + headers: + Content-Length: + - "754" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 12 Aug 2024 08:34:34 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a2f397ca-425b-4a93-ac12-e34588cb0196 + status: 200 OK + code: 200 + 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 05483fac6..55b7af59e 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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 255 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-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: - "255" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:12:41 GMT + - Mon, 12 Aug 2024 08:34:31 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: - - fb3478bb-9457-48b3-b753-535d9deab448 + - b6c87a04-d735-4d13-852a-9df660b2297f status: 200 OK code: 200 - duration: 229.142817ms + duration: 282.406181ms - 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/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 255 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-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: - "255" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:12:41 GMT + - Mon, 12 Aug 2024 08:34:31 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: - - 24d41817-068b-439c-9445-4f4a1d18f60a + - 1307ae53-d63c-4bd4-b303-9d11963de0b2 status: 200 OK code: 200 - duration: 35.549234ms + duration: 54.597013ms - 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":"4b541db9-f841-4c0d-a915-cdd989a805cd","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: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 81 uncompressed: false - body: '{"id":2,"login":"testuserbasic","password":"dLsrYcA6LZm_UBlb","role":"editor"}' + body: '{"id":2,"login":"testuserbasic","password":"Yp2z3UG3LR1PFtZD","role":"editor"}' headers: Content-Length: - "81" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:09 GMT + - Mon, 12 Aug 2024 08:34:54 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: - - 5e589c32-2e17-4895-a0bf-0b6f71d32d00 + - a27cf1fd-233d-4b98-a03f-4077d8eebf5d status: 200 OK code: 200 - duration: 27.839255272s + duration: 22.867843138s - 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=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:12 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 566a21fc-66ac-4ec1-9a96-1846f72628b4 + - 5818c463-d1cb-445b-8271-dafcce837d6d status: 200 OK code: 200 - duration: 3.496786038s + duration: 3.381775142s - 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=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:16 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - 6e5d4e2c-d8ee-4d23-9d36-23156fc58c7e + - 4b5d9467-e76a-41ac-8bb5-ca45d71ed8a6 status: 200 OK code: 200 - duration: 3.20014839s + duration: 104.232141ms - 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/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 255 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-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: - "255" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:16 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - b4f07c0e-c1af-46c9-92a2-d20a4f4a1d88 + - 1cd292b4-a34f-48cd-a9de-cbc124a6a01f status: 200 OK code: 200 - duration: 60.768193ms + duration: 66.937631ms - 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=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:19 GMT + - Mon, 12 Aug 2024 08:34:58 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: - - fc6a3478-70ed-4947-b3d8-4227d173c2a5 + - 6fc3012a-d2b5-431c-b717-b2fc9194b6a8 status: 200 OK code: 200 - duration: 3.291108213s + duration: 102.441396ms - 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/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -374,7 +374,7 @@ interactions: trailer: {} content_length: 255 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-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: - "255" @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:20 GMT + - Mon, 12 Aug 2024 08:34:59 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: - - 15ffda66-c1df-44f2-9d0a-922418219988 + - aa9c2d4b-f7a2-45ca-b015-8ecd29543ff1 status: 200 OK code: 200 - duration: 58.41986ms + duration: 65.467938ms - 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=4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:20 GMT + - Mon, 12 Aug 2024 08:35:02 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: - - 283557ea-c47c-4522-a0d4-be091a1da5cd + - 362b743c-3dfb-4b6f-945a-bf40c5299c25 status: 200 OK code: 200 - duration: 156.09072ms + duration: 3.079698348s - 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=4b541db9-f841-4c0d-a915-cdd989a805cd 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 + - Mon, 12 Aug 2024 08:35:02 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: - - 6225b461-a50f-40dd-919c-e24cd0792b0c + - 2fde7feb-162e-4dcb-930c-052999de8df3 status: 204 No Content code: 204 - duration: 209.648708ms + duration: 228.117715ms - 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/4b541db9-f841-4c0d-a915-cdd989a805cd method: GET response: proto: HTTP/2.0 @@ -519,7 +519,7 @@ interactions: trailer: {} content_length: 255 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-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: - "255" @@ -528,9 +528,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 14:13:21 GMT + - Mon, 12 Aug 2024 08:35:03 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: @@ -538,10 +538,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d31110b5-f43e-46da-a2cd-2a0bfeb7a82a + - db420d77-b675-4d44-b712-5f140ee1fae9 status: 200 OK code: 200 - duration: 46.603341ms + duration: 65.13636ms - 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/4b541db9-f841-4c0d-a915-cdd989a805cd 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 + - Mon, 12 Aug 2024 08:35:04 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: @@ -585,7 +585,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8b557159-0065-4640-82cf-580b443a7216 + - 598e9dba-4229-4d5b-a361-dcb5d4fcaf39 status: 204 No Content code: 204 - duration: 1.268735207s + 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 58bd78514..6f58abd43 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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:49:52 GMT + - Mon, 12 Aug 2024 08:34:41 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 + - 61b16df2-d932-4938-b78d-592189f0e78e status: 200 OK code: 200 - duration: 560.268815ms + duration: 285.3514ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:49:52 GMT + - Mon, 12 Aug 2024 08:34:41 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 + - 49e82e85-dafd-4c6f-a102-7fc8d1c08701 status: 200 OK code: 200 - duration: 111.255023ms + duration: 49.916919ms - 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":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","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: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 82 uncompressed: false - body: '{"id":2,"login":"testuserupdate","password":"SpnwQDd4FfathjIh","role":"editor"}' + body: '{"id":2,"login":"testuserupdate","password":"BEk7XNwRSPz8QhvQ","role":"editor"}' headers: Content-Length: - "82" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:11 GMT + - Mon, 12 Aug 2024 08:35:07 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 + - 80f2cacd-737c-47c2-a621-3569a7a915aa status: 200 OK code: 200 - duration: 19.218319772s + duration: 25.161687808s - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:14 GMT + - Mon, 12 Aug 2024 08:35:07 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 + - d2948adb-2e1d-43df-b428-0b14a76bf6f0 status: 200 OK code: 200 - duration: 3.261074322s + duration: 150.541747ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:27 GMT + - Mon, 12 Aug 2024 08:35:07 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 + - 7b334f48-5b13-4acb-9ab2-c63324c1830f status: 200 OK code: 200 - duration: 12.77929577s + duration: 118.50593ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:28 GMT + - Mon, 12 Aug 2024 08:35:07 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 + - 860582ef-c77f-4a59-ac6a-896d791f0d67 status: 200 OK code: 200 - duration: 105.956052ms + duration: 63.87656ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:30 GMT + - Mon, 12 Aug 2024 08:35:07 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 + - 2e1b5ea2-1d0b-4497-9e85-efeef55834ec status: 200 OK code: 200 - duration: 2.776245645s + duration: 103.279092ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -374,7 +374,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:31 GMT + - Mon, 12 Aug 2024 08:35:08 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 + - 6e188751-278f-4da0-a558-45c7e9128af3 status: 200 OK code: 200 - duration: 89.697194ms + duration: 51.418987ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:31 GMT + - Mon, 12 Aug 2024 08:35:08 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 + - e0d9db03-b239-491d-9ad9-6ad9ddccfcc9 status: 200 OK code: 200 - duration: 140.357651ms + duration: 117.045371ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d 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 + - Mon, 12 Aug 2024 08:35:09 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 + - f1860b00-b911-4c97-837b-f2f4d1d074a5 status: 204 No Content code: 204 - duration: 294.139188ms + duration: 225.789483ms - 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":"edc2cc1f-b822-40b7-ab43-38efec34dc1d","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: @@ -521,7 +521,7 @@ interactions: trailer: {} content_length: 82 uncompressed: false - body: '{"id":3,"login":"testuserupdate","password":"r-3IGPcP8FB84B1L","role":"viewer"}' + body: '{"id":3,"login":"testuserupdate","password":"RnQ9LKPFc-Ji4Tt3","role":"viewer"}' headers: Content-Length: - "82" @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Mon, 12 Aug 2024 08:35:09 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 + - d6e2e783-344c-4d3b-b1e0-9064074dc422 status: 200 OK code: 200 - duration: 3.525812331s + duration: 288.4506ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -579,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Mon, 12 Aug 2024 08:35:09 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 + - d8c3ddbe-2426-4117-b97d-4a3c070fa9e6 status: 200 OK code: 200 - duration: 129.590239ms + duration: 105.282308ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:35 GMT + - Mon, 12 Aug 2024 08:35:09 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 + - 62a0eb87-14d8-4e20-a188-29ef5d98959c status: 200 OK code: 200 - duration: 131.73905ms + duration: 105.26298ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -668,7 +668,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -677,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Mon, 12 Aug 2024 08:35:10 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 + - 099b4618-13af-4b41-9345-ffceb09b80b1 status: 200 OK code: 200 - duration: 100.380819ms + duration: 58.075589ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -726,9 +726,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Mon, 12 Aug 2024 08:35:10 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 + - 6d53f6e3-6baf-439a-b9a8-bad52850115c status: 200 OK code: 200 - duration: 203.165656ms + duration: 95.488647ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -766,7 +766,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -775,9 +775,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:36 GMT + - Mon, 12 Aug 2024 08:35:10 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 + - 831452fe-6a2a-4d38-bfdb-929c04b1a9dd status: 200 OK code: 200 - duration: 109.864101ms + duration: 66.290892ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -824,9 +824,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:37 GMT + - Mon, 12 Aug 2024 08:35:10 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 + - 84bffd0f-f536-43a6-b7a8-69f46f5a989a status: 200 OK code: 200 - duration: 127.799361ms + duration: 114.922691ms - 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=edc2cc1f-b822-40b7-ab43-38efec34dc1d 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 + - Mon, 12 Aug 2024 08:35:11 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 + - dd5f485b-f897-41bf-9ff9-bb0a05ed4657 status: 204 No Content code: 204 - duration: 284.847656ms + duration: 195.556859ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d method: GET response: proto: HTTP/2.0 @@ -911,7 +911,7 @@ interactions: trailer: {} content_length: 256 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-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: - "256" @@ -920,9 +920,9 @@ interactions: Content-Type: - application/json Date: - - Mon, 22 Apr 2024 13:50:38 GMT + - Mon, 12 Aug 2024 08:35:11 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 + - 14ce5b31-0ae0-451d-8c02-58871299b8d6 status: 200 OK code: 200 - duration: 100.172402ms + duration: 63.542125ms - 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/edc2cc1f-b822-40b7-ab43-38efec34dc1d 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 + - Mon, 12 Aug 2024 08:35:13 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 + - 01a9ec3c-7d72-460c-b9d2-c9e82fe107a2 status: 204 No Content code: 204 - duration: 1.388247091s + duration: 1.293995682s diff --git a/internal/services/cockpit/testdata/token-basic.cassette.yaml b/internal/services/cockpit/testdata/token-basic.cassette.yaml index f649651ca..62450b19b 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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 248 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-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: - "248" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - e1194241-5b35-4557-a08f-eda1c502ef76 + - f933dbfa-a75d-40eb-9873-9d897b6bd91b status: 200 OK code: 200 - duration: 257.901871ms + duration: 263.654725ms - 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/f2df4a4a-ee64-4526-8772-d2d0e964d724 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 248 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-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: - "248" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - 9fd11662-f623-41a5-9b1a-0e2a2ac9c40f + - c054d7a7-c213-4162-b7f3-0980ffba7d61 status: 200 OK code: 200 - duration: 46.10739ms + duration: 152.995982ms - 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":"f2df4a4a-ee64-4526-8772-d2d0e964d724","name":"tf_tests_cockpit_token_basic","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: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 379 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-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: - "379" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:19 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - ff64a856-4566-410a-8cf8-8f864d32a3c5 + - 99dbf6f4-9dfa-4554-b15f-9c49fe72ae23 status: 200 OK code: 200 - duration: 190.254143ms + duration: 78.466058ms - 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/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -178,7 +178,7 @@ interactions: trailer: {} content_length: 317 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-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: - "317" @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - 0a1ce614-993c-41a9-b721-873a42e3c592 + - 0ea0fc76-fb83-4606-b0cb-67a818a06674 status: 200 OK code: 200 - duration: 50.031817ms + duration: 42.043473ms - 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/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -227,7 +227,7 @@ interactions: trailer: {} content_length: 317 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-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: - "317" @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Mon, 12 Aug 2024 08:34:39 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: - - fd0d4b4b-aa9b-43df-a6ce-c00c0899c706 + - afb0725c-d1d5-4004-8ae2-9a643bc087c7 status: 200 OK code: 200 - duration: 52.46116ms + duration: 45.165295ms - 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/f2df4a4a-ee64-4526-8772-d2d0e964d724 method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 248 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-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: - "248" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 0ea81152-3eae-432f-94b7-1b572e6d5b5b + - 24a78141-8b24-44bb-8941-8464920378ea status: 200 OK code: 200 - duration: 56.076007ms + duration: 77.166707ms - 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/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 method: GET response: proto: HTTP/2.0 @@ -325,7 +325,7 @@ interactions: trailer: {} content_length: 317 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-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: - "317" @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:20 GMT + - Mon, 12 Aug 2024 08:34:40 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: - - 6eae1a6a-00c1-4ee1-b7d1-473eaa29e51a + - 30f2b11d-51d4-435e-ba10-3112dd981fb4 status: 200 OK code: 200 - duration: 50.990995ms + duration: 69.410273ms - 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/743ea413-a1f7-4bd1-9ba3-d85cb48e4e32 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 + - Mon, 12 Aug 2024 08:34:41 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: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a99fa2f-1bdf-49bd-9907-2636d492ab90 + - 5b1a7e8d-3e7d-4cd5-8d4a-99f4db3ad323 status: 204 No Content code: 204 - duration: 58.833544ms + duration: 52.601975ms - 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/f2df4a4a-ee64-4526-8772-d2d0e964d724 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 + - Mon, 12 Aug 2024 08:34:42 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: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2970bf8d-cab3-41be-a068-86daf3c8eaa5 + - a94de212-188b-4a87-aa59-de1c6feca73b status: 204 No Content code: 204 - duration: 1.433611409s + duration: 1.260297216s - 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/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":"068ce5e4-ffb2-44be-b861-a3058ada6d65","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: - - Tue, 23 Apr 2024 11:02:22 GMT + - Mon, 12 Aug 2024 08:34:42 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: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - c2c786ee-e5c3-46e2-95dd-ce3f47cedc41 + - 5811e522-2a15-463f-bf7b-c3bad043ce26 status: 404 Not Found code: 404 - duration: 30.730797ms + 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 ca717b55e..93e0be814 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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 252 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-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: - "252" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Mon, 12 Aug 2024 08:34:42 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: - - 4e5d5a5a-b488-4a8e-a8cc-e0268e88dc0e + - 3ac91c3e-6a90-4557-83b3-1fb4f2fe00d4 status: 200 OK code: 200 - duration: 293.298521ms + duration: 260.976516ms - 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/4788222e-257a-4d0a-ac02-92fd1390d891 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 252 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-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: - "252" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Mon, 12 Aug 2024 08:34:42 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: - - ffb57a13-11e6-499a-839b-894bb238c922 + - 55a56c10-38d0-4be1-ac82-2f5287a7e064 status: 200 OK code: 200 - duration: 53.972204ms + duration: 56.344927ms - 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":"4788222e-257a-4d0a-ac02-92fd1390d891","name":"tf_tests_cockpit_token_no_scopes","token_scopes":["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: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 381 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-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: - "381" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 2d128438-e0a0-4438-9c66-214acc7c25a4 + - 1096ea04-1430-4680-9c36-9c7a675ef86a status: 200 OK code: 200 - duration: 228.771743ms + duration: 81.969326ms - 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/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -178,7 +178,7 @@ interactions: trailer: {} content_length: 319 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-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: - "319" @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 9cbac928-d667-45d7-bf8e-21aab5ac0549 + - 26f6be3d-1bbd-46eb-a7ab-1f865ed3fb14 status: 200 OK code: 200 - duration: 51.822938ms + duration: 50.717567ms - 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/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -227,7 +227,7 @@ interactions: trailer: {} content_length: 319 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-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: - "319" @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:37 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 57c68679-582b-46b6-b5ed-0da386568e3b + - cfd27a0f-a081-474b-aceb-b2994613d866 status: 200 OK code: 200 - duration: 49.080157ms + duration: 46.299537ms - 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/4788222e-257a-4d0a-ac02-92fd1390d891 method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 252 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-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: - "252" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:38 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - 2da00177-9d62-496c-bb30-e9c91019e49b + - 4876c297-e063-4b86-9359-5be696561393 status: 200 OK code: 200 - duration: 48.507267ms + duration: 57.543879ms - 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/f093944c-fc84-475c-8d03-c2b9c17d61d9 method: GET response: proto: HTTP/2.0 @@ -325,7 +325,7 @@ interactions: trailer: {} content_length: 319 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-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: - "319" @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:02:38 GMT + - Mon, 12 Aug 2024 08:34:43 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: - - ac9845b3-38a8-4e4c-a1d9-11ee5db054ec + - f9f56636-bda3-4515-81fe-7c9c35773c11 status: 200 OK code: 200 - duration: 53.561182ms + duration: 56.189044ms - 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/f093944c-fc84-475c-8d03-c2b9c17d61d9 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 + - Mon, 12 Aug 2024 08:34:44 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: @@ -391,10 +391,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eab2213d-402e-4327-8e60-b48fb423e345 + - ed18853b-acd2-45e5-91d5-0ac5a8d6d932 status: 204 No Content code: 204 - duration: 60.833407ms + duration: 58.056305ms - 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/4788222e-257a-4d0a-ac02-92fd1390d891 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 + - Mon, 12 Aug 2024 08:34: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: @@ -438,10 +438,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 72675efa-6fe1-4928-80cf-6d9a0abf7e1c + - c8cf1ba8-4a20-4de1-a622-9c819d4ec593 status: 204 No Content code: 204 - duration: 1.297685387s + duration: 1.221344636s - 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/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":"49df997c-b8fc-4033-a06a-10a016be2bca","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: - - Tue, 23 Apr 2024 11:02:40 GMT + - Mon, 12 Aug 2024 08:34: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: @@ -487,7 +487,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d9c146cc-5b3e-4390-a1b1-43343e5aaccd + - 0fb81f0a-3719-4c71-96e9-78536c9e4f43 status: 404 Not Found code: 404 - duration: 34.122425ms + duration: 20.977615ms diff --git a/internal/services/cockpit/testdata/token-update.cassette.yaml b/internal/services/cockpit/testdata/token-update.cassette.yaml index 5794bb489..fe555513f 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: @@ -29,7 +29,7 @@ interactions: trailer: {} content_length: 249 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-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: - "249" @@ -38,9 +38,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:29 GMT + - Mon, 12 Aug 2024 08:34:34 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 7a48637a-8b7f-4d8c-93b1-6e48fc3aa239 + - d2725474-c833-49d6-b23b-9fd8574c37cf status: 200 OK code: 200 - duration: 298.750296ms + duration: 285.8705ms - 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/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -78,7 +78,7 @@ interactions: trailer: {} content_length: 249 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-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: - "249" @@ -87,9 +87,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:29 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - fac49c55-e24e-4609-86b7-b757f1f061fe + - 0c3ea4bd-79c7-405d-b3a2-5d3e93597773 status: 200 OK code: 200 - duration: 51.688471ms + duration: 48.970435ms - 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":"be67fde8-d3fd-4899-be2f-31ef15ec35b8","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: @@ -129,7 +129,7 @@ interactions: trailer: {} content_length: 380 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-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: - "380" @@ -138,9 +138,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 2ae2a46c-734b-4b9f-b7ad-65a704a009d5 + - fedff55a-5714-4f86-b20b-e556308c2f57 status: 200 OK code: 200 - duration: 118.277296ms + duration: 88.723359ms - 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/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -178,7 +178,7 @@ interactions: trailer: {} content_length: 318 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-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: - "318" @@ -187,9 +187,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - edd350b3-a7cd-475b-8f52-7368fff92ab6 + - 8cd464d7-90e9-4e31-95fb-2c7bfa56569a status: 200 OK code: 200 - duration: 54.57411ms + duration: 63.435266ms - 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/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -227,7 +227,7 @@ interactions: trailer: {} content_length: 318 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-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: - "318" @@ -236,9 +236,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 0f2ef147-4131-4e02-9640-7ad979325c15 + - 77edb27d-186c-48a3-aecf-7e3d5d140021 status: 200 OK code: 200 - duration: 43.170117ms + duration: 59.448039ms - 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/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -276,7 +276,7 @@ interactions: trailer: {} content_length: 249 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-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: - "249" @@ -285,9 +285,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 46539e90-0765-45af-ae8d-b3796542473b + - 2454ef1a-0169-402d-a936-ad142a31f4bf status: 200 OK code: 200 - duration: 49.527873ms + duration: 51.577776ms - 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/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -325,7 +325,7 @@ interactions: trailer: {} content_length: 318 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-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: - "318" @@ -334,9 +334,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:30 GMT + - Mon, 12 Aug 2024 08:34:35 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 21c58e8c-139e-4ae3-bd73-ea891f1906bd + - ff6b6985-53c3-4858-96e1-c7d952d8db95 status: 200 OK code: 200 - duration: 51.261299ms + duration: 45.681855ms - 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/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -374,7 +374,7 @@ interactions: trailer: {} content_length: 249 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-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: - "249" @@ -383,9 +383,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - eabd3a5f-1d60-48d8-b6b1-01b57befe8ad + - 99d4f8a3-eaf2-4dc0-af94-22d463b74ee8 status: 200 OK code: 200 - duration: 40.950172ms + duration: 54.02728ms - 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/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 method: GET response: proto: HTTP/2.0 @@ -423,7 +423,7 @@ interactions: trailer: {} content_length: 318 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-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: - "318" @@ -432,9 +432,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 3e0cddc5-bf60-426a-a90f-dc7a5236594a + - 3067e85b-eed8-4e6e-96bb-4f51f8c7339a status: 200 OK code: 200 - duration: 50.396859ms + duration: 46.231706ms - 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/6dc7d4f4-aac7-4184-ac6c-1f12cf23c1a4 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 + - Mon, 12 Aug 2024 08:34:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 754a6177-f9d3-4d1f-bb7c-cad1fad5a666 + - bf6c8ad5-ceff-4c7e-9517-e2ba5de49126 status: 204 No Content code: 204 - duration: 51.967625ms + duration: 57.537187ms - 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":"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: - 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: @@ -521,7 +521,7 @@ interactions: trailer: {} content_length: 399 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-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: - "399" @@ -530,9 +530,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 47d79d12-d02f-4a2a-9d47-03a55f9332e3 + - 6c3f8cdc-4a85-4f91-af5f-a75b3cf374c1 status: 200 OK code: 200 - duration: 55.991061ms + duration: 56.448177ms - 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/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -570,7 +570,7 @@ interactions: trailer: {} content_length: 337 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-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: - "337" @@ -579,9 +579,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Mon, 12 Aug 2024 08:34:36 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 4635cc82-51f1-46fe-8834-ee4280f38a9e + - 27494489-a63b-4ad7-b8b1-f745fdb93bb2 status: 200 OK code: 200 - duration: 49.101978ms + duration: 46.73134ms - 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/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -619,7 +619,7 @@ interactions: trailer: {} content_length: 337 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-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: - "337" @@ -628,9 +628,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:31 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 1041e102-463a-4f01-a2a5-e66e0300dad4 + - 29ff9e90-7a05-4dd0-afc7-9c4906da42bd status: 200 OK code: 200 - duration: 48.376457ms + duration: 65.409284ms - 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/be67fde8-d3fd-4899-be2f-31ef15ec35b8 method: GET response: proto: HTTP/2.0 @@ -668,7 +668,7 @@ interactions: trailer: {} content_length: 249 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-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: - "249" @@ -677,9 +677,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:32 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - eb237f50-d4b8-4a81-81a5-fb7090e7de24 + - bc107851-a165-4bf7-9fc0-635f821cb16d status: 200 OK code: 200 - duration: 56.047972ms + duration: 51.621147ms - 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/a23adec9-49f1-4399-bd94-473b2854d494 method: GET response: proto: HTTP/2.0 @@ -717,7 +717,7 @@ interactions: trailer: {} content_length: 337 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-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: - "337" @@ -726,9 +726,9 @@ interactions: Content-Type: - application/json Date: - - Tue, 23 Apr 2024 11:03:32 GMT + - Mon, 12 Aug 2024 08:34:37 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 45bf1a55-e30f-452c-8b2a-84dd7123ab2e + - 03286849-cb50-462b-9f91-b67b97d9bc34 status: 200 OK code: 200 - duration: 46.300633ms + duration: 50.092622ms - 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/a23adec9-49f1-4399-bd94-473b2854d494 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 + - Mon, 12 Aug 2024 08:34:38 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 0b64c5cb-9e86-462f-b20a-1b15079a6b2b + - 1e82b330-907d-41dc-bf35-7c8744fbeb91 status: 204 No Content code: 204 - duration: 57.67835ms + duration: 57.520982ms - 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/be67fde8-d3fd-4899-be2f-31ef15ec35b8 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 + - Mon, 12 Aug 2024 08:34:39 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 07103978-7ad6-4492-9b78-7104aab66c14 + - 16058906-82b3-46d3-9f08-848af7f595d2 status: 204 No Content code: 204 - duration: 1.276586289s + duration: 1.461131065s - 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/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":"09ae6efe-342b-4510-abc2-1d97d3e1d517","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: - - Tue, 23 Apr 2024 11:03:34 GMT + - Mon, 12 Aug 2024 08:34:39 GMT Server: - - Scaleway API Gateway (fr-par-3;edge02) + - 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: - - 2e3dfd1b-8c6d-49a2-b043-087c61643de3 + - b18e4868-dffc-492b-9cac-7a9fcb8480fc status: 404 Not Found code: 404 - duration: 24.053217ms + duration: 20.335114ms 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..5eae22aa6 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,53 @@ 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, alertManagerURL 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 "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": alertManagerURL, + "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 {