From 273961781b27659997ac8efacc297e9eee0df834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=AFla=20Marabese?= Date: Tue, 10 Jun 2025 17:25:00 +0200 Subject: [PATCH] feat(serverless): add command and args to container resource --- docs/resources/container.md | 7 + go.mod | 12 +- go.sum | 24 +- internal/services/container/container.go | 121 +- internal/services/container/container_test.go | 82 + .../services/container/helpers_container.go | 126 + .../container-command-and-args.cassette.yaml | 2855 +++++++++++++++++ 7 files changed, 3105 insertions(+), 122 deletions(-) create mode 100644 internal/services/container/testdata/container-command-and-args.cassette.yaml diff --git a/docs/resources/container.md b/docs/resources/container.md index effd9f4a68..82b3adbca9 100644 --- a/docs/resources/container.md +++ b/docs/resources/container.md @@ -36,6 +36,9 @@ resource "scaleway_container" "main" { protocol = "http1" deploy = true + command = [ "bash", "-c", "script.sh" ] + args = [ "some", "args" ] + environment_variables = { "foo" = "var" } @@ -104,6 +107,10 @@ The following arguments are supported: - `local_storage_limit` - (Optional) Local storage limit of the container (in MB) +- `command` - (Optional) Command executed when the container starts. This overrides the default command defined in the container image. This is usually the main executable, or entry point script to run. + +- `args` - (Optional) Arguments passed to the command specified in the "command" field. These override the default arguments from the container image, and behave like command-line parameters. + Note that if you want to use your own configuration, you must consult our configuration [restrictions](https://www.scaleway.com/en/docs/serverless-containers/reference-content/containers-limitations/#configuration-restrictions) section. ## Attributes Reference diff --git a/go.mod b/go.mod index c88b01cd4f..d69ab2442d 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/nats-io/jwt/v2 v2.7.4 github.com/nats-io/nats.go v1.38.0 github.com/robfig/cron/v3 v3.0.1 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250512145715-0fc65cc3636b + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610081511-58ce335a6dea github.com/stretchr/testify v1.10.0 golang.org/x/crypto v0.38.0 gopkg.in/dnaeon/go-vcr.v3 v3.2.0 @@ -154,13 +154,13 @@ require ( go.opentelemetry.io/otel/metric v1.35.0 // indirect go.opentelemetry.io/otel/trace v1.35.0 // indirect golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect - golang.org/x/mod v0.24.0 // indirect - golang.org/x/net v0.39.0 // indirect - golang.org/x/sync v0.14.0 // indirect + golang.org/x/mod v0.25.0 // indirect + golang.org/x/net v0.40.0 // indirect + golang.org/x/sync v0.15.0 // indirect golang.org/x/sys v0.33.0 // indirect - golang.org/x/text v0.25.0 // indirect + golang.org/x/text v0.26.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.30.0 // indirect + golang.org/x/tools v0.33.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250505200425-f936aa4a68b2 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250505200425-f936aa4a68b2 // indirect diff --git a/go.sum b/go.sum index c4b5dd5d78..55cd0679d1 100644 --- a/go.sum +++ b/go.sum @@ -447,8 +447,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250512145715-0fc65cc3636b h1:wzu3hPSNK2PPo7OXBzofeS5hOWqnVRP8xqIXom9ufoc= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250512145715-0fc65cc3636b/go.mod h1:qiGzapFyNPFwBBLJ+hTFykKSnU95n1zL64+o1ubmwf0= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610081511-58ce335a6dea h1:xP1NE2ZcMvPLRsGOPJnrdSkRqlNpCLFs1p3+WzerS9w= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250610081511-58ce335a6dea/go.mod h1:zFWiHphneiey3s8HOtAEnGrRlWivNaxW5T6d5Xfco7g= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= @@ -587,8 +587,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU= -golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= +golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w= +golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -624,8 +624,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= -golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= +golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY= +golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -647,8 +647,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ= -golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= +golang.org/x/sync v0.15.0 h1:KWH3jNZsfyT6xfAfKiz6MRNmd46ByHDYaZ7KSkCtdW8= +golang.org/x/sync v0.15.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -720,8 +720,8 @@ golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4= -golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= +golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= +golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -780,8 +780,8 @@ golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= -golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY= +golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc= +golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/internal/services/container/container.go b/internal/services/container/container.go index 4c64b8e4c3..4b7aaea31b 100644 --- a/internal/services/container/container.go +++ b/internal/services/container/container.go @@ -251,6 +251,18 @@ func ResourceContainer() *schema.Resource { Optional: true, Computed: true, }, + "command": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "Command executed when the container starts. Overrides the command from the container image.", + }, + "args": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "Arguments passed to the command from the command \"field\". Overrides the arguments from the container image.", + }, // computed "status": { Type: schema.TypeString, @@ -370,6 +382,8 @@ func ResourceContainerRead(ctx context.Context, d *schema.ResourceData, m interf _ = d.Set("local_storage_limit", int(co.LocalStorageLimit)) _ = d.Set("secret_environment_variables", flattenContainerSecrets(co.SecretEnvironmentVariables)) _ = d.Set("tags", types.FlattenSliceString(co.Tags)) + _ = d.Set("command", types.FlattenSliceString(co.Command)) + _ = d.Set("args", types.FlattenSliceString(co.Args)) return nil } @@ -394,110 +408,9 @@ func ResourceContainerUpdate(ctx context.Context, d *schema.ResourceData, m inte } // update container - req := &container.UpdateContainerRequest{ - Region: region, - ContainerID: containerID, - } - - if d.HasChanges("environment_variables") { - envVariablesRaw := d.Get("environment_variables") - req.EnvironmentVariables = types.ExpandMapPtrStringString(envVariablesRaw) - } - - if d.HasChanges("secret_environment_variables") { - oldEnv, newEnv := d.GetChange("secret_environment_variables") - req.SecretEnvironmentVariables = filterSecretEnvsToPatch(expandContainerSecrets(oldEnv), expandContainerSecrets(newEnv)) - } - - if d.HasChange("tags") { - req.Tags = types.ExpandUpdatedStringsPtr(d.Get("tags")) - } - - if d.HasChanges("min_scale") { - req.MinScale = scw.Uint32Ptr(uint32(d.Get("min_scale").(int))) - } - - if d.HasChanges("max_scale") { - req.MaxScale = scw.Uint32Ptr(uint32(d.Get("max_scale").(int))) - } - - if d.HasChanges("memory_limit") { - req.MemoryLimit = scw.Uint32Ptr(uint32(d.Get("memory_limit").(int))) - } - - if d.HasChanges("cpu_limit") { - req.CPULimit = scw.Uint32Ptr(uint32(d.Get("cpu_limit").(int))) - } - - if d.HasChanges("timeout") { - req.Timeout = &scw.Duration{Seconds: int64(d.Get("timeout").(int))} - } - - if d.HasChanges("privacy") { - req.Privacy = container.ContainerPrivacy(*types.ExpandStringPtr(d.Get("privacy"))) - } - - if d.HasChanges("description") { - req.Description = types.ExpandUpdatedStringPtr(d.Get("description")) - } - - if d.HasChanges("registry_image") { - req.RegistryImage = types.ExpandStringPtr(d.Get("registry_image")) - } - - if d.HasChanges("max_concurrency") { - req.MaxConcurrency = scw.Uint32Ptr(uint32(d.Get("max_concurrency").(int))) //nolint:staticcheck - } - - if d.HasChanges("protocol") { - req.Protocol = container.ContainerProtocol(*types.ExpandStringPtr(d.Get("protocol"))) - } - - if d.HasChanges("port") { - req.Port = scw.Uint32Ptr(uint32(d.Get("port").(int))) - } - - if d.HasChanges("http_option") { - req.HTTPOption = container.ContainerHTTPOption(d.Get("http_option").(string)) - } - - if d.HasChanges("deploy") { - req.Redeploy = types.ExpandBoolPtr(d.Get("deploy")) - } - - if d.HasChanges("sandbox") { - 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 - } - - if d.HasChanges("scaling_option") { - scalingOption := d.Get("scaling_option") - - scalingOptionReq, err := expandScalingOptions(scalingOption) - if err != nil { - return diag.FromErr(err) - } - - req.ScalingOption = scalingOptionReq - } - - imageHasChanged := d.HasChanges("registry_sha256") - if imageHasChanged { - req.Redeploy = &imageHasChanged - } - - if d.HasChanges("local_storage_limit") { - req.LocalStorageLimit = scw.Uint32Ptr(uint32(d.Get("local_storage_limit").(int))) + req, err := setUpdateContainerRequest(d, region, containerID) + if err != nil { + return diag.FromErr(err) } con, err := api.UpdateContainer(req, scw.WithContext(ctx)) diff --git a/internal/services/container/container_test.go b/internal/services/container/container_test.go index d86c24ba04..4d3362f762 100644 --- a/internal/services/container/container_test.go +++ b/internal/services/container/container_test.go @@ -563,6 +563,88 @@ func TestAccContainer_ScalingOption(t *testing.T) { }) } +func TestAccContainer_CommandAndArgs(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 + command = [ "bash", "-c", "my-script.sh" ] + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.#", "3"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.0", "bash"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.1", "-c"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.2", "my-script.sh"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.#", "0"), + ), + }, + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + command = [ "bash", "-c", "my-script.sh" ] + args = [ "some", "args" ] + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.#", "3"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.0", "bash"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.1", "-c"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.2", "my-script.sh"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.#", "2"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.0", "some"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.1", "args"), + ), + }, + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + args = [ "some", "args" ] + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.#", "0"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.#", "2"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.0", "some"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.1", "args"), + ), + }, + { + Config: ` + resource scaleway_container_namespace main {} + + resource scaleway_container main { + namespace_id = scaleway_container_namespace.main.id + } + `, + Check: resource.ComposeTestCheckFunc( + isContainerPresent(tt, "scaleway_container.main"), + resource.TestCheckResourceAttr("scaleway_container.main", "command.#", "0"), + resource.TestCheckResourceAttr("scaleway_container.main", "args.#", "0"), + ), + }, + }, + }) +} + 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 2050b36af1..9c125651b7 100644 --- a/internal/services/container/helpers_container.go +++ b/internal/services/container/helpers_container.go @@ -144,6 +144,132 @@ func setCreateContainerRequest(d *schema.ResourceData, region scw.Region) (*cont req.Tags = types.ExpandStrings(tags) } + if command, ok := d.GetOk("command"); ok { + req.Command = types.ExpandStrings(command) + } + + if args, ok := d.GetOk("args"); ok { + req.Args = types.ExpandStrings(args) + } + + return req, nil +} + +func setUpdateContainerRequest(d *schema.ResourceData, region scw.Region, containerID string) (*container.UpdateContainerRequest, error) { + req := &container.UpdateContainerRequest{ + Region: region, + ContainerID: containerID, + } + + if d.HasChanges("environment_variables") { + envVariablesRaw := d.Get("environment_variables") + req.EnvironmentVariables = types.ExpandMapPtrStringString(envVariablesRaw) + } + + if d.HasChanges("secret_environment_variables") { + oldEnv, newEnv := d.GetChange("secret_environment_variables") + req.SecretEnvironmentVariables = filterSecretEnvsToPatch(expandContainerSecrets(oldEnv), expandContainerSecrets(newEnv)) + } + + if d.HasChange("tags") { + req.Tags = types.ExpandUpdatedStringsPtr(d.Get("tags")) + } + + if d.HasChanges("min_scale") { + req.MinScale = scw.Uint32Ptr(uint32(d.Get("min_scale").(int))) + } + + if d.HasChanges("max_scale") { + req.MaxScale = scw.Uint32Ptr(uint32(d.Get("max_scale").(int))) + } + + if d.HasChanges("memory_limit") { + req.MemoryLimit = scw.Uint32Ptr(uint32(d.Get("memory_limit").(int))) + } + + if d.HasChanges("cpu_limit") { + req.CPULimit = scw.Uint32Ptr(uint32(d.Get("cpu_limit").(int))) + } + + if d.HasChanges("timeout") { + req.Timeout = &scw.Duration{Seconds: int64(d.Get("timeout").(int))} + } + + if d.HasChanges("privacy") { + req.Privacy = container.ContainerPrivacy(*types.ExpandStringPtr(d.Get("privacy"))) + } + + if d.HasChanges("description") { + req.Description = types.ExpandUpdatedStringPtr(d.Get("description")) + } + + if d.HasChanges("registry_image") { + req.RegistryImage = types.ExpandStringPtr(d.Get("registry_image")) + } + + if d.HasChanges("max_concurrency") { + req.MaxConcurrency = scw.Uint32Ptr(uint32(d.Get("max_concurrency").(int))) //nolint:staticcheck + } + + if d.HasChanges("protocol") { + req.Protocol = container.ContainerProtocol(*types.ExpandStringPtr(d.Get("protocol"))) + } + + if d.HasChanges("port") { + req.Port = scw.Uint32Ptr(uint32(d.Get("port").(int))) + } + + if d.HasChanges("http_option") { + req.HTTPOption = container.ContainerHTTPOption(d.Get("http_option").(string)) + } + + if d.HasChanges("deploy") { + req.Redeploy = types.ExpandBoolPtr(d.Get("deploy")) + } + + if d.HasChanges("sandbox") { + 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 nil, errExpandHealthCheck + } + + req.HealthCheck = healthCheckReq + } + + if d.HasChanges("scaling_option") { + scalingOption := d.Get("scaling_option") + + scalingOptionReq, err := expandScalingOptions(scalingOption) + if err != nil { + return nil, err + } + + req.ScalingOption = scalingOptionReq + } + + imageHasChanged := d.HasChanges("registry_sha256") + if imageHasChanged { + req.Redeploy = &imageHasChanged + } + + if d.HasChanges("local_storage_limit") { + req.LocalStorageLimit = scw.Uint32Ptr(uint32(d.Get("local_storage_limit").(int))) + } + + if d.HasChanges("command") { + req.Command = types.ExpandUpdatedStringsPtr(d.Get("command")) + } + + if d.HasChanges("args") { + req.Args = types.ExpandUpdatedStringsPtr(d.Get("args")) + } + return req, nil } diff --git a/internal/services/container/testdata/container-command-and-args.cassette.yaml b/internal/services/container/testdata/container-command-and-args.cassette.yaml new file mode 100644 index 0000000000..1b96f04328 --- /dev/null +++ b/internal/services/container/testdata/container-command-and-args.cassette.yaml @@ -0,0 +1,2855 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 191 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-ns-elegant-driscoll","environment_variables":{},"project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","secret_environment_variables":[],"tags":null,"activate_vpc_integration":false}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) 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: 523 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877057Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-06-10T15:56:55.059877057Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:56:55 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e7fc957e-68bc-4c53-9824-766535671713 + status: 200 OK + code: 200 + duration: 608.160123ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 517 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"","registry_namespace_id":"","secret_environment_variables":[],"status":"pending","tags":[],"updated_at":"2025-06-10T15:56:55.059877Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "517" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:56:55 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e6b6dd79-41d8-416f-bc94-add8d36164fd + status: 200 OK + code: 200 + duration: 47.847985ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0e2c7468-7cd8-4570-8911-8105a48096cd + status: 200 OK + code: 200 + duration: 55.547764ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 09a8f90f-6d1d-4211-a5b3-c2a69a0cedfe + status: 200 OK + code: 200 + duration: 47.278187ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 52a42ed7-82ad-4aa9-863a-ffe7d6547a9d + status: 200 OK + code: 200 + duration: 50.477877ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 282 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-co-friendly-proskuriakova","privacy":"public","protocol":"http1","secret_environment_variables":null,"http_option":"enabled","sandbox":"unknown_sandbox","tags":null,"command":["bash","-c","my-script.sh"],"args":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) 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: 1054 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363271Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363271Z"}' + headers: + Content-Length: + - "1054" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fc6a4871-fb6c-4d6a-aff1-09a96c61f6da + status: 200 OK + code: 200 + duration: 264.828881ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1048 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363Z"}' + headers: + Content-Length: + - "1048" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a8904b17-56e6-4f48-9584-be0c5a3d590d + status: 200 OK + code: 200 + duration: 55.594221ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1048 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363Z"}' + headers: + Content-Length: + - "1048" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:00 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cea25177-e51e-4fe3-a03c-548da000b998 + status: 200 OK + code: 200 + duration: 52.517652ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a091f4db-9cd7-4816-ae04-6f6d15427aec + status: 200 OK + code: 200 + duration: 47.02894ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1048 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363Z"}' + headers: + Content-Length: + - "1048" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 42b22945-0c6d-4299-bc58-0c3adbe8f9d6 + status: 200 OK + code: 200 + duration: 46.825307ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:03 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b51fd505-5b23-4707-a50e-8c68cfe3317f + status: 200 OK + code: 200 + duration: 50.917001ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1048 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363Z"}' + headers: + Content-Length: + - "1048" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:03 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 72f8956c-d327-4b7e-b6d4-8309976577be + status: 200 OK + code: 200 + duration: 50.428815ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 68f078ca-56ee-4370-a2a7-834341072e26 + status: 200 OK + code: 200 + duration: 57.725337ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1048 + uncompressed: false + body: '{"args":[],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"created","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:00.522363Z"}' + headers: + Content-Length: + - "1048" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d390f6a2-ba95-456d-b83b-82fd96e064e5 + status: 200 OK + code: 200 + duration: 52.27099ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 182 + 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","args":["some","args"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1065 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:04.848938538Z"}' + headers: + Content-Length: + - "1065" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - adef868f-0021-47e7-a828-c530e5e28fec + status: 200 OK + code: 200 + duration: 118.857664ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1062 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:04.848939Z"}' + headers: + Content-Length: + - "1062" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:04 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b5eab749-4677-4e83-930e-7e700a32f334 + status: 200 OK + code: 200 + duration: 58.43032ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1062 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:04.848939Z"}' + headers: + Content-Length: + - "1062" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:10 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5eb439fd-9685-4395-bf24-a74992f1f5b4 + status: 200 OK + code: 200 + duration: 60.013438ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:15 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9c5ccc9c-5c10-41fa-abe6-ef9fe3ac0354 + status: 200 OK + code: 200 + duration: 52.801955ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:15 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d5f62d11-b090-4c24-8989-8996d041c5a3 + status: 200 OK + code: 200 + duration: 66.118737ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:15 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1b816575-cb7f-4c7e-ad09-eb1cbf792e1d + status: 200 OK + code: 200 + duration: 53.405166ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:16 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 565ab9ac-ec39-4ff1-b0fe-183e01a42dc0 + status: 200 OK + code: 200 + duration: 44.854241ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:16 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5c2df5d5-7456-4a43-9908-9fde258b62d1 + status: 200 OK + code: 200 + duration: 59.161822ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 72299c05-775e-4ec0-83b3-7142d74e19be + status: 200 OK + code: 200 + duration: 47.356224ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b8d8b5e7-75cd-4c00-9594-740dd6c061eb + status: 200 OK + code: 200 + duration: 59.33176ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:19 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b290bf47-2b2a-441d-9b8a-8129f8fff23a + status: 200 OK + code: 200 + duration: 57.399887ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1100 + uncompressed: false + body: '{"args":["some","args"],"command":["bash","-c","my-script.sh"],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:11.234253Z"}' + headers: + Content-Length: + - "1100" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:19 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7a07082c-a37d-434d-a446-56dc782876fa + status: 200 OK + code: 200 + duration: 73.726634ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 172 + 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","command":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1037 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:19.390936292Z"}' + headers: + Content-Length: + - "1037" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:19 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e050fd5e-8473-40f9-9a5a-a6f48d87955b + status: 200 OK + code: 200 + duration: 100.202652ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1034 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:19.390936Z"}' + headers: + Content-Length: + - "1034" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:19 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1761c096-28da-4d27-837c-563f13c9f0fa + status: 200 OK + code: 200 + duration: 53.16226ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1034 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:19.390936Z"}' + headers: + Content-Length: + - "1034" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 81d29e8d-a7d9-4938-a8e6-742d8e346fdf + status: 200 OK + code: 200 + duration: 54.993334ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 74630cf1-2ea5-4e78-a24b-a93378fc3c80 + status: 200 OK + code: 200 + duration: 51.682887ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 14fbef0b-018b-4905-900d-8e3d11f75638 + status: 200 OK + code: 200 + duration: 69.972203ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0696218e-3837-438d-9ab5-c7174d374c2f + status: 200 OK + code: 200 + duration: 69.311093ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8d07436e-96be-478d-aba5-42887176232d + status: 200 OK + code: 200 + duration: 43.741906ms + - 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.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 88df18b1-90c1-4e43-885f-220c3a72df9d + status: 200 OK + code: 200 + duration: 59.628426ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 008aa2c2-7829-4fee-91ec-f552d198b6b9 + status: 200 OK + code: 200 + duration: 55.393294ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a7e6d2e4-50d9-4155-8428-a493d2132db6 + status: 200 OK + code: 200 + duration: 46.637536ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 66adf866-6fd9-4aa3-af8d-337a60a1a04f + status: 200 OK + code: 200 + duration: 48.187713ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1072 + uncompressed: false + body: '{"args":["some","args"],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:25.718328Z"}' + headers: + Content-Length: + - "1072" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 829e4625-7cd0-4734-a9d5-7ebca179b142 + status: 200 OK + code: 200 + duration: 106.697501ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 169 + 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","args":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1023 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:33.933357900Z"}' + headers: + Content-Length: + - "1023" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - efe44252-d32f-4c54-8611-4d7779c660e9 + status: 200 OK + code: 200 + duration: 71.473488ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1020 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:33.933358Z"}' + headers: + Content-Length: + - "1020" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3596bc56-5c6f-4e87-b84f-b6681f8fd3a5 + status: 200 OK + code: 200 + duration: 56.965754ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1020 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"pending","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:33.933358Z"}' + headers: + Content-Length: + - "1020" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 353c38a3-0b2a-4504-a30c-467a30feb5f8 + status: 200 OK + code: 200 + duration: 50.049855ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1058 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:40.351321Z"}' + headers: + Content-Length: + - "1058" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 68483be8-4747-454f-8ba8-80de78ed5e6e + status: 200 OK + code: 200 + duration: 52.109537ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1058 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:40.351321Z"}' + headers: + Content-Length: + - "1058" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f1689aae-d1aa-4474-b74a-536855c93f1a + status: 200 OK + code: 200 + duration: 50.695315ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1058 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:40.351321Z"}' + headers: + Content-Length: + - "1058" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bf9f29f3-7af1-47b2-9fed-0ace8acc5824 + status: 200 OK + code: 200 + duration: 73.082616ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4ab0618a-1ce1-40ff-8f93-848864fca92c + status: 200 OK + code: 200 + duration: 53.164354ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1058 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:40.351321Z"}' + headers: + Content-Length: + - "1058" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f13de539-e331-4217-92a2-5a6093789706 + status: 200 OK + code: 200 + duration: 57.695011ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1058 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":"Image was not found in container registry.","health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"error","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:40.351321Z"}' + headers: + Content-Length: + - "1058" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d690546e-9d9d-4b6a-ae19-f1941397ead0 + status: 200 OK + code: 200 + duration: 55.193289ms + - id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/b7902931-c4d7-4d30-a86b-e11b0704c39f + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 1024 + uncompressed: false + body: '{"args":[],"command":[],"cpu_limit":1000,"created_at":"2025-06-10T15:57:00.522363Z","description":"","domain_name":"tfnselegantdriscollwnsj30w0-tf-co-friendly-proskuriakova.functions.fnc.fr-par.scw.cloud","environment_variables":{},"error_message":null,"health_check":{"failure_threshold":30,"interval":"10s","tcp":{}},"http_option":"enabled","id":"b7902931-c4d7-4d30-a86b-e11b0704c39f","local_storage_limit":1000,"max_concurrency":50,"max_scale":5,"memory_limit":2048,"min_scale":0,"name":"tf-co-friendly-proskuriakova","namespace_id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","port":8080,"privacy":"public","private_network_id":null,"protocol":"http1","ready_at":null,"region":"fr-par","registry_image":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0/tf-co-friendly-proskuriakova:latest","sandbox":"v2","scaling_option":{"concurrent_requests_threshold":50},"secret_environment_variables":[],"status":"deleting","tags":[],"timeout":"300s","updated_at":"2025-06-10T15:57:46.736723140Z"}' + headers: + Content-Length: + - "1024" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7fbddac7-8a8b-4064-9c13-04cea57c004e + status: 200 OK + code: 200 + duration: 113.464851ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 605 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"ready","tags":[],"updated_at":"2025-06-10T15:56:56.282684Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "605" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a28a965b-3926-4305-8fb0-6d5df0bf9cd3 + status: 200 OK + code: 200 + duration: 51.326218ms + - id: 49 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 611 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921129Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "611" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 592be7aa-4b90-436c-8a48-ee8b0dc286b1 + status: 200 OK + code: 200 + duration: 168.248512ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e5decab3-112b-45b2-993e-302599312132 + status: 200 OK + code: 200 + duration: 57.242402ms + - id: 51 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:52 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8ed95781-d823-47ca-b313-071b920dfd5c + status: 200 OK + code: 200 + duration: 52.200827ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:57:57 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0b6ff9ba-615c-46d3-94a1-f98dabed29be + status: 200 OK + code: 200 + duration: 49.90891ms + - id: 53 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:58:02 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 65d84aa7-2843-4fd4-a24b-76af909c793d + status: 200 OK + code: 200 + duration: 51.400347ms + - id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:58:07 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 877c126c-30da-4856-b1b5-84a8e082bc85 + status: 200 OK + code: 200 + duration: 52.079741ms + - id: 55 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 608 + uncompressed: false + body: '{"created_at":"2025-06-10T15:56:55.059877Z","description":"","environment_variables":{},"error_message":null,"id":"ddbb61fa-0fa7-41f1-9ceb-928650aeb62c","name":"tf-ns-elegant-driscoll","organization_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","project_id":"fa1e3217-dc80-42ac-85c3-3f034b78b552","region":"fr-par","registry_endpoint":"rg.fr-par.scw.cloud/funcscwtfnselegantdriscollwnsj30w0","registry_namespace_id":"70c1fd08-c39a-4011-a782-4b53fe5b6d31","secret_environment_variables":[],"status":"deleting","tags":[],"updated_at":"2025-06-10T15:57:46.885921Z","vpc_integration_activated":false}' + headers: + Content-Length: + - "608" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Tue, 10 Jun 2025 15:58:12 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cf925443-b910-48fc-a79b-34eb2fcda795 + status: 200 OK + code: 200 + duration: 46.663003ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/namespaces/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + 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: + - Tue, 10 Jun 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5efe357d-f013-4c1d-9564-f58eee0c19f7 + status: 404 Not Found + code: 404 + duration: 28.845001ms + - id: 57 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.1; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/containers/v1beta1/regions/fr-par/containers/ddbb61fa-0fa7-41f1-9ceb-928650aeb62c + 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: + - Tue, 10 Jun 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 4fd64d84-52d8-40a2-9c77-2b8e0e299a7c + status: 404 Not Found + code: 404 + duration: 27.284855ms