diff --git a/internal/services/iam/api_key_test.go b/internal/services/iam/api_key_test.go index 20f69444d..6a9287c5f 100644 --- a/internal/services/iam/api_key_test.go +++ b/internal/services/iam/api_key_test.go @@ -106,8 +106,7 @@ func TestAccApiKey_WithApplicationChange(t *testing.T) { ), }, { - Config: ` - resource "scaleway_iam_application" "main" { + Config: `resource "scaleway_iam_application" "main" { name = "tf_tests_api_key_app_change" } @@ -120,18 +119,8 @@ func TestAccApiKey_WithApplicationChange(t *testing.T) { description = "tf_tests_with_application_change" } `, - Check: resource.ComposeTestCheckFunc( - testAccCheckIamAPIKeyExists(tt, "scaleway_iam_api_key.main"), - resource.TestCheckResourceAttrPair("scaleway_iam_api_key.main", "application_id", "scaleway_iam_application.main2", "id"), - resource.TestCheckResourceAttr("scaleway_iam_api_key.main", "description", "tf_tests_with_application_change"), - resource.TestCheckResourceAttrSet("scaleway_iam_api_key.main", "secret_key"), - ), - }, - { - ResourceName: "scaleway_iam_api_key.main", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{"secret_key"}, + ExpectNonEmptyPlan: true, + PlanOnly: true, }, }, }) diff --git a/internal/services/iam/testdata/api-key-with-application-change.cassette.yaml b/internal/services/iam/testdata/api-key-with-application-change.cassette.yaml index dab7c600d..73b2c5e45 100644 --- a/internal/services/iam/testdata/api-key-with-application-change.cassette.yaml +++ b/internal/services/iam/testdata/api-key-with-application-change.cassette.yaml @@ -6,9 +6,9 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 123 + content_length: 122 host: api.scaleway.com - body: "{\"name\":\"tf_tests_api_key_app_change2\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":[]}" + body: "{\"name\":\"tf_tests_api_key_app_change\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":[]}" headers: Content-Type: - application/json @@ -20,30 +20,30 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 328 - body: "{\"id\":\"5eeb7338-662b-45f1-97a3-e34055634995\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.883352Z\", \"updated_at\":\"2025-11-17T17:10:43.883352Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + content_length: 327 + body: "{\"id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.153907Z\", \"updated_at\":\"2025-11-21T17:17:44.153907Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "328" + - "327" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:43 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 30af95bd-0e14-4d0b-b01e-3cbcf8327a30 + - b4db045b-0838-4f55-b46f-9fcf0c0ef97b status: 200 OK code: 200 - duration: 130.482131ms + duration: 496.281774ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 122 + content_length: 123 host: api.scaleway.com - body: "{\"name\":\"tf_tests_api_key_app_change\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":[]}" + body: "{\"name\":\"tf_tests_api_key_app_change2\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":[]}" headers: Content-Type: - application/json @@ -55,22 +55,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 327 - body: "{\"id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.888864Z\", \"updated_at\":\"2025-11-17T17:10:43.888864Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + content_length: 328 + body: "{\"id\":\"5e771929-e91d-4ba3-b89c-e9658b651de3\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.165636Z\", \"updated_at\":\"2025-11-21T17:17:44.165636Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "327" + - "328" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:43 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 6e08dfbc-60f4-4353-899c-e69540957ac0 + - 61fbb91a-d1b0-42ba-81bd-801258253763 status: 200 OK code: 200 - duration: 133.355609ms + duration: 496.28148ms - id: 2 request: proto: HTTP/1.1 @@ -81,28 +81,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 + url: https://api.scaleway.com/iam/v1alpha1/applications/69b0cf02-52b9-4b61-add0-5824583a4e83 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 328 - body: "{\"id\":\"5eeb7338-662b-45f1-97a3-e34055634995\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.883352Z\", \"updated_at\":\"2025-11-17T17:10:43.883352Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + content_length: 327 + body: "{\"id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.153907Z\", \"updated_at\":\"2025-11-21T17:17:44.153907Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "328" + - "327" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:43 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 52c0aa49-07ca-4c3f-9487-569266b0271c + - b05626e9-dbc2-448c-82f3-a5e095273051 status: 200 OK code: 200 - duration: 42.211263ms + duration: 240.961763ms - id: 3 request: proto: HTTP/1.1 @@ -113,28 +113,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e + url: https://api.scaleway.com/iam/v1alpha1/applications/5e771929-e91d-4ba3-b89c-e9658b651de3 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 327 - body: "{\"id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.888864Z\", \"updated_at\":\"2025-11-17T17:10:43.888864Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + content_length: 328 + body: "{\"id\":\"5e771929-e91d-4ba3-b89c-e9658b651de3\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.165636Z\", \"updated_at\":\"2025-11-21T17:17:44.165636Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "327" + - "328" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:43 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 3fd98f57-f92f-4a4c-baf3-2a4f8d91805e + - 55f0c2b3-a07d-41f0-b444-4d8a754e2f82 status: 200 OK code: 200 - duration: 87.636635ms + duration: 240.958781ms - id: 4 request: proto: HTTP/1.1 @@ -142,7 +142,7 @@ interactions: proto_minor: 1 content_length: 106 host: api.scaleway.com - body: "{\"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\",\"description\":\"tf_tests_with_application_change\"}" + body: "{\"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\",\"description\":\"tf_tests_with_application_change\"}" headers: Content-Type: - application/json @@ -155,21 +155,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 448 - body: "{\"access_key\":\"SCWHHES1Z8KZKYE67W4A\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:44.308614Z\", \"updated_at\":\"2025-11-17T17:10:44.308614Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\"}" + body: "{\"access_key\":\"SCWY8HCA7X9YVV2A13AV\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-21T17:17:44.800218Z\", \"updated_at\":\"2025-11-21T17:17:44.800218Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\"}" headers: Content-Length: - "448" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:44 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c99a66bf-b7fe-4642-82b8-30155c97c1b5 + - cd237e93-23a8-4fb8-987a-35bd4160e468 status: 200 OK code: 200 - duration: 333.074529ms + duration: 273.697356ms - id: 5 request: proto: HTTP/1.1 @@ -187,21 +187,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 414 - body: "{\"access_key\":\"SCWHHES1Z8KZKYE67W4A\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:44.308614Z\", \"updated_at\":\"2025-11-17T17:10:44.308614Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\"}" + body: "{\"access_key\":\"SCWY8HCA7X9YVV2A13AV\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-21T17:17:44.800218Z\", \"updated_at\":\"2025-11-21T17:17:44.800218Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\"}" headers: Content-Length: - "414" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:44 GMT + - Fri, 21 Nov 2025 17:17:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c6a813bb-f332-4f0b-9f09-d9e27b094547 + - ffe03192-a785-4bab-a061-21f709dbc630 status: 200 OK code: 200 - duration: 212.5894ms + duration: 208.661369ms - id: 6 request: proto: HTTP/1.1 @@ -219,21 +219,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 414 - body: "{\"access_key\":\"SCWHHES1Z8KZKYE67W4A\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:44.308614Z\", \"updated_at\":\"2025-11-17T17:10:44.308614Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\"}" + body: "{\"access_key\":\"SCWY8HCA7X9YVV2A13AV\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-21T17:17:44.800218Z\", \"updated_at\":\"2025-11-21T17:17:44.800218Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\"}" headers: Content-Length: - "414" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:44 GMT + - Fri, 21 Nov 2025 17:17:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 80997902-6d98-4747-a035-6c41daf0849b + - 2dada575-8614-4f79-97d8-80e342f36424 status: 200 OK code: 200 - duration: 46.616372ms + duration: 301.329737ms - id: 7 request: proto: HTTP/1.1 @@ -244,28 +244,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 + url: https://api.scaleway.com/iam/v1alpha1/applications/5e771929-e91d-4ba3-b89c-e9658b651de3 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 328 - body: "{\"id\":\"5eeb7338-662b-45f1-97a3-e34055634995\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.883352Z\", \"updated_at\":\"2025-11-17T17:10:43.883352Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + body: "{\"id\":\"5e771929-e91d-4ba3-b89c-e9658b651de3\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.165636Z\", \"updated_at\":\"2025-11-21T17:17:44.165636Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - "328" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:45 GMT + - Fri, 21 Nov 2025 17:17:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - bd815082-c5f6-4a79-9440-032d3a060185 + - fd2ce090-3f8b-480c-9a0d-dbe502bbfb16 status: 200 OK code: 200 - duration: 57.599887ms + duration: 297.754375ms - id: 8 request: proto: HTTP/1.1 @@ -276,28 +276,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e + url: https://api.scaleway.com/iam/v1alpha1/applications/69b0cf02-52b9-4b61-add0-5824583a4e83 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 327 - body: "{\"id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.888864Z\", \"updated_at\":\"2025-11-17T17:10:43.888864Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":1, \"tags\":[]}" + body: "{\"id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.153907Z\", \"updated_at\":\"2025-11-21T17:17:44.153907Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":1, \"tags\":[]}" headers: Content-Length: - "327" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:45 GMT + - Fri, 21 Nov 2025 17:17:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - e3219808-6280-4243-9b0a-90d2c869969f + - fb06efd5-546f-4f6e-9d55-f08fd0a5c3c1 status: 200 OK code: 200 - duration: 74.011738ms + duration: 297.757281ms - id: 9 request: proto: HTTP/1.1 @@ -315,21 +315,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 414 - body: "{\"access_key\":\"SCWHHES1Z8KZKYE67W4A\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:44.308614Z\", \"updated_at\":\"2025-11-17T17:10:44.308614Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\"}" + body: "{\"access_key\":\"SCWY8HCA7X9YVV2A13AV\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-21T17:17:44.800218Z\", \"updated_at\":\"2025-11-21T17:17:44.800218Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\"}" headers: Content-Length: - "414" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:45 GMT + - Fri, 21 Nov 2025 17:17:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - abb9fd8d-d83b-406c-9de5-5deb071a72e4 + - f32fd7c0-2f6b-4acc-aa27-e99b3d4d24d5 status: 200 OK code: 200 - duration: 170.323033ms + duration: 233.478483ms - id: 10 request: proto: HTTP/1.1 @@ -340,28 +340,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 + url: https://api.scaleway.com/iam/v1alpha1/applications/69b0cf02-52b9-4b61-add0-5824583a4e83 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 328 - body: "{\"id\":\"5eeb7338-662b-45f1-97a3-e34055634995\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.883352Z\", \"updated_at\":\"2025-11-17T17:10:43.883352Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + content_length: 327 + body: "{\"id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.153907Z\", \"updated_at\":\"2025-11-21T17:17:44.153907Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":1, \"tags\":[]}" headers: Content-Length: - - "328" + - "327" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:46 GMT + - Fri, 21 Nov 2025 17:17:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - e896c169-aeda-4815-95fc-87ef8b341498 + - 036c07a9-3b45-402c-9825-7bd0f7a65aae status: 200 OK code: 200 - duration: 47.546093ms + duration: 176.681236ms - id: 11 request: proto: HTTP/1.1 @@ -372,28 +372,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e + url: https://api.scaleway.com/iam/v1alpha1/applications/5e771929-e91d-4ba3-b89c-e9658b651de3 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 327 - body: "{\"id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.888864Z\", \"updated_at\":\"2025-11-17T17:10:43.888864Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":1, \"tags\":[]}" + content_length: 328 + body: "{\"id\":\"5e771929-e91d-4ba3-b89c-e9658b651de3\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-21T17:17:44.165636Z\", \"updated_at\":\"2025-11-21T17:17:44.165636Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "327" + - "328" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:46 GMT + - Fri, 21 Nov 2025 17:17:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0225e627-65a8-486a-b2c8-b1684052cd68 + - 8c4466b3-aa3c-44bb-b9f0-e7d6a1423c20 status: 200 OK code: 200 - duration: 52.95589ms + duration: 265.256979ms - id: 12 request: proto: HTTP/1.1 @@ -411,21 +411,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 414 - body: "{\"access_key\":\"SCWHHES1Z8KZKYE67W4A\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:44.308614Z\", \"updated_at\":\"2025-11-17T17:10:44.308614Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\"}" + body: "{\"access_key\":\"SCWY8HCA7X9YVV2A13AV\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-21T17:17:44.800218Z\", \"updated_at\":\"2025-11-21T17:17:44.800218Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\"}" headers: Content-Length: - "414" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:46 GMT + - Fri, 21 Nov 2025 17:17:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - b170535f-e95b-4221-9e97-7cc95d192b6a + - c705a6f5-0bea-4aa7-8299-04187ac0fecc status: 200 OK code: 200 - duration: 69.83452ms + duration: 61.665046ms - id: 13 request: proto: HTTP/1.1 @@ -436,7 +436,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX + url: https://api.scaleway.com/iam/v1alpha1/applications/5e771929-e91d-4ba3-b89c-e9658b651de3 method: DELETE response: proto: HTTP/2.0 @@ -448,50 +448,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:47 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - ff801793-7a64-4926-92e1-a82bf1890847 + - db46629e-fd40-4f4a-bfc0-a2477bb70b5f status: 204 No Content code: 204 - duration: 185.787854ms + duration: 158.258421ms - id: 14 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 106 - host: api.scaleway.com - body: "{\"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\",\"description\":\"tf_tests_with_application_change\"}" - headers: - Content-Type: - - application/json - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 448 - body: "{\"access_key\":\"SCW0BMQ92YS4RAVJV5KB\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:47.543305Z\", \"updated_at\":\"2025-11-17T17:10:47.543305Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\"}" - headers: - Content-Length: - - "448" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:47 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 43cbb221-eeea-48ce-aeac-73c88e7e482f - status: 200 OK - code: 200 - duration: 224.184967ms -- id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -502,228 +467,6 @@ interactions: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 414 - body: "{\"access_key\":\"SCW0BMQ92YS4RAVJV5KB\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:47.543305Z\", \"updated_at\":\"2025-11-17T17:10:47.543305Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\"}" - headers: - Content-Length: - - "414" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:47 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 2ab8519a-de6a-4859-81ae-d6d9814f619e - status: 200 OK - code: 200 - duration: 63.615842ms -- id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 414 - body: "{\"access_key\":\"SCW0BMQ92YS4RAVJV5KB\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:47.543305Z\", \"updated_at\":\"2025-11-17T17:10:47.543305Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\"}" - headers: - Content-Length: - - "414" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:47 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 53d947cc-6562-4cfd-8872-6f3d68d0076e - status: 200 OK - code: 200 - duration: 65.467573ms -- id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 327 - body: "{\"id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\", \"name\":\"tf_tests_api_key_app_change\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.888864Z\", \"updated_at\":\"2025-11-17T17:10:43.888864Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" - headers: - Content-Length: - - "327" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:48 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 2c12b9f4-bfdc-4aa5-8736-e659c5370d18 - status: 200 OK - code: 200 - duration: 74.046755ms -- id: 18 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 328 - body: "{\"id\":\"5eeb7338-662b-45f1-97a3-e34055634995\", \"name\":\"tf_tests_api_key_app_change2\", \"description\":\"\", \"created_at\":\"2025-11-17T17:10:43.883352Z\", \"updated_at\":\"2025-11-17T17:10:43.883352Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":1, \"tags\":[]}" - headers: - Content-Length: - - "328" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:48 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 7747e3e7-1383-408a-a540-ea0f29c48cee - status: 200 OK - code: 200 - duration: 73.63158ms -- id: 19 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 414 - body: "{\"access_key\":\"SCW0BMQ92YS4RAVJV5KB\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:47.543305Z\", \"updated_at\":\"2025-11-17T17:10:47.543305Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\"}" - headers: - Content-Length: - - "414" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:48 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 16f02f24-7d3c-4e5f-8491-6db5109c0894 - status: 200 OK - code: 200 - duration: 102.870724ms -- id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 414 - body: "{\"access_key\":\"SCW0BMQ92YS4RAVJV5KB\", \"secret_key\":null, \"description\":\"tf_tests_with_application_change\", \"created_at\":\"2025-11-17T17:10:47.543305Z\", \"updated_at\":\"2025-11-17T17:10:47.543305Z\", \"expires_at\":null, \"default_project_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\"}" - headers: - Content-Length: - - "414" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:49 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5c1920cb-781b-4828-8aba-49504a64ca1b - status: 200 OK - code: 200 - duration: 42.538549ms -- id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 0 - body: "" - headers: - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 17:10:50 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 0deef17f-6b6c-411e-bad5-06ba69082131 - status: 204 No Content - code: 204 - duration: 89.083922ms -- id: 22 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e method: DELETE response: proto: HTTP/2.0 @@ -735,15 +478,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 4ff43591-3405-4b5e-8e90-8f6097056e8f + - e7ad1195-276f-4745-882a-642c38e61b38 status: 204 No Content code: 204 - duration: 94.18657ms -- id: 23 + duration: 219.920342ms +- id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -753,7 +496,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 + url: https://api.scaleway.com/iam/v1alpha1/applications/69b0cf02-52b9-4b61-add0-5824583a4e83 method: DELETE response: proto: HTTP/2.0 @@ -765,15 +508,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - bb0de596-11d8-4a38-98f6-36463f676b0d + - 0590157d-1def-4a07-bdad-6c9a948007fb status: 204 No Content code: 204 - duration: 61.168059ms -- id: 24 + duration: 290.980283ms +- id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -790,22 +533,22 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 115 - body: "{\"message\":\"resource is not found\",\"resource\":\"access_key\",\"resource_id\":\"SCW0BMQ92YS4RAVJV5KB\",\"type\":\"not_found\"}" + body: "{\"message\":\"resource is not found\",\"resource\":\"access_key\",\"resource_id\":\"SCWY8HCA7X9YVV2A13AV\",\"type\":\"not_found\"}" headers: Content-Length: - "115" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 21163735-b5d4-41b2-b737-657371bfe47a + - f531bf63-951c-4c9d-920a-035b51859a22 status: 404 Not Found code: 404 - duration: 62.316239ms -- id: 25 + duration: 99.36664ms +- id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -815,29 +558,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b3530e1c-42e5-4e27-8275-5ecfc9dde87e + url: https://api.scaleway.com/iam/v1alpha1/applications/69b0cf02-52b9-4b61-add0-5824583a4e83 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 132 - body: "{\"message\":\"resource is not found\",\"resource\":\"application\",\"resource_id\":\"b3530e1c-42e5-4e27-8275-5ecfc9dde87e\",\"type\":\"not_found\"}" + body: "{\"message\":\"resource is not found\",\"resource\":\"application\",\"resource_id\":\"69b0cf02-52b9-4b61-add0-5824583a4e83\",\"type\":\"not_found\"}" headers: Content-Length: - "132" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c2e72f43-ce48-4b8e-ba39-46666deeb8d3 + - 91bc849e-99e6-4238-9ed8-eef330a8a8b5 status: 404 Not Found code: 404 - duration: 92.139603ms -- id: 26 + duration: 71.801531ms +- id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -847,25 +590,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/5eeb7338-662b-45f1-97a3-e34055634995 + url: https://api.scaleway.com/iam/v1alpha1/applications/5e771929-e91d-4ba3-b89c-e9658b651de3 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 132 - body: "{\"message\":\"resource is not found\",\"resource\":\"application\",\"resource_id\":\"5eeb7338-662b-45f1-97a3-e34055634995\",\"type\":\"not_found\"}" + body: "{\"message\":\"resource is not found\",\"resource\":\"application\",\"resource_id\":\"5e771929-e91d-4ba3-b89c-e9658b651de3\",\"type\":\"not_found\"}" headers: Content-Length: - "132" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:17:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - ef117e83-a283-4932-a8b0-c94eb0900dc4 + - 196b2048-707d-4b0c-8ce2-37e4176d6677 status: 404 Not Found code: 404 - duration: 63.25871ms + duration: 35.956511ms diff --git a/internal/services/iam/testdata/data-source-user-basic.cassette.yaml b/internal/services/iam/testdata/data-source-user-basic.cassette.yaml index e21916f4f..a06f9d2b7 100644 --- a/internal/services/iam/testdata/data-source-user-basic.cassette.yaml +++ b/internal/services/iam/testdata/data-source-user-basic.cassette.yaml @@ -27,29 +27,29 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 4420 - body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-10-28T05:00:28.599503Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-28T05:00:28.621017Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-17T16:31:30.143175Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-17T16:31:30.160634Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":8}" + body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-11-21T08:55:06.268095Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T08:55:06.272381Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-21T17:09:16.077338Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T17:09:16.096075Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":8}" headers: Content-Length: - "4420" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:49 GMT + - Fri, 21 Nov 2025 17:18:17 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 9145199c-35bc-44e0-b94a-ae50d0aa53e1 + - 134c2e39-fefd-4682-a606-69ba4fa7f0f5 status: 200 OK code: 200 - duration: 110.757854ms + duration: 359.498831ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 253 + content_length: 283 host: api.scaleway.com - body: "{\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"member\":{\"email\":\"foo@scaleway.com\",\"send_password_email\":false,\"send_welcome_email\":false,\"username\":\"foo\",\"password\":\"\",\"first_name\":\"\",\"last_name\":\"\",\"phone_number\":\"\",\"locale\":\"\"}}" + body: "{\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"member\":{\"email\":\"testdatasourceuser@scaleway.com\",\"send_password_email\":false,\"send_welcome_email\":false,\"username\":\"testdatasourceuser\",\"password\":\"\",\"first_name\":\"\",\"last_name\":\"\",\"phone_number\":\"\",\"locale\":\"\"}}" headers: Content-Type: - application/json @@ -61,22 +61,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:18:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0768d7e0-c9e5-4702-846c-da17d29f1751 + - 2a17a7ff-745f-44c1-ab3e-576fdbe170f3 status: 200 OK code: 200 - duration: 365.262214ms + duration: 481.874708ms - id: 2 request: proto: HTTP/1.1 @@ -87,28 +87,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:18:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 738796d9-1dc9-4d69-b1dc-faa01cd9a3c2 + - cea82a09-5c35-4f9a-bdaf-1c5b3eb9b11a status: 200 OK code: 200 - duration: 79.935915ms + duration: 246.144298ms - id: 3 request: proto: HTTP/1.1 @@ -119,28 +119,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:50 GMT + - Fri, 21 Nov 2025 17:18:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 4228b49d-18c4-4f60-9302-3c1491cd8def + - cecbf4f3-b203-4c97-9dab-ff52abf3aa3e status: 200 OK code: 200 - duration: 55.170905ms + duration: 242.250699ms - id: 4 request: proto: HTTP/1.1 @@ -151,28 +151,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:51 GMT + - Fri, 21 Nov 2025 17:18:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 149e8ea6-f3fe-493a-a8cb-33fd35f37960 + - 3beccef9-49cb-46a0-9ec5-520b29efc21c status: 200 OK code: 200 - duration: 77.838381ms + duration: 46.102497ms - id: 5 request: proto: HTTP/1.1 @@ -197,14 +197,14 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:51 GMT + - Fri, 21 Nov 2025 17:18:18 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 7fac016b-7c92-449b-8986-6d8f74405ffd + - cb016bef-2791-4f4c-a6b0-cac6adcd8b63 status: 200 OK code: 200 - duration: 177.823505ms + duration: 259.116041ms - id: 6 request: proto: HTTP/1.1 @@ -230,22 +230,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 4903 - body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-10-28T05:00:28.599503Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-28T05:00:28.621017Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-17T16:31:30.143175Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-17T16:31:30.160634Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":9}" + content_length: 4933 + body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-11-21T08:55:06.268095Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T08:55:06.272381Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-21T17:09:16.077338Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T17:09:16.096075Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":9}" headers: Content-Length: - - "4903" + - "4933" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:51 GMT + - Fri, 21 Nov 2025 17:18:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5f1a0a50-7f59-44b4-b16e-49c19933e85b + - ec33409c-114b-4c86-b006-844431b518b1 status: 200 OK code: 200 - duration: 70.094181ms + duration: 177.42006ms - id: 7 request: proto: HTTP/1.1 @@ -256,28 +256,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:51 GMT + - Fri, 21 Nov 2025 17:18:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - d54edbbb-d7be-4da9-9212-1fa3eba49313 + - 628c4982-ca3a-4860-92a0-df61991eaef5 status: 200 OK code: 200 - duration: 52.223111ms + duration: 175.927353ms - id: 8 request: proto: HTTP/1.1 @@ -285,40 +285,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - order_by: - - created_at_asc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - page: - - "1" - type: - - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users?order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1&type=unknown_type + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 4903 - body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-10-28T05:00:28.599503Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-28T05:00:28.621017Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-17T16:31:30.143175Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-17T16:31:30.160634Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":9}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "4903" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:52 GMT + - Fri, 21 Nov 2025 17:18:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 58655104-1ee1-4a4e-a0db-cc712e19fdbd + - 5619e59a-7136-4545-90a4-7f3fed4602d0 status: 200 OK code: 200 - duration: 52.520265ms + duration: 186.856888ms - id: 9 request: proto: HTTP/1.1 @@ -326,31 +317,40 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - created_at_asc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + page: + - "1" + type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users?order_by=created_at_asc&organization_id=11111111-1111-1111-1111-111111111111&page=1&type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 4933 + body: "{\"users\":[{\"id\":\"ef29ce05-3f2b-4fa0-a259-d76110850d57\", \"email\":\"hashicorp@scaleway.com\", \"username\":\"hashicorp@scaleway.com\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"fr_FR\", \"created_at\":\"2022-03-29T11:44:54.791271Z\", \"updated_at\":\"2025-03-05T14:31:18.088783Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":false, \"last_login_at\":\"2024-06-18T21:39:22.182798Z\", \"type\":\"owner\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"afa9fc32-9d43-417d-9ca0-a4ed6edf27a1\", \"tags\":[], \"locked\":false}, {\"id\":\"84d20ae1-9650-419a-ab74-7ab09b6262e0\", \"email\":\"developer-tools-team@scaleway.com\", \"username\":\"developer-tools-team@scaleway.com\", \"first_name\":\"Developper Tools\", \"last_name\":\"TEAM\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2023-01-23T15:16:01.748877Z\", \"updated_at\":\"2025-06-23T13:16:39.476255Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"ee474852-1f90-4cc1-bad0-4a17998c51e7\", \"email\":\"jremy@scaleway.com\", \"username\":\"jremy@scaleway.com\", \"first_name\":\"Jonathan\", \"last_name\":\"REMY\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-01-17T13:14:30.940996Z\", \"updated_at\":\"2025-11-21T08:55:06.268095Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T08:55:06.272381Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"88b4dde1-f3d4-478a-a281-784d53399a30\", \"email\":\"rleone@scaleway.com\", \"username\":\"rleone@scaleway.com\", \"first_name\":\"Rémy\", \"last_name\":\"LEONE\", \"phone_number\":\"+33667564022\", \"locale\":\"fr_FR\", \"created_at\":\"2024-01-18T09:30:48.009812Z\", \"updated_at\":\"2025-10-29T13:41:56.438633Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-29T13:40:17.341551Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"d8e03283-0413-4305-850a-4cbfc4caaba8\", \"email\":\"lmasson@scaleway.com\", \"username\":\"lmasson@scaleway.com\", \"first_name\":\"Laure\", \"last_name\":\"MASSON\", \"phone_number\":\"+33646316333\", \"locale\":\"en_US\", \"created_at\":\"2024-01-18T09:33:00.754759Z\", \"updated_at\":\"2025-11-09T16:59:42.564500Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-09T16:59:42.587164Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"a893a7b8-07d0-4258-b70b-b4b90d6c254d\", \"email\":\"yfodil@scaleway.com\", \"username\":\"yfodil@scaleway.com\", \"first_name\":\"Yacine\", \"last_name\":\"FODIL\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2024-04-10T13:53:57.102549Z\", \"updated_at\":\"2025-10-23T11:46:41.138432Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-10-23T11:46:41.166526Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"29c74dc1-87e7-4c49-91a1-0ad5540ecdd7\", \"email\":\"lmarabese@scaleway.com\", \"username\":\"lmarabese@scaleway.com\", \"first_name\":\"Leïla\", \"last_name\":\"MARABESE\", \"phone_number\":\"+33648006380\", \"locale\":\"en_US\", \"created_at\":\"2025-04-01T14:29:15.372836Z\", \"updated_at\":\"2025-11-06T17:33:13.755601Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-06T17:33:13.771888Z\", \"type\":\"member\", \"two_factor_enabled\":true, \"status\":\"activated\", \"mfa\":true, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\", \"email\":\"esoulard@scaleway.com\", \"username\":\"esoulard@scaleway.com\", \"first_name\":\"Estelle\", \"last_name\":\"Soulard\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-10-27T15:50:38.591562Z\", \"updated_at\":\"2025-11-21T17:09:16.077338Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":\"2025-11-21T17:09:16.096075Z\", \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}, {\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}], \"total_count\":9}" headers: Content-Length: - - "481" + - "4933" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:52 GMT + - Fri, 21 Nov 2025 17:18:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 4c8225f5-6177-4b0b-8375-7272bbf52ca8 + - aea86120-dd46-4795-b019-7e5b3fba13c9 status: 200 OK code: 200 - duration: 75.511709ms + duration: 187.191408ms - id: 10 request: proto: HTTP/1.1 @@ -361,28 +361,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 481 - body: "{\"id\":\"4560f330-0171-4c97-b231-e25bf6afd724\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:50.595660Z\", \"updated_at\":\"2025-11-17T17:10:50.595660Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 511 + body: "{\"id\":\"aaefcc48-08a0-44ee-8a71-039781ef8955\", \"email\":\"testdatasourceuser@scaleway.com\", \"username\":\"testdatasourceuser\", \"first_name\":\"\", \"last_name\":\"\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:17.932750Z\", \"updated_at\":\"2025-11-21T17:18:17.932750Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "481" + - "511" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:52 GMT + - Fri, 21 Nov 2025 17:18:19 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 9c39d205-7064-43f3-b433-18fb3b99a1c2 + - b821b90c-fa45-46a4-95b6-460a6951cfbe status: 200 OK code: 200 - duration: 177.236134ms + duration: 242.707839ms - id: 11 request: proto: HTTP/1.1 @@ -393,7 +393,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/4560f330-0171-4c97-b231-e25bf6afd724 + url: https://api.scaleway.com/iam/v1alpha1/users/aaefcc48-08a0-44ee-8a71-039781ef8955 method: DELETE response: proto: HTTP/2.0 @@ -405,11 +405,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:53 GMT + - Fri, 21 Nov 2025 17:18:20 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - f504e93e-beb5-46db-8f6f-9ce0f75bf32c + - cd8e2bac-d0d2-4c38-8acc-941370043ce0 status: 204 No Content code: 204 - duration: 258.781486ms + duration: 397.316975ms diff --git a/internal/services/iam/testdata/user-member.cassette.yaml b/internal/services/iam/testdata/user-member.cassette.yaml index 76efa4222..e41cb78e6 100644 --- a/internal/services/iam/testdata/user-member.cassette.yaml +++ b/internal/services/iam/testdata/user-member.cassette.yaml @@ -6,9 +6,9 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 281 + content_length: 291 host: api.scaleway.com - body: "{\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"member\":{\"email\":\"foo@scaleway.com\",\"send_password_email\":false,\"send_welcome_email\":false,\"username\":\"foo\",\"password\":\"Firstaccesspsw123\",\"first_name\":\"Foo\",\"last_name\":\"Bar\",\"phone_number\":\"\",\"locale\":\"en_US\"}}" + body: "{\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"tags\":[],\"member\":{\"email\":\"testuser@scaleway.com\",\"send_password_email\":false,\"send_welcome_email\":false,\"username\":\"testuser\",\"password\":\"Firstaccesspsw123\",\"first_name\":\"Foo\",\"last_name\":\"Bar\",\"phone_number\":\"\",\"locale\":\"en_US\"}}" headers: Content-Type: - application/json @@ -20,22 +20,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:30 GMT + - Fri, 21 Nov 2025 17:18:33 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - eea130a5-50df-434b-9369-e12abaacfefe + - c44b2dbb-ea58-4a21-af6b-701b62a72532 status: 200 OK code: 200 - duration: 522.102035ms + duration: 740.54179ms - id: 1 request: proto: HTTP/1.1 @@ -46,28 +46,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:30 GMT + - Fri, 21 Nov 2025 17:18:33 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 999e7b97-dc14-403d-af61-5ec55b03e4f3 + - f4a494de-8129-42fc-8fae-4442dba97973 status: 200 OK code: 200 - duration: 185.775495ms + duration: 245.378638ms - id: 2 request: proto: HTTP/1.1 @@ -78,28 +78,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:31 GMT + - Fri, 21 Nov 2025 17:18:33 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 11bf6ca4-cf8d-4fe8-9f02-777cfa60ee81 + - 5a5f0c60-a52e-47b8-889d-3e6e5769b0ae status: 200 OK code: 200 - duration: 167.757978ms + duration: 182.16944ms - id: 3 request: proto: HTTP/1.1 @@ -110,28 +110,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:32 GMT + - Fri, 21 Nov 2025 17:18:34 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - f606184b-9fa5-473e-950f-8bc6612ba8a4 + - fc258ae4-f395-4870-a9fb-50b75f23aaeb status: 200 OK code: 200 - duration: 161.952063ms + duration: 50.583258ms - id: 4 request: proto: HTTP/1.1 @@ -142,28 +142,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:32 GMT + - Fri, 21 Nov 2025 17:18:34 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 530b9d63-4432-449f-81cc-8d39c7587f59 + - eba9b27f-bffc-439d-bd10-cb58c57d0a27 status: 200 OK code: 200 - duration: 186.404886ms + duration: 49.569291ms - id: 5 request: proto: HTTP/1.1 @@ -174,28 +174,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 487 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foo@scaleway.com\", \"username\":\"foo\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" + content_length: 497 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"testuser@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"Foo\", \"last_name\":\"Bar\", \"phone_number\":\"\", \"locale\":\"en_US\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[], \"locked\":false}" headers: Content-Length: - - "487" + - "497" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:33 GMT + - Fri, 21 Nov 2025 17:18:34 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5c6166be-3b79-4756-9cbe-5e518f53034c + - 30babc03-1abd-47d0-87b9-3014708f4ca8 status: 200 OK code: 200 - duration: 49.904415ms + duration: 198.160834ms - id: 6 request: proto: HTTP/1.1 @@ -209,28 +209,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: PATCH response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 509 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foobar@scaleway.com\", \"username\":\"foo\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:30.646958Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" + content_length: 514 + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"foobar@scaleway.com\", \"username\":\"testuser\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:33.049812Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" headers: Content-Length: - - "509" + - "514" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:33 GMT + - Fri, 21 Nov 2025 17:18:34 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5632bc59-a22a-41ba-93d4-c4c374727ae0 + - 0a3110e1-09fd-47d9-b468-8cc11713e0a0 status: 200 OK code: 200 - duration: 193.494172ms + duration: 147.426404ms - id: 7 request: proto: HTTP/1.1 @@ -244,28 +244,28 @@ interactions: - application/json User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e/update-username + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0/update-username method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 512 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:33.487240Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:34.800621Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" headers: Content-Length: - "512" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:33 GMT + - Fri, 21 Nov 2025 17:18:34 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 01b03a21-774c-457a-b166-b75b7d64a780 + - 6a520d5d-6c97-4273-b35c-c340bfe157e2 status: 200 OK code: 200 - duration: 182.794631ms + duration: 226.186484ms - id: 8 request: proto: HTTP/1.1 @@ -276,28 +276,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 512 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:33.662378Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:34.964540Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" headers: Content-Length: - "512" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:33 GMT + - Fri, 21 Nov 2025 17:18:35 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 7266fdcd-2021-4be1-9f09-27c23f4aadbe + - c2d53d6d-0fcb-4026-9c96-7f7e8fdeabcd status: 200 OK code: 200 - duration: 158.746741ms + duration: 240.521449ms - id: 9 request: proto: HTTP/1.1 @@ -308,28 +308,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 512 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:33.662378Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:34.964540Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" headers: Content-Length: - "512" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:34 GMT + - Fri, 21 Nov 2025 17:18:35 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - a1253211-9d82-45e5-82cd-0291e143ba74 + - 5baf0d5d-8076-4bfd-9014-ba7a400b86b4 status: 200 OK code: 200 - duration: 196.072373ms + duration: 85.092031ms - id: 10 request: proto: HTTP/1.1 @@ -340,28 +340,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 512 - body: "{\"id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-17T17:10:30.646958Z\", \"updated_at\":\"2025-11-17T17:10:33.662378Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" + body: "{\"id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\", \"email\":\"foobar@scaleway.com\", \"username\":\"foobar\", \"first_name\":\"\", \"last_name\":\"Baz\", \"phone_number\":\"+33112345678\", \"locale\":\"fr_FR\", \"created_at\":\"2025-11-21T17:18:33.049812Z\", \"updated_at\":\"2025-11-21T17:18:34.964540Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"deletable\":true, \"last_login_at\":null, \"type\":\"member\", \"two_factor_enabled\":false, \"status\":\"activated\", \"mfa\":false, \"account_root_user_id\":\"\", \"tags\":[\"tf_tests\"], \"locked\":false}" headers: Content-Length: - "512" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:35 GMT + - Fri, 21 Nov 2025 17:18:35 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 6836c34e-dabc-468e-99c2-ff5c7d496fe2 + - 6fd51e70-55ec-4634-b27e-f93c18198341 status: 200 OK code: 200 - duration: 179.172897ms + duration: 173.020438ms - id: 11 request: proto: HTTP/1.1 @@ -372,7 +372,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: DELETE response: proto: HTTP/2.0 @@ -384,14 +384,14 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:36 GMT + - Fri, 21 Nov 2025 17:18:36 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 702d01d5-8cb9-4352-86fc-e62331526b93 + - 7189384d-d503-48e6-9026-27c3196c90d1 status: 204 No Content code: 204 - duration: 316.494785ms + duration: 386.119157ms - id: 12 request: proto: HTTP/1.1 @@ -402,25 +402,25 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/02c5864a-ca2b-4d47-9311-ca4e593f825e + url: https://api.scaleway.com/iam/v1alpha1/users/863ea43d-806f-4e6c-95cf-7e1f5fa185b0 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 125 - body: "{\"message\":\"resource is not found\",\"resource\":\"user\",\"resource_id\":\"02c5864a-ca2b-4d47-9311-ca4e593f825e\",\"type\":\"not_found\"}" + body: "{\"message\":\"resource is not found\",\"resource\":\"user\",\"resource_id\":\"863ea43d-806f-4e6c-95cf-7e1f5fa185b0\",\"type\":\"not_found\"}" headers: Content-Length: - "125" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 17:10:36 GMT + - Fri, 21 Nov 2025 17:18:36 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 985f550f-61eb-49f8-b7ce-6f73600a056e + - f0b88256-ca31-47b9-9518-8695e1e4b805 status: 404 Not Found code: 404 - duration: 57.872509ms + duration: 41.181684ms diff --git a/internal/services/iam/user_data_source_test.go b/internal/services/iam/user_data_source_test.go index a483ddaa3..1027eab2b 100644 --- a/internal/services/iam/user_data_source_test.go +++ b/internal/services/iam/user_data_source_test.go @@ -21,8 +21,8 @@ func TestAccDataSourceUser_Basic(t *testing.T) { { Config: ` resource "scaleway_iam_user" "main" { - email = "foo@scaleway.com" - username = "foo" + email = "testdatasourceuser@scaleway.com" + username = "testdatasourceuser" } data "scaleway_iam_user" "by_id" { diff --git a/internal/services/iam/user_test.go b/internal/services/iam/user_test.go index 7e544ef50..2bc473c5b 100644 --- a/internal/services/iam/user_test.go +++ b/internal/services/iam/user_test.go @@ -23,8 +23,8 @@ func TestAccUser_Member(t *testing.T) { { Config: ` resource "scaleway_iam_user" "member_user" { - email = "foo@scaleway.com" - username = "foo" + email = "testuser@scaleway.com" + username = "testuser" first_name = "Foo" last_name = "Bar" password = "Firstaccesspsw123" @@ -34,8 +34,8 @@ func TestAccUser_Member(t *testing.T) { Check: resource.ComposeTestCheckFunc( testAccCheckIamUserExists(tt, "scaleway_iam_user.member_user"), acctest.CheckResourceAttrUUID("scaleway_iam_user.member_user", "id"), - resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "email", "foo@scaleway.com"), - resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "username", "foo"), + resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "email", "testuser@scaleway.com"), + resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "username", "testuser"), resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "first_name", "Foo"), resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "last_name", "Bar"), resource.TestCheckResourceAttr("scaleway_iam_user.member_user", "password", "Firstaccesspsw123"),