diff --git a/docs/data-sources/container.md b/docs/data-sources/container.md index d787fedc3..087575697 100644 --- a/docs/data-sources/container.md +++ b/docs/data-sources/container.md @@ -91,7 +91,13 @@ In addition to all arguments above, the following attributes are exported: - `deploy` - Boolean indicating whether the container is on a production environment. -- `sandbox` - (Optional) Execution environment of the container. +- `sandbox` - Execution environment of the container. + +- `heath_check` - Health check configuration block of the container. + - `http` - HTTP health check configuration. + - `path` - Path to use for the HTTP health check. + - `failure_threshold` - Number of consecutive health check failures before considering the container unhealthy. + - `interval`- Period between health checks (in seconds). - `status` - The container status. diff --git a/docs/resources/container.md b/docs/resources/container.md index 75f82a1dd..945e56253 100644 --- a/docs/resources/container.md +++ b/docs/resources/container.md @@ -84,6 +84,12 @@ The following arguments are supported: - `sandbox` - (Optional) Execution environment of the container. +- `heath_check` - (Optional) Health check configuration block of the container. + - `http` - HTTP health check configuration. + - `path` - Path to use for the HTTP health check. + - `failure_threshold` - Number of consecutive health check failures before considering the container unhealthy. + - `interval`- Period between health checks (in seconds). + - `port` - (Optional) The port to expose the container. - `deploy` - (Optional) Boolean indicating whether the container is in a production environment. @@ -152,4 +158,34 @@ The `memory_limit` (in MB) must correspond with the right amount of vCPU. Refer | 4096 | 2240 | ~>**Important:** Make sure to select the right resources, as you will be billed based on compute usage over time and the number of Containers executions. -Refer to the [Serverless Containers pricing](https://www.scaleway.com/en/docs/faq/serverless-containers/#prices) for more information. \ No newline at end of file +Refer to the [Serverless Containers pricing](https://www.scaleway.com/en/docs/faq/serverless-containers/#prices) for more information. + +## Health check configuration + +Custom health checks can be configured on the container. + +It's possible to specify the HTTP path that the probe will listen to and the number of failures before considering the container as unhealthy. +During a deployment, if a newly created container fails to pass the health check, the deployment is aborted. +As a result, lowering this value can help to reduce the time it takes to detect a failed deployment. +The period between health checks is also configurable. + +Example: + +```terraform +resource scaleway_container main { + name = "my-container-02" + namespace_id = scaleway_container_namespace.main.id + + health_check { + http { + path = "/ping" + } + failure_threshold = 40 + interval = "3s" + } +} +``` + +~>**Important:** Another probe type can be set to TCP with the API, but currently the SDK has not been updated with this parameter. +This is why the only probe that can be used here is the HTTP probe. +Refer to the [API Reference](https://www.scaleway.com/en/developers/api/serverless-containers/#path-containers-create-a-new-container) for more information. \ No newline at end of file diff --git a/internal/services/container/container.go b/internal/services/container/container.go index 111000475..c5abe0a16 100644 --- a/internal/services/container/container.go +++ b/internal/services/container/container.go @@ -8,6 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/dsf" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" @@ -170,6 +171,44 @@ func ResourceContainer() *schema.Resource { Description: "Execution environment of the container.", ValidateDiagFunc: verify.ValidateEnum[container.ContainerSandbox](), }, + "health_check": { + Type: schema.TypeSet, + Optional: true, + Computed: true, + Description: "Health check configuration of the container.", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + // TCP has not been implemented yet in the API SDK, that's why the parameter is not in the schema. + // See container.ContainerHealthCheckSpecTCPProbe. + "http": { + Type: schema.TypeSet, + Description: "HTTP health check configuration.", + Required: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "path": { + Type: schema.TypeString, + Description: "Path to use for the HTTP health check.", + Required: true, + }, + }, + }, + }, + "failure_threshold": { + Type: schema.TypeInt, + Description: "Number of consecutive health check failures before considering the container unhealthy.", + Required: true, + }, + "interval": { + Type: schema.TypeString, + Description: "Period between health checks.", + DiffSuppressFunc: dsf.Duration, + ValidateDiagFunc: verify.IsDuration(), + Required: true, + }, + }, + }, + }, // computed "status": { Type: schema.TypeString, @@ -280,6 +319,7 @@ func ResourceContainerRead(ctx context.Context, d *schema.ResourceData, m interf _ = d.Set("deploy", scw.BoolPtr(*types.ExpandBoolPtr(d.Get("deploy")))) _ = d.Set("http_option", co.HTTPOption) _ = d.Set("sandbox", co.Sandbox) + _ = d.Set("health_check", flattenHealthCheck(co.HealthCheck)) _ = d.Set("region", co.Region.String()) return nil @@ -375,6 +415,16 @@ func ResourceContainerUpdate(ctx context.Context, d *schema.ResourceData, m inte req.Sandbox = container.ContainerSandbox(d.Get("sandbox").(string)) } + if d.HasChanges("health_check") { + healthCheck := d.Get("health_check") + + healthCheckReq, errExpandHealthCheck := expandHealthCheck(healthCheck) + if errExpandHealthCheck != nil { + return diag.FromErr(errExpandHealthCheck) + } + req.HealthCheck = healthCheckReq + } + imageHasChanged := d.HasChanges("registry_sha256") if imageHasChanged { req.Redeploy = &imageHasChanged diff --git a/internal/services/container/container_data_source_test.go b/internal/services/container/container_data_source_test.go index b2775a895..c76838ad3 100644 --- a/internal/services/container/container_data_source_test.go +++ b/internal/services/container/container_data_source_test.go @@ -49,3 +49,41 @@ func TestAccDataSourceContainer_Basic(t *testing.T) { }, }) } + +func TestAccDataSourceContainer_HealthCheck(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProviderFactories: tt.ProviderFactories, + CheckDestroy: isNamespaceDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + deploy = false + } + + data scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + container_id = scaleway_container.main.id + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + // Check default option returned by the API when you don't specify the health_check block. + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.#", "1"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.failure_threshold", "30"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.interval", "10s"), + resource.TestCheckResourceAttr("data.scaleway_container.main", "health_check.#", "1"), + resource.TestCheckResourceAttr("data.scaleway_container.main", "health_check.0.failure_threshold", "30"), + resource.TestCheckResourceAttr("data.scaleway_container.main", "health_check.0.interval", "10s"), + ), + }, + }, + }) +} diff --git a/internal/services/container/container_test.go b/internal/services/container/container_test.go index c7b8b654b..4cecdac33 100644 --- a/internal/services/container/container_test.go +++ b/internal/services/container/container_test.go @@ -400,6 +400,60 @@ func TestAccContainer_Sandbox(t *testing.T) { }) } +func TestAccContainer_HealthCheck(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + resource.ParallelTest(t, resource.TestCase{ + PreCheck: func() { acctest.PreCheck(t) }, + ProviderFactories: tt.ProviderFactories, + CheckDestroy: isContainerDestroyed(tt), + Steps: []resource.TestStep{ + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + deploy = false + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + // Check default option returned by the API when you don't specify the health_check block. + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.#", "1"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.failure_threshold", "30"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.interval", "10s"), + ), + }, + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + deploy = false + + health_check { + http { + path = "/test" + } + failure_threshold = 40 + interval = "12s" + } + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.#", "1"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.http.0.path", "/test"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.failure_threshold", "40"), + resource.TestCheckResourceAttr("scaleway_container.main", "health_check.0.interval", "12s"), + ), + }, + }, + }) +} + func isContainerPresent(tt *acctest.TestTools, n string) resource.TestCheckFunc { return func(state *terraform.State) error { rs, ok := state.RootModule().Resources[n] diff --git a/internal/services/container/helpers_container.go b/internal/services/container/helpers_container.go index fcd2ce443..8839d80fe 100644 --- a/internal/services/container/helpers_container.go +++ b/internal/services/container/helpers_container.go @@ -115,9 +115,107 @@ func setCreateContainerRequest(d *schema.ResourceData, region scw.Region) (*cont req.Sandbox = container.ContainerSandbox(sandbox.(string)) } + if healthCheck, ok := d.GetOk("health_check"); ok { + healthCheckReq, errExpandHealthCheck := expandHealthCheck(healthCheck) + if errExpandHealthCheck != nil { + return nil, errExpandHealthCheck + } + req.HealthCheck = healthCheckReq + } + return req, nil } +func expandHealthCheck(healthCheckSchema interface{}) (*container.ContainerHealthCheckSpec, error) { + healthCheck, ok := healthCheckSchema.(*schema.Set) + if !ok { + return &container.ContainerHealthCheckSpec{}, nil + } + + for _, option := range healthCheck.List() { + rawOption, isRawOption := option.(map[string]interface{}) + if !isRawOption { + continue + } + + healthCheckSpec := &container.ContainerHealthCheckSpec{} + if http, ok := rawOption["http"].(*schema.Set); ok { + healthCheckSpec.HTTP = expendHealthCheckHTTP(http) + } + + // Failure threshold is a required field and will be checked by TF. + healthCheckSpec.FailureThreshold = uint32(rawOption["failure_threshold"].(int)) + + if interval, ok := rawOption["interval"]; ok { + duration, err := types.ExpandDuration(interval) + if err != nil { + return nil, err + } + healthCheckSpec.Interval = scw.NewDurationFromTimeDuration(*duration) + } + + return healthCheckSpec, nil + } + + return &container.ContainerHealthCheckSpec{}, nil +} + +func expendHealthCheckHTTP(healthCheckHTTPSchema interface{}) *container.ContainerHealthCheckSpecHTTPProbe { + healthCheckHTTP, ok := healthCheckHTTPSchema.(*schema.Set) + if !ok { + return &container.ContainerHealthCheckSpecHTTPProbe{} + } + + for _, option := range healthCheckHTTP.List() { + rawOption, isRawOption := option.(map[string]interface{}) + if !isRawOption { + continue + } + + httpProbe := &container.ContainerHealthCheckSpecHTTPProbe{} + if path, ok := rawOption["path"].(string); ok { + httpProbe.Path = path + } + + return httpProbe + } + + return &container.ContainerHealthCheckSpecHTTPProbe{} +} + +func flattenHealthCheck(healthCheck *container.ContainerHealthCheckSpec) interface{} { + if healthCheck == nil { + return nil + } + + var interval *time.Duration + if healthCheck.Interval != nil { + interval = healthCheck.Interval.ToTimeDuration() + } + + flattenedHealthCheck := []map[string]interface{}(nil) + flattenedHealthCheck = append(flattenedHealthCheck, map[string]interface{}{ + "http": flattenHealthCheckHTTP(healthCheck.HTTP), + "failure_threshold": types.FlattenUint32Ptr(&healthCheck.FailureThreshold), + "interval": types.FlattenDuration(interval), + }) + + return flattenedHealthCheck +} + +func flattenHealthCheckHTTP(healthCheckHTTP *container.ContainerHealthCheckSpecHTTPProbe) interface{} { + if healthCheckHTTP == nil { + return nil + } + + flattenedHealthCheckHTTP := []map[string]interface{}(nil) + flattenedHealthCheckHTTP = append(flattenedHealthCheckHTTP, map[string]interface{}{ + "path": types.FlattenStringPtr(&healthCheckHTTP.Path), + }) + + return flattenedHealthCheckHTTP +} + func expandContainerSecrets(secretsRawMap interface{}) []*container.Secret { secretsMap := secretsRawMap.(map[string]interface{}) secrets := make([]*container.Secret, 0, len(secretsMap)) diff --git a/internal/services/container/testdata/container-health-check.cassette.yaml b/internal/services/container/testdata/container-health-check.cassette.yaml new file mode 100644 index 000000000..a09bc7e6b --- /dev/null +++ b/internal/services/container/testdata/container-health-check.cassette.yaml @@ -0,0 +1,1675 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 158 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-ns-inspiring-mclean","environment_variables":{},"project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","secret_environment_variables":[],"tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 488 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185196Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-01-16T10:10:38.995185196Z"}' + headers: + Content-Length: + - "488" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f42e7d3e-453f-4191-a31b-8aa638fb1f3f + status: 200 OK + code: 200 + duration: 304.876958ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 482 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-01-16T10:10:38.995185Z"}' + headers: + Content-Length: + - "482" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ec1207bd-caf5-4f0b-80b6-503b09e99463 + status: 200 OK + code: 200 + duration: 47.923709ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1affe9b3-6e6c-4166-949e-fbdd1ef1ed51 + status: 200 OK + code: 200 + duration: 50.605083ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 606d4e39-ccc2-40fa-b6d6-ec9ab20dbb22 + status: 200 OK + code: 200 + duration: 55.564333ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f0e5cc60-8c55-410b-a9bc-8b3acd9c38d6 + status: 200 OK + code: 200 + duration: 51.52925ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 214 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-co-inspiring-goodall","privacy":"public","protocol":"http1","secret_environment_variables":null,"http_option":"enabled","sandbox":"unknown_sandbox"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 948 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725160Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725160Z"}' + headers: + Content-Length: + - "948" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9688cb3d-60de-4bec-b3d8-88f16beb121d + status: 200 OK + code: 200 + duration: 275.160916ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 942 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725Z"}' + headers: + Content-Length: + - "942" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2b07e95b-c09d-415c-b19f-77f58dfa5c9d + status: 200 OK + code: 200 + duration: 56.6975ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 942 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725Z"}' + headers: + Content-Length: + - "942" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1eb1c347-e136-49da-b4be-662910429bae + status: 200 OK + code: 200 + duration: 47.00725ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 95f673d2-9901-4a4b-9653-8f10f5e71cf4 + status: 200 OK + code: 200 + duration: 43.174584ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 942 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725Z"}' + headers: + Content-Length: + - "942" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 96eea230-9e44-4496-85b1-79d52b1c23df + status: 200 OK + code: 200 + duration: 56.006584ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4d25a90c-814a-4ad7-91e3-5931fd8a95d3 + status: 200 OK + code: 200 + duration: 41.402209ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 942 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725Z"}' + headers: + Content-Length: + - "942" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 20ccc43f-6d0d-4675-a529-44d4419f587a + status: 200 OK + code: 200 + duration: 61.719791ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 61baf271-9b6d-4bc9-916a-18ea0ea43d0a + status: 200 OK + code: 200 + duration: 38.594417ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 942 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:10:44.459725Z"}' + headers: + Content-Length: + - "942" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fab3e590-99e5-4114-a38e-4a4422f08817 + status: 200 OK + code: 200 + duration: 61.838166ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 250 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"privacy":"unknown_privacy","protocol":"unknown_protocol","secret_environment_variables":null,"http_option":"unknown_http_option","sandbox":"unknown_sandbox","health_check":{"http":{"path":"/test"},"failure_threshold":40,"interval":"12.000000000s"}}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 960 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","timeout":"300s","updated_at":"2025-01-16T10:10:45.483608760Z"}' + headers: + Content-Length: + - "960" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9820b9d7-2d31-4991-bebe-7228e336ebb5 + status: 200 OK + code: 200 + duration: 111.926666ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 957 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","timeout":"300s","updated_at":"2025-01-16T10:10:45.483609Z"}' + headers: + Content-Length: + - "957" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:45 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f133edd0-d9fc-431c-b0f9-e4417321a3f6 + status: 200 OK + code: 200 + duration: 51.708542ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 957 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","timeout":"300s","updated_at":"2025-01-16T10:10:45.483609Z"}' + headers: + Content-Length: + - "957" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:50 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - be9690d2-80b4-482e-8bae-c48943c7ff72 + status: 200 OK + code: 200 + duration: 65.506125ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 995 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","timeout":"300s","updated_at":"2025-01-16T10:10:51.957258Z"}' + headers: + Content-Length: + - "995" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:55 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 932a530b-aaab-4fca-8108-1124397dea20 + status: 200 OK + code: 200 + duration: 53.724791ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 995 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","timeout":"300s","updated_at":"2025-01-16T10:10:51.957258Z"}' + headers: + Content-Length: + - "995" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:55 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 95b191cb-0310-4cb0-a530-75067ca528ce + status: 200 OK + code: 200 + duration: 59.917917ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 995 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","timeout":"300s","updated_at":"2025-01-16T10:10:51.957258Z"}' + headers: + Content-Length: + - "995" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:55 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 203579e7-79dd-4231-b1db-53c968a4130e + status: 200 OK + code: 200 + duration: 68.484416ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e25f2895-7db2-4a23-b914-66096a717a10 + status: 200 OK + code: 200 + duration: 41.338333ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 995 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","timeout":"300s","updated_at":"2025-01-16T10:10:51.957258Z"}' + headers: + Content-Length: + - "995" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 378a60a6-4bd4-43fb-9dd7-955236592fd0 + status: 200 OK + code: 200 + duration: 61.717916ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 995 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","timeout":"300s","updated_at":"2025-01-16T10:10:51.957258Z"}' + headers: + Content-Length: + - "995" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3f8076b9-3304-4da4-9511-dd6caaa9477d + status: 200 OK + code: 200 + duration: 52.092291ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/4e144a2b-ac2c-4c54-a008-43e95b784b21 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 961 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:10:44.459725Z","description":"","domain_name":"tfnsinspiringmclean2azlpkfl-tf-co-inspiring-goodall.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":40,"http":{"path":"/test"},"interval":"12s"},"http_option":"enabled","id":"4e144a2b-ac2c-4c54-a008-43e95b784b21","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-inspiring-goodall","namespace_id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl/tf-co-inspiring-goodall:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"deleting","timeout":"300s","updated_at":"2025-01-16T10:10:56.385200251Z"}' + headers: + Content-Length: + - "961" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 13c2fb83-86d9-4dbb-a055-41cc2117737e + status: 200 OK + code: 200 + duration: 118.760875ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 570 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:10:41.728349Z"}' + headers: + Content-Length: + - "570" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 36a5d2b5-27ce-455d-a647-ec57a8c19f7d + status: 200 OK + code: 200 + duration: 41.015291ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546271Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7334bf0e-19ce-4ece-b2a9-1593cea56292 + status: 200 OK + code: 200 + duration: 161.450458ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:10:56 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 045a0f03-4c6a-49f3-9d33-44d44410f994 + status: 200 OK + code: 200 + duration: 55.0205ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:01 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ed7684fd-f8df-48e2-9f60-ee50b2ccc4df + status: 200 OK + code: 200 + duration: 42.096458ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:06 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c0efd5d0-a345-4a24-b192-25c984a7a694 + status: 200 OK + code: 200 + duration: 43.330708ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:11 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cc3628cd-abb6-43ae-a0ca-078f9f29b694 + status: 200 OK + code: 200 + duration: 52.753959ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:16 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 37db673e-15c4-4e44-af35-f2a53df8d1b2 + status: 200 OK + code: 200 + duration: 43.945958ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:10:38.995185Z","description":"","environment_variables":{},"error_message":null,"id":"d25385c3-2c74-4f72-ae77-4aadd7a28183","name":"tf-ns-inspiring-mclean","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsinspiringmclean2azlpkfl","registry_namespace_id":"4249c607-4ab4-460e-b3ee-f56bb0be043f","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:10:56.539546Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:21 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b5832fd1-2c82-4066-a3cf-63628d080560 + status: 200 OK + code: 200 + duration: 48.840208ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 37 + uncompressed: false + body: '{"message":"Namespace was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:26 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2b7073c6-9b07-44cf-ba40-3661da102e08 + status: 404 Not Found + code: 404 + duration: 28.005583ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/d25385c3-2c74-4f72-ae77-4aadd7a28183 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 37 + uncompressed: false + body: '{"message":"Container was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:11:27 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 97cbd868-a78b-489e-9b71-ce3b82bedaa9 + status: 404 Not Found + code: 404 + duration: 33.204458ms diff --git a/internal/services/container/testdata/data-source-container-health-check.cassette.yaml b/internal/services/container/testdata/data-source-container-health-check.cassette.yaml new file mode 100644 index 000000000..aa2b7f7fa --- /dev/null +++ b/internal/services/container/testdata/data-source-container-health-check.cassette.yaml @@ -0,0 +1,1281 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 160 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-ns-recursing-meninsky","environment_variables":{},"project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","secret_environment_variables":[],"tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 490 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487939807Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-01-16T10:19:12.487939807Z"}' + headers: + Content-Length: + - "490" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:12 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 40327b77-6e71-480a-bc17-33beb727b774 + status: 200 OK + code: 200 + duration: 435.492583ms + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 484 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-01-16T10:19:12.487940Z"}' + headers: + Content-Length: + - "484" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:12 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ffc3fe15-0a55-4245-bbb9-22bf96b10d91 + status: 200 OK + code: 200 + duration: 42.161042ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:19:14.345675Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:17 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4e11dd01-2c1f-463a-944c-f58d1529631c + status: 200 OK + code: 200 + duration: 44.333625ms + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:19:14.345675Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:17 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - aab6443e-a0e6-4e8d-a013-bfb0568a6bff + status: 200 OK + code: 200 + duration: 51.525792ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:19:14.345675Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:17 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5d04a52a-03bd-4231-b68f-0cb03ab332d5 + status: 200 OK + code: 200 + duration: 42.792625ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 213 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-co-pedantic-feynman","privacy":"public","protocol":"http1","secret_environment_variables":null,"http_option":"enabled","sandbox":"unknown_sandbox"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 947 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133228Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133228Z"}' + headers: + Content-Length: + - "947" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f3e1178e-ebcb-43b1-a13d-418cc7e3ea91 + status: 200 OK + code: 200 + duration: 327.538167ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 53182b74-eb24-49bd-aa69-f2d2000fceb1 + status: 200 OK + code: 200 + duration: 50.85875ms + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 18fd4dcc-ece2-4552-b004-3880116527aa + status: 200 OK + code: 200 + duration: 60.991333ms + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 08effde3-eb13-48df-b204-892cd016fe88 + status: 200 OK + code: 200 + duration: 59.646125ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a0fe6ade-6831-43f7-a9d7-9e2172c08f73 + status: 200 OK + code: 200 + duration: 61.4325ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:19:14.345675Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 48c114a7-8c02-40ab-8144-7afaaf32fd1d + status: 200 OK + code: 200 + duration: 48.3ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1b360420-5fc4-4096-9add-70adf802c769 + status: 200 OK + code: 200 + duration: 50.523625ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 62555ed7-d350-4d6d-961e-1ceb19b8ab5c + status: 200 OK + code: 200 + duration: 62.109083ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:18 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6a0575f1-2aaa-4c20-88b8-d00397946da1 + status: 200 OK + code: 200 + duration: 66.108208ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 941 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","timeout":"300s","updated_at":"2025-01-16T10:19:18.026133Z"}' + headers: + Content-Length: + - "941" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 341f806b-d9c5-4754-9a73-f70f41dff76e + status: 200 OK + code: 200 + duration: 61.361917ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ee289584-2c21-49b4-8d7f-dc1191d0f23e + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 945 + uncompressed: false + body: '{"cpu_limit":1000,"created_at":"2025-01-16T10:19:18.026133Z","description":"","domain_name":"tfnsrecursingmeninskriz6ksue-tf-co-pedantic-feynman.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"ee289584-2c21-49b4-8d7f-dc1191d0f23e","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-pedantic-feynman","namespace_id":"ee1cc53d-416f-42c5-80db-9876f49941b6","port":8080,"privacy":"public","protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue/tf-co-pedantic-feynman:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"deleting","timeout":"300s","updated_at":"2025-01-16T10:19:19.154425779Z"}' + headers: + Content-Length: + - "945" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 47650f73-5e52-4e51-a0d9-60aa3c4c869a + status: 200 OK + code: 200 + duration: 120.530958ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 573 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-01-16T10:19:14.345675Z"}' + headers: + Content-Length: + - "573" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a447f959-9e8c-469e-b809-723979fa4f15 + status: 200 OK + code: 200 + duration: 44.802209ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 579 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954029Z"}' + headers: + Content-Length: + - "579" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 96e0b813-a0fc-4733-89a2-d3d21f405202 + status: 200 OK + code: 200 + duration: 142.514542ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:19 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 31916396-53d1-4c4c-b342-0a1e5082b9bf + status: 200 OK + code: 200 + duration: 44.282542ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:24 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dd869cb5-9d3b-4f93-9475-3193fa4f99e7 + status: 200 OK + code: 200 + duration: 50.851042ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:29 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7cfb09e6-4e56-4ca9-a16b-ca2f4a349db5 + status: 200 OK + code: 200 + duration: 48.515208ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:34 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4bec6348-eef1-4fa4-a6e0-6093e565705b + status: 200 OK + code: 200 + duration: 57.864042ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:39 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 53958621-eff3-4f0e-a161-e76457ef6e8f + status: 200 OK + code: 200 + duration: 45.83475ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 576 + uncompressed: false + body: '{"created_at":"2025-01-16T10:19:12.487940Z","description":"","environment_variables":{},"error_message":null,"id":"ee1cc53d-416f-42c5-80db-9876f49941b6","name":"tf-ns-recursing-meninsky","organization_id":"c252b25c-29e2-4ee0-a1ea-ea9840df7bba","project_id":"d7c3e412-ea77-486f-8b36-2b40967ca636","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnsrecursingmeninskriz6ksue","registry_namespace_id":"76e06637-7bac-46a5-95df-726d23332b32","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-01-16T10:19:19.308954Z"}' + headers: + Content-Length: + - "576" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:44 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c3a8378a-a96d-4ede-a377-37163766f728 + status: 200 OK + code: 200 + duration: 47.573291ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 37 + uncompressed: false + body: '{"message":"Namespace was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:49 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c4742add-b818-4941-95b3-281eefe29cb7 + status: 404 Not Found + code: 404 + duration: 27.735833ms + - 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.23.1; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ee1cc53d-416f-42c5-80db-9876f49941b6 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 37 + uncompressed: false + body: '{"message":"Namespace was not found"}' + headers: + Content-Length: + - "37" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Thu, 16 Jan 2025 10:19:49 GMT + Server: + - Scaleway API Gateway (fr-par-3;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cd1f85c5-ebdd-4109-ab98-1d1d67d01ba3 + status: 404 Not Found + code: 404 + duration: 31.102ms