diff --git a/.markdownlinkcheck.json b/.markdownlinkcheck.json
index 52b337ad9..1d780d02c 100644
--- a/.markdownlinkcheck.json
+++ b/.markdownlinkcheck.json
@@ -2,6 +2,9 @@
"ignorePatterns": [
{
"pattern": "^https://github.com/[^/]+/[^/]+/(issues|labels|pull)"
+ },
+ {
+ "pattern": "^https://failover-website.s3-website.fr-par.scw.cloud/"
}
],
"replacementPatterns": [
diff --git a/docs/resources/lb_backend.md b/docs/resources/lb_backend.md
index 77208ceba..0bcd9db3c 100644
--- a/docs/resources/lb_backend.md
+++ b/docs/resources/lb_backend.md
@@ -57,6 +57,9 @@ The following arguments are supported:
- `timeout_server` - (Optional) Maximum server connection inactivity time. (e.g.: `1s`)
- `timeout_connect` - (Optional) Maximum initial server connection establishment time. (e.g.: `1s`)
- `timeout_tunnel` - (Optional) Maximum tunnel inactivity time. (e.g.: `1s`)
+- `failover_host` - (Optional) Scaleway S3 bucket website to be served in case all backend servers are down.
+~> **Note:** Only the host part of the Scaleway S3 bucket website is expected:
+e.g. 'failover-website.s3-website.fr-par.scw.cloud' if your bucket website URL is 'https://failover-website.s3-website.fr-par.scw.cloud/'.
### Health Check arguments
diff --git a/scaleway/resource_lb_backend.go b/scaleway/resource_lb_backend.go
index 9167fcc85..7bcb25700 100644
--- a/scaleway/resource_lb_backend.go
+++ b/scaleway/resource_lb_backend.go
@@ -239,6 +239,14 @@ func resourceScalewayLbBackend() *schema.Resource {
Optional: true,
Description: "Modify what occurs when a backend server is marked down",
},
+ "failover_host": {
+ Type: schema.TypeString,
+ Optional: true,
+ Description: `Scaleway S3 bucket website to be served in case all backend servers are down
+
+**NOTE** : Only the host part of the Scaleway S3 bucket website is expected.
+E.g. 'failover-website.s3-website.fr-par.scw.cloud' if your bucket website URL is 'https://failover-website.s3-website.fr-par.scw.cloud/'.`,
+ },
},
}
}
@@ -312,6 +320,7 @@ func resourceScalewayLbBackendCreate(ctx context.Context, d *schema.ResourceData
TimeoutConnect: timeoutConnect,
TimeoutTunnel: timeoutTunnel,
OnMarkedDownAction: expandLbBackendMarkdownAction(d.Get("on_marked_down_action")),
+ FailoverHost: expandStringPtr(d.Get("failover_host")),
}
// deprecated attribute
@@ -375,6 +384,7 @@ func resourceScalewayLbBackendRead(ctx context.Context, d *schema.ResourceData,
_ = d.Set("health_check_http", flattenLbHCHTTP(backend.HealthCheck.HTTPConfig))
_ = d.Set("health_check_https", flattenLbHCHTTPS(backend.HealthCheck.HTTPSConfig))
_ = d.Set("send_proxy_v2", flattenBoolPtr(backend.SendProxyV2))
+ _ = d.Set("failover_host", backend.FailoverHost)
_, err = waitForLB(ctx, lbAPI, zone, backend.LB.ID, d.Timeout(schema.TimeoutRead))
if err != nil {
@@ -436,6 +446,7 @@ func resourceScalewayLbBackendUpdate(ctx context.Context, d *schema.ResourceData
TimeoutConnect: timeoutConnect,
TimeoutTunnel: timeoutTunnel,
OnMarkedDownAction: expandLbBackendMarkdownAction(d.Get("on_marked_down_action")),
+ FailoverHost: expandStringPtr(d.Get("failover_host")),
}
// deprecated
diff --git a/scaleway/resource_lb_backend_test.go b/scaleway/resource_lb_backend_test.go
index 6b9e11eeb..30fd59349 100644
--- a/scaleway/resource_lb_backend_test.go
+++ b/scaleway/resource_lb_backend_test.go
@@ -4,6 +4,7 @@ import (
"fmt"
"testing"
+ sdkacctest "github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
lbSDK "github.com/scaleway/scaleway-sdk-go/api/lb/v1"
@@ -188,6 +189,102 @@ func TestAccScalewayLbBackend_HealthCheck(t *testing.T) {
})
}
+func TestAccScalewayLbBackend_WithFailoverHost(t *testing.T) {
+ rName := sdkacctest.RandomWithPrefix("tf-acc-test")
+ resourceName := "scaleway_object_bucket_website_configuration.test"
+
+ tt := NewTestTools(t)
+ defer tt.Cleanup()
+ resource.ParallelTest(t, resource.TestCase{
+ PreCheck: func() { testAccPreCheck(t) },
+ ProviderFactories: tt.ProviderFactories,
+ CheckDestroy: resource.ComposeTestCheckFunc(
+ testAccCheckScalewayLbBackendDestroy(tt),
+ testAccCheckScalewayObjectDestroy(tt),
+ testAccCheckScalewayObjectBucketDestroy(tt),
+ testAccCheckBucketWebsiteConfigurationDestroy(tt),
+ ),
+ Steps: []resource.TestStep{
+ {
+ Config: `
+ resource scaleway_lb_ip ip01 {}
+ resource scaleway_lb lb01 {
+ ip_id = scaleway_lb_ip.ip01.id
+ name = "test-lb"
+ type = "lb-s"
+ }
+
+ resource scaleway_instance_ip ip01 {}
+
+ resource scaleway_lb_backend bkd01 {
+ lb_id = scaleway_lb.lb01.id
+ name = "bkd01"
+ forward_protocol = "http"
+ forward_port = 80
+ proxy_protocol = "none"
+ server_ips = [ scaleway_instance_ip.ip01.address ]
+ }
+ `,
+ Check: testAccCheckScalewayLbBackendExists(tt, "scaleway_lb_backend.bkd01"),
+ },
+ {
+ Config: fmt.Sprintf(`
+ resource "scaleway_object_bucket" "test" {
+ name = %[1]q
+ acl = "public-read"
+ tags = {
+ TestName = "TestAccSCW_WebsiteConfig_basic"
+ }
+ }
+
+ resource scaleway_object "some_file" {
+ bucket = scaleway_object_bucket.test.name
+ key = "index.html"
+ file = "testfixture/index.html"
+ visibility = "public-read"
+ }
+
+ resource "scaleway_object_bucket_website_configuration" "test" {
+ bucket = scaleway_object_bucket.test.name
+ index_document {
+ suffix = "index.html"
+ }
+ error_document {
+ key = "error.html"
+ }
+ }
+
+ resource scaleway_lb_ip ip01 {}
+ resource scaleway_lb lb01 {
+ ip_id = scaleway_lb_ip.ip01.id
+ name = "test-lb"
+ type = "lb-s"
+ }
+
+ resource scaleway_instance_ip ip01 {}
+
+ resource scaleway_lb_backend bkd01 {
+ lb_id = scaleway_lb.lb01.id
+ name = "bkd01"
+ forward_protocol = "http"
+ forward_port = 80
+ proxy_protocol = "none"
+ server_ips = [ scaleway_instance_ip.ip01.address ]
+ failover_host = scaleway_object_bucket_website_configuration.test.website_endpoint
+ }
+ `, rName),
+ Check: resource.ComposeTestCheckFunc(
+ testAccCheckBucketWebsiteConfigurationExists(tt, resourceName),
+ testAccCheckScalewayLbBackendExists(tt, "scaleway_lb_backend.bkd01"),
+ resource.TestCheckResourceAttr(resourceName, "website_endpoint", rName+".s3-website.fr-par.scw.cloud"),
+ resource.TestCheckResourceAttrSet("scaleway_lb_backend.bkd01", "failover_host"),
+ ),
+ ExpectNonEmptyPlan: !*UpdateCassettes,
+ },
+ },
+ })
+}
+
func testAccCheckScalewayLbBackendExists(tt *TestTools, n string) resource.TestCheckFunc {
return func(state *terraform.State) error {
rs, ok := state.RootModule().Resources[n]
diff --git a/scaleway/testdata/lb-backend-with-failover-host.cassette.yaml b/scaleway/testdata/lb-backend-with-failover-host.cassette.yaml
new file mode 100644
index 000000000..76b8062fe
--- /dev/null
+++ b/scaleway/testdata/lb-backend-with-failover-host.cassette.yaml
@@ -0,0 +1,2914 @@
+---
+version: 1
+interactions:
+- request:
+ body: '{"project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","reverse":null}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips
+ method: POST
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":null,"reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "278"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - e8c7fe67-4328-429b-8710-17a3afc1b406
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: GET
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":null,"reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "278"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 721dac46-da20-4cb4-b928-7017c1fbcaac
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","name":"test-lb","description":"","ip_id":"b3854c92-7309-47cd-a7b7-11da950972c7","tags":null,"type":"lb-s","ssl_compatibility_level":"ssl_compatibility_level_intermediate"}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs
+ method: POST
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"to_create","instances":[],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409181Z","updated_at":"2022-11-21T16:58:29.342409181Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "858"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 96158bc8-bf2f-4380-bcdc-07f916798c92
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"to_create","instances":[],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:29.342409Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "852"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - b64b3502-e0fd-459c-8db3-ccfe08acd358
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"project":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5"}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips
+ method: POST
+ response:
+ body: '{"ip": {"id": "19b9d6c4-1312-41f1-b5dd-088f58273cfd", "address": "51.15.239.19",
+ "reverse": null, "server": null, "organization": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5",
+ "project": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5", "zone": "fr-par-1", "tags":
+ []}}'
+ headers:
+ Content-Length:
+ - "253"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Location:
+ - https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - c0de1899-b7a6-45d9-b970-ba5db189e632
+ status: 201 Created
+ code: 201
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ method: GET
+ response:
+ body: '{"ip": {"id": "19b9d6c4-1312-41f1-b5dd-088f58273cfd", "address": "51.15.239.19",
+ "reverse": null, "server": null, "organization": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5",
+ "project": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5", "zone": "fr-par-1", "tags":
+ []}}'
+ headers:
+ Content-Length:
+ - "253"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:29 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 368fe075-6a75-4bb9-acab-2636b13bbd9e
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:58:30.013054Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:59 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - d03be6e4-0849-4c47-8c7c-95cb92dccc19
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:58:30.013054Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:59 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 2a1dd79b-d263-42ba-85d1-087e39de0204
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16/private-networks?order_by=created_at_asc
+ method: GET
+ response:
+ body: '{"private_network":[],"total_count":0}'
+ headers:
+ Content-Length:
+ - "38"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:59 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 67c5c778-c1be-4caa-be23-4c59121e231c
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:58:30.013054Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:58:59 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - d3c7346e-5b89-462a-b8e0-2d84592fcf6c
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"check_max_retries":2,"port":80,"check_send_proxy":false,"check_timeout":30000,"check_delay":60000},"server_ip":["51.15.239.19"],"send_proxy_v2":false,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","failover_host":null,"ssl_bridging":null,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16/backends
+ method: POST
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"pending","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.043500204Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994079Z","updated_at":"2022-11-21T16:59:00.012994079Z","failover_host":null,"ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1741"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9a18bb24-29bc-4db5-98ab-38172a8f8c84
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"pending","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.043500Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1061"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - f1929c98-45c2-4a9a-bfec-ba9fd3d69d36
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"pending","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.043500Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:00.012994Z","failover_host":null,"ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1732"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - c7dadbd1-e223-4ca0-808a-38244a8cbfef
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - d363d1e4-bd9c-4895-b13f-4d6a5fc9fb0e
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:00.012994Z","failover_host":null,"ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1730"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 62aa7a22-6204-44ba-aebe-b66ced7512a2
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: GET
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "312"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 4ae3cb92-f282-4ba9-8ef8-ad7ab4e82179
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ method: GET
+ response:
+ body: '{"ip": {"id": "19b9d6c4-1312-41f1-b5dd-088f58273cfd", "address": "51.15.239.19",
+ "reverse": null, "server": null, "organization": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5",
+ "project": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5", "zone": "fr-par-1", "tags":
+ []}}'
+ headers:
+ Content-Length:
+ - "253"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - e6d2ce2f-10cb-4671-9168-ac3c84382f83
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 187ca231-f140-496b-872a-a24fec670940
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9274188e-f85c-4d7c-8c6f-7c92c7619e2b
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16/private-networks?order_by=created_at_asc
+ method: GET
+ response:
+ body: '{"private_network":[],"total_count":0}'
+ headers:
+ Content-Length:
+ - "38"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:00 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - e9ebcd87-60b1-4a6f-bc6b-5ca81534b831
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:00.012994Z","failover_host":null,"ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1730"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 6b865882-7b93-4f8a-80a6-5bfd17c9d422
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9b9def35-8722-42c8-99a5-38681c1c9aed
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: GET
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "312"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - e61cfde0-8a02-4668-a74c-bd19b2c9c577
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ method: GET
+ response:
+ body: '{"ip": {"id": "19b9d6c4-1312-41f1-b5dd-088f58273cfd", "address": "51.15.239.19",
+ "reverse": null, "server": null, "organization": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5",
+ "project": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5", "zone": "fr-par-1", "tags":
+ []}}'
+ headers:
+ Content-Length:
+ - "253"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 475ad452-590c-4b8f-b413-3e8d8d08570b
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 6be2ae30-f880-42db-aa15-47f4db8cdd2e
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - cc22507c-58f5-48a7-96c9-57699bb0c6c8
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16/private-networks?order_by=created_at_asc
+ method: GET
+ response:
+ body: '{"private_network":[],"total_count":0}'
+ headers:
+ Content-Length:
+ - "38"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 7fce1f6e-d2ac-4a68-8fbb-a83905f62164
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:00.012994Z","failover_host":null,"ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1730"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 7a4e1886-6de8-41a4-81df-479ba392c135
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:01 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - b3c2289c-eb7d-4db3-9922-3208423d36d0
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: fr-par
+ form: {}
+ headers:
+ Content-Length:
+ - "150"
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Acl:
+ - public-read
+ X-Amz-Bucket-Object-Lock-Enabled:
+ - "false"
+ X-Amz-Content-Sha256:
+ - 2cb57fad7b7168921a4c94426cfcb9ee2953f126430595df844e22d50f029060
+ X-Amz-Date:
+ - 20221121T165902Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:07 GMT
+ Location:
+ - /tf-acc-test-7118849172407688641
+ X-Amz-Id-2:
+ - tx233f64beb7814831821d5-00637bae56
+ X-Amz-Request-Id:
+ - tx233f64beb7814831821d5-00637bae56
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: TestNameTestAccSCW_WebsiteConfig_basic
+ form: {}
+ headers:
+ Content-Length:
+ - "159"
+ Content-Md5:
+ - eYCKwSJBQsnx6u3/VsYcYA==
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - 655f2c088fa2a707af6c87509c047218af33d567c6612780a7cb0ba7d2470640
+ X-Amz-Date:
+ - 20221121T165907Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?tagging=
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:07 GMT
+ X-Amz-Id-2:
+ - tx8709c340a2e44c30bfb61-00637bae5b
+ X-Amz-Request-Id:
+ - tx8709c340a2e44c30bfb61-00637bae5b
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ Content-Md5:
+ - 1B2M2Y8AsgTpgAmY7PhCfg==
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Acl:
+ - public-read
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165907Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?acl=
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:08 GMT
+ X-Amz-Id-2:
+ - txfb07849c3ac8430d81f03-00637bae5c
+ X-Amz-Request-Id:
+ - txfb07849c3ac8430d81f03-00637bae5c
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: TestNameTestAccSCW_WebsiteConfig_basic
+ form: {}
+ headers:
+ Content-Length:
+ - "159"
+ Content-Md5:
+ - eYCKwSJBQsnx6u3/VsYcYA==
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - 655f2c088fa2a707af6c87509c047218af33d567c6612780a7cb0ba7d2470640
+ X-Amz-Date:
+ - 20221121T165908Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?tagging=
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:08 GMT
+ X-Amz-Id-2:
+ - tx5d39ef93a01940b6bb0d2-00637bae5c
+ X-Amz-Request-Id:
+ - tx5d39ef93a01940b6bb0d2-00637bae5c
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165908Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?object-lock=
+ method: GET
+ response:
+ body: |-
+
+ ObjectLockConfigurationNotFoundError
Object Lock configuration does not exist for this buckettx18433e5337754776a5153-00637bae5c
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:08 GMT
+ X-Amz-Id-2:
+ - tx18433e5337754776a5153-00637bae5c
+ X-Amz-Request-Id:
+ - tx18433e5337754776a5153-00637bae5c
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165908Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: GET
+ response:
+ body: |-
+
+ tf-acc-test-71188491724076886411000false
+ headers:
+ Content-Length:
+ - "253"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:09 GMT
+ X-Amz-Id-2:
+ - txc52b75815f8345dc8c765-00637bae5d
+ X-Amz-Request-Id:
+ - txc52b75815f8345dc8c765-00637bae5d
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165909Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?tagging=
+ method: GET
+ response:
+ body: TestNameTestAccSCW_WebsiteConfig_basic
+ headers:
+ Content-Length:
+ - "159"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:09 GMT
+ X-Amz-Id-2:
+ - tx9cb79382d1364624850e0-00637bae5d
+ X-Amz-Request-Id:
+ - tx9cb79382d1364624850e0-00637bae5d
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165909Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?cors=
+ method: GET
+ response:
+ body: |-
+
+ NoSuchCORSConfiguration
The CORS configuration does not existtx48fcfada4ee34cf79e56f-00637bae5d
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:09 GMT
+ X-Amz-Id-2:
+ - tx48fcfada4ee34cf79e56f-00637bae5d
+ X-Amz-Request-Id:
+ - tx48fcfada4ee34cf79e56f-00637bae5d
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165909Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?versioning=
+ method: GET
+ response:
+ body: |-
+
+
+ headers:
+ Content-Length:
+ - "113"
+ Content-Type:
+ - text/plain
+ Date:
+ - Mon, 21 Nov 2022 16:59:10 GMT
+ X-Amz-Id-2:
+ - txdf207711cdab4ab99a518-00637bae5d
+ X-Amz-Request-Id:
+ - txdf207711cdab4ab99a518-00637bae5d
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165910Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?lifecycle=
+ method: GET
+ response:
+ body: |-
+
+ NoSuchLifecycleConfiguration
The lifecycle configuration does not exist.tx27591a39aebe4115a0086-00637bae5e
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:10 GMT
+ X-Amz-Id-2:
+ - tx27591a39aebe4115a0086-00637bae5e
+ X-Amz-Request-Id:
+ - tx27591a39aebe4115a0086-00637bae5e
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165910Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: GET
+ response:
+ body: |-
+
+ tf-acc-test-71188491724076886411000false
+ headers:
+ Content-Length:
+ - "253"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:10 GMT
+ X-Amz-Id-2:
+ - tx66fa1d3d9bb24158a1e88-00637bae5e
+ X-Amz-Request-Id:
+ - tx66fa1d3d9bb24158a1e88-00637bae5e
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: error.htmlindex.html
+ form: {}
+ headers:
+ Content-Length:
+ - "203"
+ Content-Md5:
+ - jf4PN/V8jGBeAbKh0T0OVw==
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - 25bb7479fc4f8d34ec53069866ce65e1010fa7985d926d400dad59bd013d82b6
+ X-Amz-Date:
+ - 20221121T165910Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:10 GMT
+ X-Amz-Id-2:
+ - tx10fe76321f7748c0b415b-00637bae5e
+ X-Amz-Request-Id:
+ - tx10fe76321f7748c0b415b-00637bae5e
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165910Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: GET
+ response:
+ body: |-
+
+ tf-acc-test-71188491724076886411000false
+ headers:
+ Content-Length:
+ - "253"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ X-Amz-Id-2:
+ - tx09a0f2e83de34db3b0dac-00637bae5e
+ X-Amz-Request-Id:
+ - tx09a0f2e83de34db3b0dac-00637bae5e
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165911Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: GET
+ response:
+ body: error.htmlindex.html
+ headers:
+ Content-Length:
+ - "203"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ X-Amz-Id-2:
+ - txe31a5e33121043a89519c-00637bae5f
+ X-Amz-Request-Id:
+ - txe31a5e33121043a89519c-00637bae5f
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: |
+
+
+
+
+ My Website
+
+
+
+
Hi! Welcome to my website.
+
+
+
+ form: {}
+ headers:
+ Content-Length:
+ - "189"
+ Content-Md5:
+ - 0MYwWlrDqyue0NCAxhGhbQ==
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Acl:
+ - public-read
+ X-Amz-Content-Sha256:
+ - 4002bedde06755af91eafa383654925b3e2a9c575fd42cacdcd21494141690f3
+ X-Amz-Date:
+ - 20221121T165910Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html
+ method: PUT
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ Etag:
+ - '"d0c6305a5ac3ab2b9ed0d080c611a16d"'
+ Last-Modified:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ X-Amz-Id-2:
+ - txe68b89b05a8d47f79fb9e-00637bae5e
+ X-Amz-Request-Id:
+ - txe68b89b05a8d47f79fb9e-00637bae5e
+ X-Amz-Version-Id:
+ - "1669049951102134"
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - dbdae28e-783e-482a-bc7a-56983e276151
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165911Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html
+ method: HEAD
+ response:
+ body: ""
+ headers:
+ Accept-Ranges:
+ - bytes
+ Content-Length:
+ - "189"
+ Content-Type:
+ - text/html
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Etag:
+ - '"d0c6305a5ac3ab2b9ed0d080c611a16d"'
+ Last-Modified:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ X-Amz-Id-2:
+ - tx98d0f3b07d564f8994826-00637bae5f
+ X-Amz-Request-Id:
+ - tx98d0f3b07d564f8994826-00637bae5f
+ X-Amz-Version-Id:
+ - "1669049951102134"
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","send_proxy_v2":false,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":null,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: PUT
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:00.300481Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:12.219658308Z","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1790"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 8817329b-0cdb-47bc-8bf2-a94d276c385d
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165912Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html?tagging=
+ method: GET
+ response:
+ body: |-
+
+
+ headers:
+ Content-Length:
+ - "115"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ X-Amz-Id-2:
+ - txad6880ad11214e99a1155-00637bae60
+ X-Amz-Request-Id:
+ - txad6880ad11214e99a1155-00637bae60
+ X-Amz-Version-Id:
+ - "1669049951102134"
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"port":80,"check_max_retries":2,"tcp_config":{},"check_send_proxy":false,"check_delay":60000,"check_timeout":30000}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0/healthcheck
+ method: PUT
+ response:
+ body: '{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}}'
+ headers:
+ Content-Length:
+ - "116"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - c11544ab-b45f-4e73-b8ef-7fa4bf08c701
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165912Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html?acl=
+ method: GET
+ response:
+ body: |-
+
+ 564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5http://acs.amazonaws.com/groups/global/AllUsersREAD564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5FULL_CONTROL
+ headers:
+ Content-Length:
+ - "890"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ X-Amz-Id-2:
+ - tx082affadd242404087e62-00637bae60
+ X-Amz-Request-Id:
+ - tx082affadd242404087e62-00637bae60
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: '{"server_ip":["51.15.239.19"]}'
+ form: {}
+ headers:
+ Content-Type:
+ - application/json
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0/servers
+ method: PUT
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.536116Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:12.219658Z","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1787"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - c306768c-6911-4b84-b860-644aade81da3
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.536116Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 6a4483ca-9df5-4d49-a736-32a1579dc56d
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:12.219658Z","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1787"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - ce5e53b5-78e4-4305-97ee-f838cecdd0b9
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:12 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - efeb6aca-2852-4052-bf4f-53a5fc270458
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165913Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: GET
+ response:
+ body: error.htmlindex.html
+ headers:
+ Content-Length:
+ - "203"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ X-Amz-Id-2:
+ - tx67b5f84b3a834b198d14f-00637bae61
+ X-Amz-Request-Id:
+ - tx67b5f84b3a834b198d14f-00637bae61
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:12.219658Z","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1787"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - d7a9e1ee-3cf5-4b4c-8fe0-efec4679ce70
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: GET
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "312"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - a2dba4ec-e7b1-45f4-a81d-7a19ec11c3c5
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ method: GET
+ response:
+ body: '{"ip": {"id": "19b9d6c4-1312-41f1-b5dd-088f58273cfd", "address": "51.15.239.19",
+ "reverse": null, "server": null, "organization": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5",
+ "project": "564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5", "zone": "fr-par-1", "tags":
+ []}}'
+ headers:
+ Content-Length:
+ - "253"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 56a33a03-15bb-45ea-9c24-88bff9608606
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 53cad427-f536-4b2b-9cc2-f1de980a0665
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 73d5249e-dee6-49bc-82f1-e1ca80b3b662
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165913Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?object-lock=
+ method: GET
+ response:
+ body: |-
+
+ ObjectLockConfigurationNotFoundError
Object Lock configuration does not exist for this buckettxcca9f901a3f24c9faaa65-00637bae61
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:13 GMT
+ X-Amz-Id-2:
+ - txcca9f901a3f24c9faaa65-00637bae61
+ X-Amz-Request-Id:
+ - txcca9f901a3f24c9faaa65-00637bae61
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16/private-networks?order_by=created_at_asc
+ method: GET
+ response:
+ body: '{"private_network":[],"total_count":0}'
+ headers:
+ Content-Length:
+ - "38"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:14 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 93cdde87-6d86-43b4-9eb6-d58ce4f02ab2
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165913Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: GET
+ response:
+ body: |-
+
+ tf-acc-test-71188491724076886411000false"d0c6305a5ac3ab2b9ed0d080c611a16d"index.html2022-11-21T16:59:11.000Z189STANDARD564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5
+ headers:
+ Content-Length:
+ - "645"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:14 GMT
+ X-Amz-Id-2:
+ - txc28d4ac88ab74c95a7acb-00637bae61
+ X-Amz-Request-Id:
+ - txc28d4ac88ab74c95a7acb-00637bae61
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165914Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?tagging=
+ method: GET
+ response:
+ body: TestNameTestAccSCW_WebsiteConfig_basic
+ headers:
+ Content-Length:
+ - "159"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:14 GMT
+ X-Amz-Id-2:
+ - tx14272b90f5f94edaa1d20-00637bae62
+ X-Amz-Request-Id:
+ - tx14272b90f5f94edaa1d20-00637bae62
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165914Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?cors=
+ method: GET
+ response:
+ body: |-
+
+ NoSuchCORSConfiguration
The CORS configuration does not existtxd0af7e53acd84d3581fc4-00637bae62
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:14 GMT
+ X-Amz-Id-2:
+ - txd0af7e53acd84d3581fc4-00637bae62
+ X-Amz-Request-Id:
+ - txd0af7e53acd84d3581fc4-00637bae62
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165914Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?versioning=
+ method: GET
+ response:
+ body: |-
+
+
+ headers:
+ Content-Length:
+ - "113"
+ Content-Type:
+ - text/plain
+ Date:
+ - Mon, 21 Nov 2022 16:59:15 GMT
+ X-Amz-Id-2:
+ - txebd84da75dc84cbab87b7-00637bae62
+ X-Amz-Request-Id:
+ - txebd84da75dc84cbab87b7-00637bae62
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165915Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?lifecycle=
+ method: GET
+ response:
+ body: |-
+
+ NoSuchLifecycleConfiguration
The lifecycle configuration does not exist.tx07adc9c96bb14225b605f-00637bae63
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:15 GMT
+ X-Amz-Id-2:
+ - tx07adc9c96bb14225b605f-00637bae63
+ X-Amz-Request-Id:
+ - tx07adc9c96bb14225b605f-00637bae63
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165915Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html
+ method: HEAD
+ response:
+ body: ""
+ headers:
+ Accept-Ranges:
+ - bytes
+ Content-Length:
+ - "189"
+ Content-Type:
+ - text/html
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ Etag:
+ - '"d0c6305a5ac3ab2b9ed0d080c611a16d"'
+ Last-Modified:
+ - Mon, 21 Nov 2022 16:59:11 GMT
+ X-Amz-Id-2:
+ - tx50bed6be22e34241b8176-00637bae63
+ X-Amz-Request-Id:
+ - tx50bed6be22e34241b8176-00637bae63
+ X-Amz-Version-Id:
+ - "1669049951102134"
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165915Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: GET
+ response:
+ body: |-
+
+ tf-acc-test-71188491724076886411000false"d0c6305a5ac3ab2b9ed0d080c611a16d"index.html2022-11-21T16:59:11.000Z189STANDARD564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5
+ headers:
+ Content-Length:
+ - "645"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ X-Amz-Id-2:
+ - txbb219d1cffae4ccfb538a-00637bae63
+ X-Amz-Request-Id:
+ - txbb219d1cffae4ccfb538a-00637bae63
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165916Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html?tagging=
+ method: GET
+ response:
+ body: |-
+
+
+ headers:
+ Content-Length:
+ - "115"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ X-Amz-Id-2:
+ - tx81bf60968ae84ba7b70b8-00637bae64
+ X-Amz-Request-Id:
+ - tx81bf60968ae84ba7b70b8-00637bae64
+ X-Amz-Version-Id:
+ - "1669049951102134"
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165916Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: GET
+ response:
+ body: error.htmlindex.html
+ headers:
+ Content-Length:
+ - "203"
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ X-Amz-Id-2:
+ - txa81d9e84466c4b2b85b00-00637bae64
+ X-Amz-Request-Id:
+ - txa81d9e84466c4b2b85b00-00637bae64
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"id":"03e85e83-6256-4743-9806-26c14b2c04f0","name":"bkd01","forward_protocol":"http","forward_port":80,"forward_port_algorithm":"roundrobin","sticky_sessions":"none","sticky_sessions_cookie_name":"","health_check":{"port":80,"check_delay":60000,"check_timeout":30000,"check_max_retries":2,"check_send_proxy":false,"tcp_config":{}},"pool":["51.15.239.19"],"lb":{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"send_proxy_v2":false,"timeout_server":null,"timeout_connect":null,"timeout_tunnel":null,"on_marked_down_action":"on_marked_down_action_none","proxy_protocol":"proxy_protocol_none","created_at":"2022-11-21T16:59:00.012994Z","updated_at":"2022-11-21T16:59:12.219658Z","failover_host":"tf-acc-test-7118849172407688641.s3-website.fr-par.scw.cloud","ssl_bridging":false}'
+ headers:
+ Content-Length:
+ - "1787"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 99f3f1c3-37b5-4178-8222-761a42217e64
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165916Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html?acl=
+ method: GET
+ response:
+ body: |-
+
+ 564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5http://acs.amazonaws.com/groups/global/AllUsersREAD564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5:564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5FULL_CONTROL
+ headers:
+ Content-Length:
+ - "890"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ X-Amz-Id-2:
+ - tx841133bf81a94b51aa91e-00637bae64
+ X-Amz-Request-Id:
+ - tx841133bf81a94b51aa91e-00637bae64
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:16 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 85f1f2bb-7ba1-4c72-83ec-ce1d61bc8288
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:12.783918Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":1,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9181e019-b611-411c-842a-1a3c2dd3bed9
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 8411da93-f9c8-4d91-aade-001b5e5e8edf
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"pending","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:17.163983Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1061"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9e2af63a-5cdf-4721-88b5-3436f6516a37
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165916Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/index.html
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ X-Amz-Id-2:
+ - tx60c92f0b8f9d4171bc3ec-00637bae64
+ X-Amz-Request-Id:
+ - tx60c92f0b8f9d4171bc3ec-00637bae64
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"ready","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:17.415979Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:58:30.540151Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1059"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 7b7e4793-648f-4420-9842-d08a5ff1622f
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/19b9d6c4-1312-41f1-b5dd-088f58273cfd
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 7e69b768-d703-43df-bc9b-423c3c37678e
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165917Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ X-Amz-Id-2:
+ - txe51d7b97d5a94c75a39ec-00637bae65
+ X-Amz-Request-Id:
+ - txe51d7b97d5a94c75a39ec-00637bae65
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16?release_ip=false
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 3cd14637-e28e-4c86-9d7a-066bca1a96d9
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","name":"test-lb","description":"","status":"to_delete","instances":[{"id":"e34c23ee-6ae9-4ed0-9663-348a393cd488","status":"ready","ip_address":"10.74.58.87","created_at":"2022-11-21T16:56:31.362977Z","updated_at":"2022-11-21T16:59:17.415979Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","ip":[{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":"d9ba7a83-3f7b-4778-bd4c-453bd90fbd16","reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2022-11-21T16:58:29.342409Z","updated_at":"2022-11-21T16:59:17.578564Z","private_network_count":0,"route_count":0,"region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "1063"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:17 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - d9f1445a-dfc2-4180-ac1b-9992fb19e20a
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165917Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Length:
+ - "0"
+ Content-Type:
+ - text/html; charset=UTF-8
+ Date:
+ - Mon, 21 Nov 2022 16:59:27 GMT
+ X-Amz-Id-2:
+ - txa337f85ef3434b668c1d1-00637bae65
+ X-Amz-Request-Id:
+ - txa337f85ef3434b668c1d1-00637bae65
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"message":"lbs not Found"}'
+ headers:
+ Content-Length:
+ - "27"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:47 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - ebacf035-8761-4f5a-a266-1260ac0254ef
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/d9ba7a83-3f7b-4778-bd4c-453bd90fbd16
+ method: GET
+ response:
+ body: '{"message":"lbs not Found"}'
+ headers:
+ Content-Length:
+ - "27"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:47 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 2745c0f8-f4a9-4950-8051-1e94fce3ef0c
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: GET
+ response:
+ body: '{"id":"b3854c92-7309-47cd-a7b7-11da950972c7","ip_address":"195.154.71.57","organization_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","project_id":"564aa517-68b0-4fd7-8c8c-d21c4bcdcbd5","lb_id":null,"reverse":"195-154-71-57.lb.fr-par.scw.cloud","region":"fr-par","zone":"fr-par-1"}'
+ headers:
+ Content-Length:
+ - "278"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:47 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 25ed543d-ab12-464b-a704-8ee09ac33efa
+ status: 200 OK
+ code: 200
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/ips/b3854c92-7309-47cd-a7b7-11da950972c7
+ method: DELETE
+ response:
+ body: ""
+ headers:
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:48 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 9e6f2b42-3897-489b-b96b-365ddc190e3b
+ status: 204 No Content
+ code: 204
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19.1; darwin; amd64) terraform-provider/develop
+ terraform/terraform-tests
+ url: https://api.scaleway.com/lb/v1/zones/fr-par-1/backends/03e85e83-6256-4743-9806-26c14b2c04f0
+ method: GET
+ response:
+ body: '{"message":"backend not Found"}'
+ headers:
+ Content-Length:
+ - "31"
+ Content-Security-Policy:
+ - default-src 'none'; frame-ancestors 'none'
+ Content-Type:
+ - application/json
+ Date:
+ - Mon, 21 Nov 2022 16:59:48 GMT
+ Server:
+ - Scaleway API-Gateway
+ Strict-Transport-Security:
+ - max-age=63072000
+ X-Content-Type-Options:
+ - nosniff
+ X-Frame-Options:
+ - DENY
+ X-Request-Id:
+ - 14f3e183-a81a-49ee-ad9e-314a5430628f
+ status: 404 Not Found
+ code: 404
+ duration: ""
+- request:
+ body: ""
+ form: {}
+ headers:
+ User-Agent:
+ - aws-sdk-go/1.44.128 (go1.19.1; darwin; amd64)
+ X-Amz-Content-Sha256:
+ - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ X-Amz-Date:
+ - 20221121T165948Z
+ url: https://tf-acc-test-7118849172407688641.s3.fr-par.scw.cloud/?website=
+ method: GET
+ response:
+ body: |-
+
+ NoSuchBucket
The specified bucket does not exist.txb99edfb0e3c64fd49272e-00637bae84tf-acc-test-7118849172407688641
+ headers:
+ Content-Type:
+ - application/xml
+ Date:
+ - Mon, 21 Nov 2022 16:59:48 GMT
+ X-Amz-Id-2:
+ - txb99edfb0e3c64fd49272e-00637bae84
+ X-Amz-Request-Id:
+ - txb99edfb0e3c64fd49272e-00637bae84
+ status: 404 Not Found
+ code: 404
+ duration: ""
diff --git a/scaleway/testfixture/index.html b/scaleway/testfixture/index.html
new file mode 100644
index 000000000..5bed61351
--- /dev/null
+++ b/scaleway/testfixture/index.html
@@ -0,0 +1,12 @@
+
+
+
+
+ My Website
+
+
+
+
Hi! Welcome to my website.
+
+
+