diff --git a/docs/resources/iam_group_membership.md b/docs/resources/iam_group_membership.md index 2cded6dd4a..6761bf96b7 100644 --- a/docs/resources/iam_group_membership.md +++ b/docs/resources/iam_group_membership.md @@ -24,7 +24,7 @@ resource "scaleway_iam_application" "app" { resource "scaleway_iam_group_membership" "member" { group_id = scaleway_iam_group.group.id - application_id = scaleway_iam_application.app.id + application_ids = [scaleway_iam_application.app.id] } ``` @@ -51,7 +51,7 @@ resource "scaleway_iam_group" "group" { resource "scaleway_iam_group_membership" "members" { for_each = data.scaleway_iam_user.users group_id = scaleway_iam_group.group.id - user_id = each.value.id + user_ids = [each.value.id] } ``` @@ -59,11 +59,11 @@ resource "scaleway_iam_group_membership" "members" { - `group_id` - (Required) ID of the group to add members to. -- `application_id` - (Optional) The ID of the application that will be added to the group. +- `application_ids` - (Optional) The IDs of the applications that will be added to the group. -- `user_id` - (Optional) The ID of the user that will be added to the group +- `user_ids` - (Optional) The IDs of the users that will be added to the group - -> **Note** You must specify at least one: `application_id` and/or `user_id`. + -> **Note** You must specify at least one: `application_ids` and/or `user_ids`. ## Attributes Reference @@ -71,11 +71,10 @@ No additional attributes are exported. ## Import -IAM group memberships can be imported using two format: +IAM group memberships can be imported using the following format: -- For user: `{group_id}/user/{user_id}` -- For application: `{group_id}/app/{application_id}` +- For user: `{group_id}/user:userID,application:applicationID,...` ```bash -terraform import scaleway_iam_group_membership.app 11111111-1111-1111-1111-111111111111/app/11111111-1111-1111-1111-111111111111 +terraform import scaleway_iam_group_membership.members 11111111-1111-1111-1111-111111111111/user:11111111-1111-1111-1111-111111111111,application:11111111-1111-1111-1111-111111111111 ``` diff --git a/internal/services/iam/group_membership.go b/internal/services/iam/group_membership.go index e3458dc407..d18686133c 100644 --- a/internal/services/iam/group_membership.go +++ b/internal/services/iam/group_membership.go @@ -3,46 +3,57 @@ package iam import ( "context" "fmt" + "slices" "strings" + "time" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/transport" "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" ) +type EntityKind string + +const ( + EntityKindUser EntityKind = "user" + EntityKindApplication EntityKind = "application" +) + func ResourceGroupMembership() *schema.Resource { return &schema.Resource{ CreateContext: resourceIamGroupMembershipCreate, ReadContext: resourceIamGroupMembershipRead, + UpdateContext: resourceIamGroupMembershipUpdate, DeleteContext: resourceIamGroupMembershipDelete, Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, SchemaVersion: 0, Schema: map[string]*schema.Schema{ - "user_id": { - Type: schema.TypeString, - Optional: true, - Description: "The ID of the user", - ExactlyOneOf: []string{"application_id"}, - ForceNew: true, - }, - "application_id": { - Type: schema.TypeString, - Optional: true, - Description: "The ID of the user", - ExactlyOneOf: []string{"user_id"}, - ForceNew: true, - }, "group_id": { Type: schema.TypeString, Required: true, - Description: "The ID of the group to add the user to", + Description: "The ID of the group to add the users or applications to", ForceNew: true, }, + "user_ids": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "The IDs of the users to add to the group", + AtLeastOneOf: []string{"application_ids"}, + }, + "application_ids": { + Type: schema.TypeList, + Elem: &schema.Schema{Type: schema.TypeString}, + Optional: true, + Description: "The IDs of the applications to add to the group", + AtLeastOneOf: []string{"user_ids"}, + }, }, } } @@ -50,19 +61,19 @@ func ResourceGroupMembership() *schema.Resource { func resourceIamGroupMembershipCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := NewAPI(m) - userID := types.ExpandStringPtr(d.Get("user_id")) - applicationID := types.ExpandStringPtr(d.Get("application_id")) + userIDs := types.ExpandStrings(d.Get("user_ids")) + applicationIDs := types.ExpandStrings(d.Get("application_ids")) - group, err := api.AddGroupMember(&iam.AddGroupMemberRequest{ - GroupID: d.Get("group_id").(string), - UserID: userID, - ApplicationID: applicationID, - }, scw.WithContext(ctx)) + group, err := MakeSetGroupMembershipRequest(ctx, api, &iam.SetGroupMembersRequest{ + GroupID: d.Get("group_id").(string), + UserIDs: userIDs, + ApplicationIDs: applicationIDs, + }) if err != nil { return diag.FromErr(err) } - d.SetId(GroupMembershipID(group.ID, userID, applicationID)) + d.SetId(SetGroupMembershipResourceID(group.ID, userIDs, applicationIDs)) return resourceIamGroupMembershipRead(ctx, d, m) } @@ -70,7 +81,7 @@ func resourceIamGroupMembershipCreate(ctx context.Context, d *schema.ResourceDat func resourceIamGroupMembershipRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := NewAPI(m) - groupID, userID, applicationID, err := ExpandGroupMembershipID(d.Id()) + groupID, entityIDs, err := ExpandGroupMembershipResourceID(d.Id()) if err != nil { return diag.FromErr(err) } @@ -88,58 +99,69 @@ func resourceIamGroupMembershipRead(ctx context.Context, d *schema.ResourceData, return diag.FromErr(err) } - foundInGroup := false - - if userID != "" { - for _, groupUserID := range group.UserIDs { - if groupUserID == userID { - foundInGroup = true - - break - } - } - } else if applicationID != "" { - for _, groupApplicationID := range group.ApplicationIDs { - if groupApplicationID == applicationID { - foundInGroup = true - - break - } + for _, userID := range entityIDs[EntityKindUser] { + if !slices.Contains(group.UserIDs, userID) { + return diag.FromErr(fmt.Errorf("user %s not found in group %s", userID, groupID)) } } - if !foundInGroup { - d.SetId("") - - return nil + for _, applicationID := range entityIDs[EntityKindApplication] { + if !slices.Contains(group.ApplicationIDs, applicationID) { + return diag.FromErr(fmt.Errorf("application %s not found in group %s", applicationID, groupID)) + } } _ = d.Set("group_id", groupID) - _ = d.Set("user_id", userID) - _ = d.Set("application_id", applicationID) + _ = d.Set("user_ids", entityIDs[EntityKindUser]) + _ = d.Set("application_ids", entityIDs[EntityKindApplication]) return nil } -func resourceIamGroupMembershipDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { +func resourceIamGroupMembershipUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { api := NewAPI(m) - groupID, userID, applicationID, err := ExpandGroupMembershipID(d.Id()) + groupID, _, err := ExpandGroupMembershipResourceID(d.Id()) if err != nil { return diag.FromErr(err) } - req := &iam.RemoveGroupMemberRequest{ - GroupID: groupID, + userIDs := types.ExpandStrings(d.Get("user_ids")) + applicationIDs := types.ExpandStrings(d.Get("application_ids")) + + request := &iam.SetGroupMembersRequest{ + GroupID: groupID, + UserIDs: userIDs, + ApplicationIDs: applicationIDs, } - if userID != "" { - req.UserID = &userID - } else if applicationID != "" { - req.ApplicationID = &applicationID + if d.HasChanges("user_ids", "application_ids") { + group, err := MakeSetGroupMembershipRequest(ctx, api, request) + if err != nil { + return diag.FromErr(err) + } + + if group.ID != groupID { + return diag.FromErr(fmt.Errorf("group id changed from %s to %s", groupID, group.ID)) + } + + d.SetId(SetGroupMembershipResourceID(groupID, userIDs, applicationIDs)) + } + + return resourceIamGroupMembershipRead(ctx, d, m) +} + +func resourceIamGroupMembershipDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { + api := NewAPI(m) + + groupID, _, err := ExpandGroupMembershipResourceID(d.Id()) + if err != nil { + return diag.FromErr(err) } - _, err = api.RemoveGroupMember(req, scw.WithContext(ctx)) + _, err = MakeSetGroupMembershipRequest(ctx, api, &iam.SetGroupMembersRequest{ + GroupID: groupID, + }) if err != nil { if httperrors.Is404(err) { d.SetId("") @@ -153,28 +175,78 @@ func resourceIamGroupMembershipDelete(ctx context.Context, d *schema.ResourceDat return nil } -func GroupMembershipID(groupID string, userID *string, applicationID *string) string { - if userID != nil { - return fmt.Sprintf("%s/user/%s", groupID, *userID) +// Build a parsable state with the following format: +// groupID/user:userID,application:applicationID +func SetGroupMembershipResourceID(groupID string, userIDs []string, applicationIDs []string) (resourceID string) { + entityIDs := make([]string, 0) + + for _, userID := range userIDs { + entityIDs = append(entityIDs, fmt.Sprintf("%s:%s", EntityKindUser, userID)) + } + + for _, applicationID := range applicationIDs { + entityIDs = append(entityIDs, fmt.Sprintf("%s:%s", EntityKindApplication, applicationID)) } - return fmt.Sprintf("%s/app/%s", groupID, *applicationID) + resourceID = fmt.Sprintf("%s/%s", groupID, strings.Join(entityIDs, ",")) + + return } -func ExpandGroupMembershipID(id string) (groupID string, userID string, applicationID string, err error) { +// Parse the group membership resource id and return the group id and the map of entity ids by kind +func ExpandGroupMembershipResourceID(id string) (groupID string, entityIDs map[EntityKind][]string, err error) { elems := strings.Split(id, "/") - if len(elems) != 3 { - return "", "", "", fmt.Errorf("invalid group member id format, expected {groupID}/{type}/{memberID}, got: %s", id) + if len(elems) != 2 { + return "", nil, fmt.Errorf("invalid group membership id format, expected {groupID}/{entityKind}:{entityIDs}, got: %s", id) } groupID = elems[0] - switch elems[1] { - case "user": - userID = elems[2] - case "app": - applicationID = elems[2] + // entityKind:entityID,entityKind:entityID + entityKindAndIDs := strings.Split(elems[1], ",") + entityIDs = make(map[EntityKind][]string) + + for _, entityKindAndID := range entityKindAndIDs { + splitted := strings.Split(entityKindAndID, ":") + if len(splitted) != 2 { + return "", nil, fmt.Errorf("invalid entity kind and id format, expected {entityKind}:{entityID}, got: %s", entityKindAndID) + } + + entityKind, entityID := EntityKind(splitted[0]), splitted[1] + if entityKind != EntityKindUser && entityKind != EntityKindApplication { + return "", nil, fmt.Errorf("invalid entity kind, expected %s or %s, got: %s", EntityKindUser, EntityKindApplication, entityKind) + } + + entityIDs[entityKind] = append(entityIDs[entityKind], entityID) } return } + +func MakeSetGroupMembershipRequest(ctx context.Context, api *iam.API, request *iam.SetGroupMembersRequest) (*iam.Group, error) { + retryInterval := 250 * time.Millisecond + maxRetries := 10 + + if transport.DefaultWaitRetryInterval != nil { + retryInterval = *transport.DefaultWaitRetryInterval + } + + // the IAM API often returns a 409 when the group is in a transient state + // so we retry with an exponential backoff + for i := range maxRetries { + response, err := api.SetGroupMembers(request, scw.WithContext(ctx)) + if err != nil { + if httperrors.Is409(err) && strings.Contains(err.Error(), fmt.Sprintf("resource group with ID %s is in a transient state: updating", request.GroupID)) { + time.Sleep(retryInterval * time.Duration(i)) // lintignore: R018 + + continue + } + + return nil, err + } + + return response, nil + } + + return nil, fmt.Errorf("failed to set group membership after %d retries", maxRetries) +} diff --git a/internal/services/iam/group_membership_test.go b/internal/services/iam/group_membership_test.go index c92bdc0d88..9b9984f3db 100644 --- a/internal/services/iam/group_membership_test.go +++ b/internal/services/iam/group_membership_test.go @@ -1,8 +1,8 @@ package iam_test import ( - "errors" "fmt" + "slices" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" @@ -12,7 +12,7 @@ import ( "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/iam" ) -func TestAccGroupMembership_Basic(t *testing.T) { +func TestAccGroupMembership_MultipleEntities(t *testing.T) { tt := acctest.NewTestTools(t) defer tt.Cleanup() @@ -22,212 +22,125 @@ func TestAccGroupMembership_Basic(t *testing.T) { CheckDestroy: resource.ComposeTestCheckFunc( testAccCheckIamGroupDestroy(tt), testAccCheckIamApplicationDestroy(tt), + isUserDestroyed(tt), ), Steps: []resource.TestStep{ { Config: ` - resource scaleway_iam_group main { - name = "tf-tests-iam-group-membership-basic" + resource scaleway_iam_group multiple_entities { + name = "tf-tests-iam-group-membership-multiple-entities" external_membership = true } - resource scaleway_iam_application main { - name = "tf-tests-iam-group-membership-basic" + resource scaleway_iam_user foo { + email = "foo@scaleway.com" + username = "foo" } - resource scaleway_iam_group_membership main { - group_id = scaleway_iam_group.main.id - application_id = scaleway_iam_application.main.id - } - `, - Check: resource.ComposeTestCheckFunc( - testAccCheckIamGroupMembershipApplicationInGroup(tt, "scaleway_iam_group_membership.main", "scaleway_iam_application.main"), - acctest.CheckResourceAttrUUID("scaleway_iam_group_membership.main", "id"), - ), - }, - { - Config: ` - resource scaleway_iam_group main { - name = "tf-tests-iam-group-membership-basic" - external_membership = true + resource scaleway_iam_user bar { + email = "bar@scaleway.com" + username = "bar" } - resource scaleway_iam_application main { - name = "tf-tests-iam-group-membership-basic" + resource scaleway_iam_application app1 { + name = "tf-tests-iam-group-membership-basic-app1" } - resource scaleway_iam_group_membership main { - group_id = scaleway_iam_group.main.id - application_id = scaleway_iam_application.main.id + resource scaleway_iam_application app2 { + name = "tf-tests-iam-group-membership-basic-app2" } - resource scaleway_iam_group_membership import { - group_id = scaleway_iam_group.main.id - application_id = scaleway_iam_application.main.id + resource scaleway_iam_group_membership multiple_entities { + group_id = scaleway_iam_group.multiple_entities.id + user_ids = [scaleway_iam_user.bar.id, scaleway_iam_user.foo.id] + application_ids = [scaleway_iam_application.app1.id, scaleway_iam_application.app2.id] } `, - ImportState: true, - ResourceName: "scaleway_iam_group_membership.import", - ImportStateIdFunc: func(state *terraform.State) (string, error) { - groupID := state.RootModule().Resources["scaleway_iam_group.main"].Primary.ID - applicationID := state.RootModule().Resources["scaleway_iam_application.main"].Primary.ID - - return iam.GroupMembershipID(groupID, nil, &applicationID), nil - }, - ImportStatePersist: true, + Check: resource.ComposeTestCheckFunc( + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_user.foo"), + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_user.bar"), + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_application.app1"), + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_application.app2"), + acctest.CheckResourceAttrUUID("scaleway_iam_group_membership.multiple_entities", "id"), + ), }, { Config: ` - resource scaleway_iam_group main { - name = "tf-tests-iam-group-membership-basic" + resource scaleway_iam_group multiple_entities { + name = "tf-tests-iam-group-membership-multiple-entities" external_membership = true } - resource scaleway_iam_application main { - name = "tf-tests-iam-group-membership-basic" - } - - resource scaleway_iam_group_membership main { - group_id = scaleway_iam_group.main.id - application_id = scaleway_iam_application.main.id - } - - resource scaleway_iam_group_membership import { - group_id = scaleway_iam_group.main.id - application_id = scaleway_iam_application.main.id - } - `, - PlanOnly: true, - }, - }, - }) -} - -func TestAccGroupMembership_User(t *testing.T) { - tt := acctest.NewTestTools(t) - defer tt.Cleanup() - - resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(t) }, - ProviderFactories: tt.ProviderFactories, - CheckDestroy: resource.ComposeTestCheckFunc( - testAccCheckIamGroupDestroy(tt), - testAccCheckIamApplicationDestroy(tt), - ), Steps: []resource.TestStep{ - { - Config: ` - resource scaleway_iam_group main { - name = "tf-tests-iam-group-membership-user" - external_membership = true + resource scaleway_iam_user bar { + email = "bar@scaleway.com" + username = "bar" } - data "scaleway_iam_user" "main" { - user_id = "b6360d4f-831c-45a8-889e-0b65ed079e63" + resource scaleway_iam_application app1 { + name = "tf-tests-iam-group-membership-basic-app1" } - resource scaleway_iam_group_membership main { - group_id = scaleway_iam_group.main.id - user_id = data.scaleway_iam_user.main.id + resource scaleway_iam_group_membership multiple_entities { + group_id = scaleway_iam_group.multiple_entities.id + user_ids = [scaleway_iam_user.bar.id] + application_ids = [scaleway_iam_application.app1.id] } `, Check: resource.ComposeTestCheckFunc( - testAccCheckIamGroupMembershipUserInGroup(tt, "scaleway_iam_group_membership.main", "data.scaleway_iam_user.main"), - acctest.CheckResourceAttrUUID("scaleway_iam_group_membership.main", "id"), + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_user.bar"), + checkEntityInGroup(tt, "scaleway_iam_group_membership.multiple_entities", "scaleway_iam_application.app1"), + acctest.CheckResourceAttrUUID("scaleway_iam_group_membership.multiple_entities", "id"), ), }, }, }) } -func testAccCheckIamGroupMembershipApplicationInGroup(tt *acctest.TestTools, n string, appN string) resource.TestCheckFunc { +func checkEntityInGroup(tt *acctest.TestTools, groupName string, entityName string) resource.TestCheckFunc { return func(state *terraform.State) error { - rs, ok := state.RootModule().Resources[n] + // sanity check if the resource exists + group, ok := state.RootModule().Resources[groupName] if !ok { - return fmt.Errorf("resource not found: %s", n) + return fmt.Errorf("resource not found: %s", groupName) } - appRS, ok := state.RootModule().Resources[appN] + // sanity check if the entity exists + entity, ok := state.RootModule().Resources[entityName] if !ok { - return fmt.Errorf("resource not found: %s", n) - } - - expectedApplicationID := appRS.Primary.ID - - api := iam.NewAPI(tt.Meta) - - groupID, _, applicationID, err := iam.ExpandGroupMembershipID(rs.Primary.ID) - if err != nil { - return err + return fmt.Errorf("resource not found: %s", entityName) } - if applicationID != expectedApplicationID { - return fmt.Errorf("group membership id does not contain expected application id, expected %s, got %s", expectedApplicationID, applicationID) - } + // get entity id and kind from the State + entityID := entity.Primary.ID + entityKind := entity.Type - group, err := api.GetGroup(&iamSDK.GetGroupRequest{ - GroupID: groupID, - }) + // parse the group id from the state + groupID, _, err := iam.ExpandGroupMembershipResourceID(group.Primary.ID) if err != nil { return err } - foundInGroup := false - - for _, groupApplicationID := range group.ApplicationIDs { - if groupApplicationID == applicationID { - foundInGroup = true - } - } - - if !foundInGroup { - return errors.New("application not found in group") - } - - return nil - } -} - -func testAccCheckIamGroupMembershipUserInGroup(tt *acctest.TestTools, n string, appN string) resource.TestCheckFunc { - return func(state *terraform.State) error { - rs, ok := state.RootModule().Resources[n] - if !ok { - return fmt.Errorf("resource not found: %s", n) - } - - appRS, ok := state.RootModule().Resources[appN] - if !ok { - return fmt.Errorf("resource not found: %s", n) - } - - expectedUserID := appRS.Primary.ID - + // get the group details from the API api := iam.NewAPI(tt.Meta) - groupID, userID, _, err := iam.ExpandGroupMembershipID(rs.Primary.ID) - if err != nil { - return err - } - - if userID != expectedUserID { - return fmt.Errorf("group membership id does not contain expected user id, expected %s, got %s", expectedUserID, userID) - } - - group, err := api.GetGroup(&iamSDK.GetGroupRequest{ + groupDetails, err := api.GetGroup(&iamSDK.GetGroupRequest{ GroupID: groupID, }) if err != nil { return err } - foundInGroup := false - - for _, groupUserID := range group.UserIDs { - if groupUserID == userID { - foundInGroup = true + // check if the entity is in the group + switch entityKind { + case "scaleway_iam_user": + if !slices.Contains(groupDetails.UserIDs, entityID) { + return fmt.Errorf("entity kind %s with id %s not found in group %s", entityKind, entityID, groupID) } - } - - if !foundInGroup { - return errors.New("user not found in group") + case "scaleway_iam_application": + if !slices.Contains(groupDetails.ApplicationIDs, entityID) { + return fmt.Errorf("entity kind %s with id %s not found in group %s", entityKind, entityID, groupID) + } + default: + return fmt.Errorf("unknown entity kind: %s", entityKind) } return nil diff --git a/internal/services/iam/testdata/group-membership-basic.cassette.yaml b/internal/services/iam/testdata/group-membership-basic.cassette.yaml index 994e952072..3a10967f0e 100644 --- a/internal/services/iam/testdata/group-membership-basic.cassette.yaml +++ b/internal/services/iam/testdata/group-membership-basic.cassette.yaml @@ -12,14 +12,14 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"tf-tests-iam-group-membership-basic","description":"","tags":[]}' + body: '{"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","description":"","tags":[]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications method: POST response: proto: HTTP/2.0 @@ -27,20 +27,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 355 + content_length: 335 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"created_at":"2025-06-02T09:37:44.237595Z","deletable":true,"description":"","editable":true,"id":"9840a966-88b4-414b-b0c9-736b1f2c5fad","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.237595Z"}' headers: Content-Length: - - "355" + - "335" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -48,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ce55e8cf-ac6e-4687-87bd-3389ed008838 + - 0c169719-419b-4270-983b-8b2e12abd4a7 status: 200 OK code: 200 - duration: 115.815459ms + duration: 487.553667ms - id: 1 request: proto: HTTP/1.1 @@ -63,14 +63,14 @@ interactions: host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","description":"","tags":[]}' + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","name":"tf-tests-iam-group-membership-basic","description":"","tags":[]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups method: POST response: proto: HTTP/2.0 @@ -78,20 +78,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 335 + content_length: 355 uncompressed: false - body: '{"created_at":"2025-01-22T15:32:53.545236Z","deletable":true,"description":"","editable":true,"id":"e221e151-1b7b-435d-a521-4ad287aaa223","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.545236Z"}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - - "335" + - "355" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -99,10 +99,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 9a297451-5ef7-4734-a4d3-fa5c93753ec2 + - 8be671a5-8414-4efe-8c8e-c962cbbaeecb status: 200 OK code: 200 - duration: 141.448333ms + duration: 493.940917ms - id: 2 request: proto: HTTP/1.1 @@ -118,8 +118,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/9840a966-88b4-414b-b0c9-736b1f2c5fad method: GET response: proto: HTTP/2.0 @@ -127,20 +127,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 355 + content_length: 335 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"created_at":"2025-06-02T09:37:44.237595Z","deletable":true,"description":"","editable":true,"id":"9840a966-88b4-414b-b0c9-736b1f2c5fad","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.237595Z"}' headers: Content-Length: - - "355" + - "335" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -148,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 19399c66-ffc4-4523-aa55-acbe150dedea + - a34a6fc5-6a7a-4ba1-90b1-81da5325c96d status: 200 OK code: 200 - duration: 89.106083ms + duration: 43.92575ms - id: 3 request: proto: HTTP/1.1 @@ -167,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -176,20 +176,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 335 + content_length: 355 uncompressed: false - body: '{"created_at":"2025-01-22T15:32:53.545236Z","deletable":true,"description":"","editable":true,"id":"e221e151-1b7b-435d-a521-4ad287aaa223","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.545236Z"}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - - "335" + - "355" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -197,30 +197,30 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 58f20151-0012-4230-b082-715dee7df98c + - 4a90c5b1-df9e-468b-8541-34d26e3e7cc1 status: 200 OK code: 200 - duration: 91.0445ms + duration: 39.758ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 57 + content_length: 74 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"application_id":"e221e151-1b7b-435d-a521-4ad287aaa223"}' + body: '{"user_ids":[],"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"]}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4/add-member - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb/members + method: PUT response: proto: HTTP/2.0 proto_major: 2 @@ -229,7 +229,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -238,9 +238,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -248,10 +248,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 087dab25-ed5d-468a-a24a-d5f5014ab66f + - 23b5083b-12b1-41d4-9565-bf951eeb9fad status: 200 OK code: 200 - duration: 207.825208ms + duration: 71.377167ms - id: 5 request: proto: HTTP/1.1 @@ -267,8 +267,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -278,7 +278,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -287,9 +287,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -297,10 +297,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f288f839-af05-40b2-8675-fa4eb686a4bb + - c4cf2d0d-90e7-4927-83dc-cea30c2913d0 status: 200 OK code: 200 - duration: 112.145375ms + duration: 50.829166ms - id: 6 request: proto: HTTP/1.1 @@ -316,8 +316,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -327,7 +327,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -336,9 +336,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:54 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -346,10 +346,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ca17c2e9-2fcb-48e1-a7b4-34116828758c + - 522eaec5-133b-491f-9b9b-0bc8a52a2ac9 status: 200 OK code: 200 - duration: 107.304ms + duration: 48.491125ms - id: 7 request: proto: HTTP/1.1 @@ -365,8 +365,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/9840a966-88b4-414b-b0c9-736b1f2c5fad method: GET response: proto: HTTP/2.0 @@ -376,7 +376,7 @@ interactions: trailer: {} content_length: 335 uncompressed: false - body: '{"created_at":"2025-01-22T15:32:53.545236Z","deletable":true,"description":"","editable":true,"id":"e221e151-1b7b-435d-a521-4ad287aaa223","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.545236Z"}' + body: '{"created_at":"2025-06-02T09:37:44.237595Z","deletable":true,"description":"","editable":true,"id":"9840a966-88b4-414b-b0c9-736b1f2c5fad","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.237595Z"}' headers: Content-Length: - "335" @@ -385,9 +385,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:55 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -395,10 +395,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 15f767da-ff72-4678-a477-47fdfd2f2d67 + - 19faf63c-a287-454c-ab53-778410cdb103 status: 200 OK code: 200 - duration: 108.517833ms + duration: 42.690208ms - id: 8 request: proto: HTTP/1.1 @@ -414,8 +414,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -425,7 +425,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -434,9 +434,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:55 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -444,10 +444,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - bc3d4f1f-d964-460d-bffd-545e68cf1bc5 + - 9cfbd536-0532-4dfa-a35b-a0511124b411 status: 200 OK code: 200 - duration: 130.226375ms + duration: 47.626375ms - id: 9 request: proto: HTTP/1.1 @@ -463,8 +463,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -474,7 +474,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -483,9 +483,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:55 GMT + - Mon, 02 Jun 2025 09:37:44 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -493,10 +493,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 94f9713a-0368-4444-a953-d0e9eee3672b + - a4200d0c-0883-4cc4-a818-5924985b8092 status: 200 OK code: 200 - duration: 100.367125ms + duration: 52.936125ms - id: 10 request: proto: HTTP/1.1 @@ -512,8 +512,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -523,7 +523,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -532,9 +532,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:57 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -542,10 +542,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8d7e9381-1eb1-4b4d-adeb-65af19252752 + - 78e46998-e248-4ca2-b531-21b661bdb148 status: 200 OK code: 200 - duration: 189.404125ms + duration: 40.363458ms - id: 11 request: proto: HTTP/1.1 @@ -561,8 +561,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/9840a966-88b4-414b-b0c9-736b1f2c5fad method: GET response: proto: HTTP/2.0 @@ -572,7 +572,7 @@ interactions: trailer: {} content_length: 335 uncompressed: false - body: '{"created_at":"2025-01-22T15:32:53.545236Z","deletable":true,"description":"","editable":true,"id":"e221e151-1b7b-435d-a521-4ad287aaa223","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.545236Z"}' + body: '{"created_at":"2025-06-02T09:37:44.237595Z","deletable":true,"description":"","editable":true,"id":"9840a966-88b4-414b-b0c9-736b1f2c5fad","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.237595Z"}' headers: Content-Length: - "335" @@ -581,9 +581,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:57 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -591,10 +591,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - d47d9cb6-af0e-49ce-a219-53abbd7488f1 + - f0edf172-4fba-4bf5-b278-282e6391d3be status: 200 OK code: 200 - duration: 84.053833ms + duration: 41.818125ms - id: 12 request: proto: HTTP/1.1 @@ -610,8 +610,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -621,7 +621,7 @@ interactions: trailer: {} content_length: 393 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":["9840a966-88b4-414b-b0c9-736b1f2c5fad"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' headers: Content-Length: - "393" @@ -630,9 +630,9 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:57 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -640,10 +640,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 21b19de3-8f17-4a84-b857-f3902a19e026 + - 87e78f8c-c7b8-45fe-8a8e-6329de33656e status: 200 OK code: 200 - duration: 105.415125ms + duration: 47.514125ms - id: 13 request: proto: HTTP/1.1 @@ -659,29 +659,78 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/9840a966-88b4-414b-b0c9-736b1f2c5fad + method: DELETE response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 393 + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ad68389f-7a16-4d20-bf35-f8e8528e7af7 + status: 204 No Content + code: 204 + duration: 67.801667ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 253 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"foo@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"foo","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' headers: Content-Length: - - "393" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:57 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -689,11 +738,62 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3bde072d-b12f-4d14-8177-d5ab4815c094 + - f4b9cb54-d0da-40bd-9f36-c7d1359de7d1 status: 200 OK code: 200 - duration: 105.733542ms - - id: 14 + duration: 176.379625ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 253 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"bar@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"bar","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9597db79-8ca3-4a3d-9a9b-8e04af1e4c02 + status: 200 OK + code: 200 + duration: 176.41125ms + - id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -708,8 +808,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 method: GET response: proto: HTTP/2.0 @@ -717,20 +817,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 393 + content_length: 481 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' headers: Content-Length: - - "393" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:57 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -738,11 +838,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8a63ef88-df63-41a0-b0c7-8e388875bad5 + - 7d14159e-1874-4fdd-bfd5-9e6fce919d83 status: 200 OK code: 200 - duration: 107.845333ms - - id: 15 + duration: 40.143417ms + - id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -757,8 +857,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 method: GET response: proto: HTTP/2.0 @@ -766,20 +866,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 393 + content_length: 481 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' headers: Content-Length: - - "393" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:59 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -787,11 +887,62 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 2a4dc253-1a66-45e9-bac6-5a64e388fa83 + - 49391591-2ed1-4940-9663-85c5253ff6cd status: 200 OK code: 200 - duration: 105.401542ms - - id: 16 + duration: 42.035958ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 113 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"],"application_ids":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 433 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "433" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - e8a9daf9-a658-4469-beac-176eb0212cc6 + status: 200 OK + code: 200 + duration: 71.328042ms + - id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -806,8 +957,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -815,20 +966,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 335 + content_length: 433 uncompressed: false - body: '{"created_at":"2025-01-22T15:32:53.545236Z","deletable":true,"description":"","editable":true,"id":"e221e151-1b7b-435d-a521-4ad287aaa223","managed":false,"name":"tf-tests-iam-group-membership-basic","nb_api_keys":0,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.545236Z"}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' headers: Content-Length: - - "335" + - "433" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:59 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -836,11 +987,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b82ad2e9-a7fc-4009-b128-3e897b9a4718 + - 7de24cbf-f8f0-48b0-a243-9574083362de status: 200 OK code: 200 - duration: 113.54875ms - - id: 17 + duration: 50.505083ms + - id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -855,8 +1006,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -864,20 +1015,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 393 + content_length: 433 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' headers: Content-Length: - - "393" + - "433" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:59 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -885,11 +1036,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 8878d137-2abd-4db0-b1cb-36d004f148bf + - 22cb8876-0c17-47d6-a50a-e28786c10964 status: 200 OK code: 200 - duration: 88.829875ms - - id: 18 + duration: 44.069584ms + - id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -904,8 +1055,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -913,20 +1064,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 393 + content_length: 433 uncompressed: false - body: '{"application_ids":["e221e151-1b7b-435d-a521-4ad287aaa223"],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' headers: Content-Length: - - "393" + - "433" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:59 GMT + - Mon, 02 Jun 2025 09:37:45 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -934,50 +1085,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 65d15a38-7e7c-4aea-a294-14ad90ead34e + - 4d4acda7-eb93-4146-a0df-bb5609eeb0c0 status: 200 OK code: 200 - duration: 95.787ms - - id: 19 + duration: 47.453417ms + - id: 22 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 57 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"application_id":"e221e151-1b7b-435d-a521-4ad287aaa223"}' + body: "" form: {} headers: - Content-Type: - - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4/remove-member - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 355 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' headers: Content-Length: - - "355" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -985,50 +1134,97 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 921d29c9-3bcb-4912-b1a6-ef2c74516da1 + - fd40abc6-4f71-4fae-81a1-7f17baea3542 status: 200 OK code: 200 - duration: 160.557875ms - - id: 20 + duration: 47.012375ms + - id: 23 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 57 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"application_id":"e221e151-1b7b-435d-a521-4ad287aaa223"}' + body: "" form: {} headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 433 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "433" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6a56206d-f1e0-4356-bee9-0f8a7d4eb91c + status: 200 OK + code: 200 + duration: 50.78525ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4/remove-member - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 355 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:53.516238Z","deletable":true,"description":"","editable":true,"id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:53.516238Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' headers: Content-Length: - - "355" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1036,11 +1232,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - af92d4e2-636c-45ef-981f-60db443591b8 + - c63fff1c-a637-46d1-9b2b-7f0680e3b97c status: 200 OK code: 200 - duration: 178.519791ms - - id: 21 + duration: 50.754541ms + - id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -1055,27 +1251,29 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 - method: DELETE + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 433 uncompressed: false - body: "" + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' headers: + Content-Length: + - "433" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1083,11 +1281,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a4901224-96b6-4b69-9365-a5b4d9711c10 - status: 204 No Content - code: 204 - duration: 91.077292ms - - id: 22 + - 89a66d0f-fc45-425e-98c6-23ae72e57603 + status: 200 OK + code: 200 + duration: 37.731875ms + - id: 26 request: proto: HTTP/1.1 proto_major: 1 @@ -1102,27 +1300,29 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 - method: DELETE + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 0 + content_length: 481 uncompressed: false - body: "" + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' headers: + Content-Length: + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1130,11 +1330,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b223cf87-05fd-499c-9f59-cee920fa232b - status: 204 No Content - code: 204 - duration: 95.692708ms - - id: 23 + - 730caf3d-b2df-4ea8-b851-b304eb66ed26 + status: 200 OK + code: 200 + duration: 38.150291ms + - id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -1149,8 +1349,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/e468b7f0-9549-4b81-86b3-78f7bcd405b4 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 method: GET response: proto: HTTP/2.0 @@ -1158,20 +1358,20 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 126 + content_length: 481 uncompressed: false - body: '{"message":"resource is not found","resource":"group","resource_id":"e468b7f0-9549-4b81-86b3-78f7bcd405b4","type":"not_found"}' + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' headers: Content-Length: - - "126" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:46 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1179,11 +1379,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - f4beacab-60ab-4f0e-9008-01504678ed43 - status: 404 Not Found - code: 404 - duration: 23.279459ms - - id: 24 + - 96796bf4-7814-439e-943d-5aa09272140a + status: 200 OK + code: 200 + duration: 39.653167ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1198,8 +1398,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/e221e151-1b7b-435d-a521-4ad287aaa223 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb method: GET response: proto: HTTP/2.0 @@ -1207,20 +1407,1980 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 132 + content_length: 433 uncompressed: false - body: '{"message":"resource is not found","resource":"application","resource_id":"e221e151-1b7b-435d-a521-4ad287aaa223","type":"not_found"}' + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' headers: Content-Length: - - "132" + - "433" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 439cb70b-1d63-4236-8f97-749550c79ce9 + status: 200 OK + code: 200 + duration: 45.193167ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 433 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "433" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 55a2de69-ce86-4395-9b41-8813e7c9ed20 + status: 200 OK + code: 200 + duration: 39.207167ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-tests-iam-group-membership-basic-app2","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","description":"","tags":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.725487Z","deletable":true,"description":"","editable":true,"id":"dbe6aac0-dda5-40f2-ac19-39ad703985a6","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.725487Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b9dd90de-04f4-44e2-ba7e-9259a1e6222f + status: 200 OK + code: 200 + duration: 76.88525ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-tests-iam-group-membership-basic-app1","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","description":"","tags":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.727207Z","deletable":true,"description":"","editable":true,"id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.727207Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9b2b5600-a509-4f40-8c5f-a1385be36ad7 + status: 200 OK + code: 200 + duration: 76.908625ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.727207Z","deletable":true,"description":"","editable":true,"id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.727207Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ec204833-d4ed-42b2-930b-8f2bf4da92dc + status: 200 OK + code: 200 + duration: 41.909542ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/dbe6aac0-dda5-40f2-ac19-39ad703985a6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.725487Z","deletable":true,"description":"","editable":true,"id":"dbe6aac0-dda5-40f2-ac19-39ad703985a6","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.725487Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 73d7a79a-69b5-4e84-bcfa-d52e78fe3e7e + status: 200 OK + code: 200 + duration: 41.940708ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 190 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240","31ad796d-72de-409a-b77c-0590d5c81be3"],"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240","31ad796d-72de-409a-b77c-0590d5c81be3"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 96756c0d-129c-4206-aa9b-71abb99ef0b4 + status: 200 OK + code: 200 + duration: 65.286041ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - fe685931-e536-4759-9011-f794f1cedd99 + status: 200 OK + code: 200 + duration: 36.234583ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 95895aa2-8a59-4a2a-be36-10d833ad650d + status: 200 OK + code: 200 + duration: 40.66625ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 67eb4e6e-7984-4ce3-bb28-55343408a32d + status: 200 OK + code: 200 + duration: 49.891167ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2ee01ee3-b9ca-49f5-bd3b-9fb786b54abf + status: 200 OK + code: 200 + duration: 47.377166ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 742cc48a-8e6e-4b18-91ad-61725dc85ae1 + status: 200 OK + code: 200 + duration: 39.834333ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0bfc6a2f-869b-49b4-9ed2-06d92554f82a + status: 200 OK + code: 200 + duration: 40.504375ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2c472c19-444c-43df-a025-8749794631ce + status: 200 OK + code: 200 + duration: 42.564333ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/dbe6aac0-dda5-40f2-ac19-39ad703985a6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.725487Z","deletable":true,"description":"","editable":true,"id":"dbe6aac0-dda5-40f2-ac19-39ad703985a6","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.725487Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5e58a062-95df-4fd7-a4d3-e79727cc12fc + status: 200 OK + code: 200 + duration: 44.700458ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.727207Z","deletable":true,"description":"","editable":true,"id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.727207Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1c6d011d-2df7-4e00-bdd6-b09521065b3c + status: 200 OK + code: 200 + duration: 48.843208ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d7a6747e-60eb-4a80-b861-d6053ded067f + status: 200 OK + code: 200 + duration: 52.752375ms + - id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 233659df-aa38-493b-a020-e53dd15b209d + status: 200 OK + code: 200 + duration: 45.900209ms + - id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8c6c0f61-ac60-4b7b-bd97-e3cf2e54d14b + status: 200 OK + code: 200 + duration: 37.84075ms + - id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.727207Z","deletable":true,"description":"","editable":true,"id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.727207Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ee705b39-e913-40a7-82e7-6c0610b48767 + status: 200 OK + code: 200 + duration: 40.904625ms + - id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ef3cc3a7-fa26-4005-9607-6b0804e3d2a1 + status: 200 OK + code: 200 + duration: 42.824666ms + - id: 49 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.409536Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"31ad796d-72de-409a-b77c-0590d5c81be3","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.409536Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8a5ea180-4b67-4703-ab6d-c6e0684107f2 + status: 200 OK + code: 200 + duration: 42.783666ms + - id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/dbe6aac0-dda5-40f2-ac19-39ad703985a6 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.725487Z","deletable":true,"description":"","editable":true,"id":"dbe6aac0-dda5-40f2-ac19-39ad703985a6","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.725487Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 08aa2f73-2924-4958-b40b-65c904fe11ca + status: 200 OK + code: 200 + duration: 49.242375ms + - id: 51 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 511 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715","dbe6aac0-dda5-40f2-ac19-39ad703985a6"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["31ad796d-72de-409a-b77c-0590d5c81be3","e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "511" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d7e247de-8376-4bc3-8052-d1fe7c248833 + status: 200 OK + code: 200 + duration: 48.465208ms + - id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/dbe6aac0-dda5-40f2-ac19-39ad703985a6 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:48 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cb3bcd91-5ea2-4f91-8d8f-5571cdfbc525 + status: 204 No Content + code: 204 + duration: 57.962958ms + - id: 53 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/31ad796d-72de-409a-b77c-0590d5c81be3 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:48 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f0e3d370-165b-479c-a554-1aea1a9248db + status: 204 No Content + code: 204 + duration: 62.85525ms + - id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 112 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"],"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:48 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7ec93041-28f3-4977-836a-560bd628078b + status: 200 OK + code: 200 + duration: 53.726583ms + - id: 55 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:48 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 10259773-bc7d-44b3-a13d-e7e807d4d506 + status: 200 OK + code: 200 + duration: 37.649ms + - id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 878f51b1-8a6c-4817-8fc9-0c26d3f4f3ba + status: 200 OK + code: 200 + duration: 863.970542ms + - id: 57 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7110e37a-a8df-434b-b2ef-0096d2629663 + status: 200 OK + code: 200 + duration: 54.478459ms + - id: 58 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 61fae902-53b8-4e3d-b463-9f5566f39ae1 + status: 200 OK + code: 200 + duration: 46.295708ms + - id: 59 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:37:46.727207Z","deletable":true,"description":"","editable":true,"id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:46.727207Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0d2a7c3b-2ca1-4d7a-bf44-34048d9fde02 + status: 200 OK + code: 200 + duration: 46.612292ms + - id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:37:45.410624Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:37:45.410624Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1c54958e-dab2-43c8-9a26-1fa33987c1b5 + status: 200 OK + code: 200 + duration: 50.133042ms + - id: 61 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 431 + uncompressed: false + body: '{"application_ids":["3099cb36-587e-4f7e-bd27-c1c6b7571715"],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":["e6468ad5-8b8b-4366-b10f-03e4baed6240"]}' + headers: + Content-Length: + - "431" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a64520bc-4796-46f2-b952-fd14b4358051 + status: 200 OK + code: 200 + duration: 39.749541ms + - id: 62 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 40 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":null,"application_ids":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 355 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:37:44.247387Z","deletable":true,"description":"","editable":true,"id":"803770fe-e89a-44aa-86ff-2686768c8dcb","managed":false,"name":"tf-tests-iam-group-membership-basic","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:37:44.247387Z","user_ids":[]}' + headers: + Content-Length: + - "355" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 910d1eee-02c9-4f72-8ecd-f7e1af2377df + status: 200 OK + code: 200 + duration: 82.05725ms + - id: 63 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 168f07f5-2ed7-4fb0-b77a-837f008da0d1 + status: 204 No Content + code: 204 + duration: 534.294542ms + - id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f1be330a-9d11-42ea-ba71-7b96cd23edf9 + status: 204 No Content + code: 204 + duration: 534.542083ms + - id: 65 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:49 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 240abb8c-a3f7-44c9-88fa-d7a477393caf + status: 204 No Content + code: 204 + duration: 534.568292ms + - id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/803770fe-e89a-44aa-86ff-2686768c8dcb + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 126 + uncompressed: false + body: '{"message":"resource is not found","resource":"group","resource_id":"803770fe-e89a-44aa-86ff-2686768c8dcb","type":"not_found"}' + headers: + Content-Length: + - "126" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:50 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ca97e164-47ba-42ad-bd76-991121e6f5e0 + status: 404 Not Found + code: 404 + duration: 29.736959ms + - id: 67 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/3099cb36-587e-4f7e-bd27-c1c6b7571715 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 132 + uncompressed: false + body: '{"message":"resource is not found","resource":"application","resource_id":"3099cb36-587e-4f7e-bd27-c1c6b7571715","type":"not_found"}' + headers: + Content-Length: + - "132" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:37:50 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2c8da769-b1be-4ad9-99c7-11ecd0343663 + status: 404 Not Found + code: 404 + duration: 26.703584ms + - id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/e6468ad5-8b8b-4366-b10f-03e4baed6240 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 125 + uncompressed: false + body: '{"message":"resource is not found","resource":"user","resource_id":"e6468ad5-8b8b-4366-b10f-03e4baed6240","type":"not_found"}' + headers: + Content-Length: + - "125" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:33:01 GMT + - Mon, 02 Jun 2025 09:37:50 GMT Server: - - Scaleway API Gateway (fr-par-1;edge01) + - Scaleway API Gateway (fr-par-2;edge03) Strict-Transport-Security: - max-age=63072000 X-Content-Type-Options: @@ -1228,7 +3388,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 51a705b7-47de-494c-9270-ff858bb2711e + - 806c6dd9-017f-4144-9d20-564beb5d595e status: 404 Not Found code: 404 - duration: 28.279542ms + duration: 31.922917ms diff --git a/internal/services/iam/testdata/group-membership-multiple-entities.cassette.yaml b/internal/services/iam/testdata/group-membership-multiple-entities.cassette.yaml new file mode 100644 index 0000000000..e1563d2195 --- /dev/null +++ b/internal/services/iam/testdata/group-membership-multiple-entities.cassette.yaml @@ -0,0 +1,2214 @@ +--- +version: 2 +interactions: + - id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-tests-iam-group-membership-basic-app2","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","description":"","tags":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.667742Z","deletable":true,"description":"","editable":true,"id":"6ddd4e7a-23f8-4876-8079-d264d0f7f242","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.667742Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d34baf50-89de-4126-9dbb-46635e64ff68 + status: 200 OK + code: 200 + duration: 1.139568166s + - id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 135 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"name":"tf-tests-iam-group-membership-basic-app1","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","description":"","tags":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.676492Z","deletable":true,"description":"","editable":true,"id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676492Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 441d93cf-b8bd-4622-a154-cbfd2b1cf26b + status: 200 OK + code: 200 + duration: 1.143976458s + - id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 142 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","name":"tf-tests-iam-group-membership-multiple-entities","description":"","tags":[]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 367 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":[]}' + headers: + Content-Length: + - "367" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6845fa52-d0c8-4f66-ba8b-93b0e2961294 + status: 200 OK + code: 200 + duration: 1.145856375s + - id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/6ddd4e7a-23f8-4876-8079-d264d0f7f242 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.667742Z","deletable":true,"description":"","editable":true,"id":"6ddd4e7a-23f8-4876-8079-d264d0f7f242","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.667742Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ac219fb8-d531-48c2-bafc-a52789e46649 + status: 200 OK + code: 200 + duration: 45.162042ms + - id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.676492Z","deletable":true,"description":"","editable":true,"id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676492Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3d677bb2-bd3f-4ddf-add0-22a088de367c + status: 200 OK + code: 200 + duration: 46.786916ms + - id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 367 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":[]}' + headers: + Content-Length: + - "367" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b09290fe-126b-407d-9c21-3406d2aafa68 + status: 200 OK + code: 200 + duration: 48.639291ms + - id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 253 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"bar@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"bar","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.667441Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"79e7032a-725e-4930-8752-395277020841","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.667441Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 72708b7d-4969-40ac-adf7-011399e70aab + status: 200 OK + code: 200 + duration: 1.240002375s + - id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 253 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"foo@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"foo","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.675441Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"5cc330a0-e4fd-453c-88b8-46104afd4195","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.675441Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f19688a1-03aa-429b-959a-f422962e2369 + status: 200 OK + code: 200 + duration: 1.257229875s + - id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.667441Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"79e7032a-725e-4930-8752-395277020841","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.667441Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 383c2cc6-8dce-49cb-ba13-ebde519ac411 + status: 200 OK + code: 200 + duration: 44.414666ms + - id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5cc330a0-e4fd-453c-88b8-46104afd4195 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.675441Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"5cc330a0-e4fd-453c-88b8-46104afd4195","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.675441Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:44 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c4f54bd6-f4ca-48dd-bbe1-3ee98fcd5327 + status: 200 OK + code: 200 + duration: 45.665291ms + - id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 190 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":["79e7032a-725e-4930-8752-395277020841","5cc330a0-e4fd-453c-88b8-46104afd4195"],"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841","5cc330a0-e4fd-453c-88b8-46104afd4195"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d0eb1e51-18a0-4a8a-92b2-222fa19d47f5 + status: 200 OK + code: 200 + duration: 225.126667ms + - id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b9ed9d43-def9-47b3-9266-83ccd9801a7e + status: 200 OK + code: 200 + duration: 38.243916ms + - id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 33321846-1746-41b6-8902-fe6fc28ba8cc + status: 200 OK + code: 200 + duration: 50.695834ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 62c61efb-4d6e-43a8-892f-fc1dd87d43c6 + status: 200 OK + code: 200 + duration: 41.067583ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ba6bcdb3-3671-43ce-8b35-4a8db45c1357 + status: 200 OK + code: 200 + duration: 50.444959ms + - id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 8067c717-2fdd-4174-87be-f700ba7a9be6 + status: 200 OK + code: 200 + duration: 40.200291ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/6ddd4e7a-23f8-4876-8079-d264d0f7f242 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.667742Z","deletable":true,"description":"","editable":true,"id":"6ddd4e7a-23f8-4876-8079-d264d0f7f242","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.667742Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c33aaa46-778f-4155-89f4-2c2d07b8a085 + status: 200 OK + code: 200 + duration: 41.454333ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.676492Z","deletable":true,"description":"","editable":true,"id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676492Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a80a0d9e-a875-46d6-b027-c934dc4df22d + status: 200 OK + code: 200 + duration: 42.084458ms + - id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.667441Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"79e7032a-725e-4930-8752-395277020841","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.667441Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c9531eed-1269-4e06-9265-475d3a7fa5e6 + status: 200 OK + code: 200 + duration: 45.033333ms + - id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 27ca2a29-ccb7-4208-9be6-3f33cf84ad75 + status: 200 OK + code: 200 + duration: 46.955667ms + - id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5cc330a0-e4fd-453c-88b8-46104afd4195 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.675441Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"5cc330a0-e4fd-453c-88b8-46104afd4195","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.675441Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 22801e40-443e-42a4-a809-60d47da36a7e + status: 200 OK + code: 200 + duration: 58.045083ms + - id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:45 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ef8ed824-aed6-47dd-963c-764c1f0c23af + status: 200 OK + code: 200 + duration: 48.152875ms + - id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.667441Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"79e7032a-725e-4930-8752-395277020841","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.667441Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0e9e0a54-7ef2-4311-8b04-6edf7b5da25e + status: 200 OK + code: 200 + duration: 141.970541ms + - id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/6ddd4e7a-23f8-4876-8079-d264d0f7f242 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.667742Z","deletable":true,"description":"","editable":true,"id":"6ddd4e7a-23f8-4876-8079-d264d0f7f242","managed":false,"name":"tf-tests-iam-group-membership-basic-app2","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.667742Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c963aedb-856f-4c03-ac2e-71116dee4b78 + status: 200 OK + code: 200 + duration: 142.052458ms + - id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.676492Z","deletable":true,"description":"","editable":true,"id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676492Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c4b06c64-a07f-4f66-b754-a025500b81c2 + status: 200 OK + code: 200 + duration: 142.049125ms + - id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5cc330a0-e4fd-453c-88b8-46104afd4195 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.675441Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"5cc330a0-e4fd-453c-88b8-46104afd4195","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.675441Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - caaa6a52-77ba-4d58-8195-38fe7286ef70 + status: 200 OK + code: 200 + duration: 142.0465ms + - id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 388cef5e-b699-42a0-ace6-9a348cb77450 + status: 200 OK + code: 200 + duration: 142.111875ms + - id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 523 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301","6ddd4e7a-23f8-4876-8079-d264d0f7f242"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["5cc330a0-e4fd-453c-88b8-46104afd4195","79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "523" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b639bb08-e253-43a4-9847-85d1623801df + status: 200 OK + code: 200 + duration: 44.802042ms + - id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/6ddd4e7a-23f8-4876-8079-d264d0f7f242 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a82e0ef2-dc13-4a8d-a58c-8460959e5699 + status: 204 No Content + code: 204 + duration: 64.903375ms + - id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5cc330a0-e4fd-453c-88b8-46104afd4195 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2938a7a3-1393-46f4-92eb-72888571836c + status: 204 No Content + code: 204 + duration: 64.979167ms + - id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 112 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":["79e7032a-725e-4930-8752-395277020841"],"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"]}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - dae2470a-8362-4b88-8da7-9484689d0c44 + status: 200 OK + code: 200 + duration: 66.956709ms + - id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c713d99c-c56f-4439-900b-699c3d6395b2 + status: 200 OK + code: 200 + duration: 41.833416ms + - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 14ee27c1-340f-44bc-83a0-116c25fc3efb + status: 200 OK + code: 200 + duration: 50.011875ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:46 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 9a64d155-bcea-49db-8cea-88c3a40ea44e + status: 200 OK + code: 200 + duration: 40.33575ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-06-02T09:46:44.667441Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"79e7032a-725e-4930-8752-395277020841","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-06-02T09:46:44.667441Z","username":"bar"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7e115c3f-9111-47d8-8635-d7736d08f4d1 + status: 200 OK + code: 200 + duration: 40.433667ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 340 + uncompressed: false + body: '{"created_at":"2025-06-02T09:46:44.676492Z","deletable":true,"description":"","editable":true,"id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","managed":false,"name":"tf-tests-iam-group-membership-basic-app1","nb_api_keys":0,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676492Z"}' + headers: + Content-Length: + - "340" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f376df68-cd87-44fb-b6aa-9322891511b4 + status: 200 OK + code: 200 + duration: 40.564667ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 1b870a5d-b04b-495d-bbf6-1dff568364e0 + status: 200 OK + code: 200 + duration: 41.373ms + - id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 443 + uncompressed: false + body: '{"application_ids":["524e61dc-d5d2-4b70-9322-9cf1f4aca301"],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":["79e7032a-725e-4930-8752-395277020841"]}' + headers: + Content-Length: + - "443" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 6f5e5f63-c360-426c-aeaf-555216b64dad + status: 200 OK + code: 200 + duration: 44.896083ms + - id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 40 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":null,"application_ids":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37/members + method: PUT + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 367 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-06-02T09:46:44.676190Z","deletable":true,"description":"","editable":true,"id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","managed":false,"name":"tf-tests-iam-group-membership-multiple-entities","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-06-02T09:46:44.676190Z","user_ids":[]}' + headers: + Content-Length: + - "367" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - b0b4debe-22b5-41ae-83cc-b8e21849742f + status: 200 OK + code: 200 + duration: 57.611542ms + - id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f23ace44-6b0b-4193-b845-e0354c2e101a + status: 204 No Content + code: 204 + duration: 47.03575ms + - id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - ce287c37-9679-4888-a945-5914b7299efb + status: 204 No Content + code: 204 + duration: 60.981584ms + - id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7de80667-a20c-449d-a4f8-a2b45783c530 + status: 204 No Content + code: 204 + duration: 66.763ms + - id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/cecfc150-2ea0-4a8d-be13-95c122f41c37 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 126 + uncompressed: false + body: '{"message":"resource is not found","resource":"group","resource_id":"cecfc150-2ea0-4a8d-be13-95c122f41c37","type":"not_found"}' + headers: + Content-Length: + - "126" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - a7c605d4-812b-46d7-a9df-50269f42924a + status: 404 Not Found + code: 404 + duration: 28.701417ms + - id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/524e61dc-d5d2-4b70-9322-9cf1f4aca301 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 132 + uncompressed: false + body: '{"message":"resource is not found","resource":"application","resource_id":"524e61dc-d5d2-4b70-9322-9cf1f4aca301","type":"not_found"}' + headers: + Content-Length: + - "132" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 7f2c8c72-6888-4aa2-8d14-9383fbebb291 + status: 404 Not Found + code: 404 + duration: 21.598375ms + - id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/79e7032a-725e-4930-8752-395277020841 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 125 + uncompressed: false + body: '{"message":"resource is not found","resource":"user","resource_id":"79e7032a-725e-4930-8752-395277020841","type":"not_found"}' + headers: + Content-Length: + - "125" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 02 Jun 2025 09:46:47 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge02) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 186a33ba-a327-46a3-b9e2-efdb04e715f3 + status: 404 Not Found + code: 404 + duration: 22.806167ms diff --git a/internal/services/iam/testdata/group-membership-user.cassette.yaml b/internal/services/iam/testdata/group-membership-user.cassette.yaml index 378b5ab2bc..90193d9401 100644 --- a/internal/services/iam/testdata/group-membership-user.cassette.yaml +++ b/internal/services/iam/testdata/group-membership-user.cassette.yaml @@ -6,37 +6,39 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 129 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","name":"tf-tests-iam-group-membership-user","description":"","tags":[]}' form: {} headers: + Content-Type: + - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/b6360d4f-831c-45a8-889e-0b65ed079e63 - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups + method: POST response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 496 + content_length: 354 uncompressed: false - body: '{"account_root_user_id":"caeed50e-d7fe-4d74-b7f0-956d94e85d4b","created_at":"2022-12-01T12:53:29.981622Z","deletable":true,"email":"jcasteran@scaleway.com","id":"b6360d4f-831c-45a8-889e-0b65ed079e63","last_login_at":"2024-12-17T13:19:25.316964Z","locked":false,"mfa":false,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"activated","tags":[],"two_factor_enabled":false,"type":"guest","updated_at":"2025-01-07T13:39:41.962886Z","username":"jcasteran@scaleway.com"}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":[]}' headers: Content-Length: - - "496" + - "354" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:49 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -46,10 +48,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 7175ae10-3590-44c5-bb3c-df3eeb470827 + - 797adeb9-098d-42ae-a828-5a2594b882bb status: 200 OK code: 200 - duration: 111.842291ms + duration: 418.638291ms - id: 1 request: proto: HTTP/1.1 @@ -65,8 +67,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/b6360d4f-831c-45a8-889e-0b65ed079e63 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -74,18 +76,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 496 + content_length: 354 uncompressed: false - body: '{"account_root_user_id":"caeed50e-d7fe-4d74-b7f0-956d94e85d4b","created_at":"2022-12-01T12:53:29.981622Z","deletable":true,"email":"jcasteran@scaleway.com","id":"b6360d4f-831c-45a8-889e-0b65ed079e63","last_login_at":"2024-12-17T13:19:25.316964Z","locked":false,"mfa":false,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"activated","tags":[],"two_factor_enabled":false,"type":"guest","updated_at":"2025-01-07T13:39:41.962886Z","username":"jcasteran@scaleway.com"}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":[]}' headers: Content-Length: - - "496" + - "354" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:49 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -95,29 +97,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a99bcf92-bfa3-4198-bda0-0e945495136f + - 34acbac7-10b5-434a-8716-e693e62b6a31 status: 200 OK code: 200 - duration: 160.634875ms + duration: 38.75975ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 129 + content_length: 253 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","name":"tf-tests-iam-group-membership-user","description":"","tags":[]}' + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"bar@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"bar","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users method: POST response: proto: HTTP/2.0 @@ -125,18 +127,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 354 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.549612Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"5880b246-708d-46f9-9a05-3bbeeb5516a4","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.549612Z","username":"bar"}' headers: Content-Length: - - "354" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:50 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -146,10 +148,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3be9cb3b-2a3c-480b-ac6d-180a6cd51366 + - 531e4f29-a014-4f3d-afbe-55566b4022ab status: 200 OK code: 200 - duration: 129.943625ms + duration: 542.2625ms - id: 3 request: proto: HTTP/1.1 @@ -165,8 +167,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5880b246-708d-46f9-9a05-3bbeeb5516a4 method: GET response: proto: HTTP/2.0 @@ -174,18 +176,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 354 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":[]}' + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.549612Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"5880b246-708d-46f9-9a05-3bbeeb5516a4","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.549612Z","username":"bar"}' headers: Content-Length: - - "354" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:50 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -195,29 +197,29 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - ae5ff8e4-22c8-4c72-b420-6449c54ceaae + - 57a8c73f-845b-4174-a5ac-90193e12dc30 status: 200 OK code: 200 - duration: 104.004666ms + duration: 37.614791ms - id: 4 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 50 + content_length: 253 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"user_id":"b6360d4f-831c-45a8-889e-0b65ed079e63"}' + body: '{"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"member":{"email":"foo@scaleway.com","send_password_email":false,"send_welcome_email":false,"username":"foo","password":"","first_name":"","last_name":"","phone_number":"","locale":""}}' form: {} headers: Content-Type: - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d/add-member + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users method: POST response: proto: HTTP/2.0 @@ -225,18 +227,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":["b6360d4f-831c-45a8-889e-0b65ed079e63"]}' + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.551836Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"f68f322a-bcc2-46fd-b936-0eaebdd99ed2","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.551836Z","username":"foo"}' headers: Content-Length: - - "392" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:50 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -246,10 +248,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 0b022790-f1b8-47d0-a821-38029ea99c2e + - 66ec00ef-7bb0-4164-8029-18a47d5faa96 status: 200 OK code: 200 - duration: 239.785292ms + duration: 590.709333ms - id: 5 request: proto: HTTP/1.1 @@ -265,8 +267,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/f68f322a-bcc2-46fd-b936-0eaebdd99ed2 method: GET response: proto: HTTP/2.0 @@ -274,18 +276,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":["b6360d4f-831c-45a8-889e-0b65ed079e63"]}' + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.551836Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"f68f322a-bcc2-46fd-b936-0eaebdd99ed2","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.551836Z","username":"foo"}' headers: Content-Length: - - "392" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:51 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -295,46 +297,48 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - b77d11d3-5c08-4179-8b42-e299dcb811bc + - 1a12f0f7-6857-4323-8da0-c178a9c62e1c status: 200 OK code: 200 - duration: 86.920833ms + duration: 39.728792ms - id: 6 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 0 + content_length: 113 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: "" + body: '{"user_ids":["f68f322a-bcc2-46fd-b936-0eaebdd99ed2","5880b246-708d-46f9-9a05-3bbeeb5516a4"],"application_ids":[]}' form: {} headers: + Content-Type: + - application/json User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d - method: GET + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a/members + method: PUT response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 432 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":["b6360d4f-831c-45a8-889e-0b65ed079e63"]}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["f68f322a-bcc2-46fd-b936-0eaebdd99ed2","5880b246-708d-46f9-9a05-3bbeeb5516a4"]}' headers: Content-Length: - - "392" + - "432" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:51 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -344,10 +348,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - a519db45-f70c-4c5d-940f-b6f388000882 + - 8fbef5cd-03bf-43c3-a196-92bf237875c3 status: 200 OK code: 200 - duration: 127.293417ms + duration: 55.505542ms - id: 7 request: proto: HTTP/1.1 @@ -363,8 +367,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/b6360d4f-831c-45a8-889e-0b65ed079e63 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -372,18 +376,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 496 + content_length: 432 uncompressed: false - body: '{"account_root_user_id":"caeed50e-d7fe-4d74-b7f0-956d94e85d4b","created_at":"2022-12-01T12:53:29.981622Z","deletable":true,"email":"jcasteran@scaleway.com","id":"b6360d4f-831c-45a8-889e-0b65ed079e63","last_login_at":"2024-12-17T13:19:25.316964Z","locked":false,"mfa":false,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"activated","tags":[],"two_factor_enabled":false,"type":"guest","updated_at":"2025-01-07T13:39:41.962886Z","username":"jcasteran@scaleway.com"}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["5880b246-708d-46f9-9a05-3bbeeb5516a4","f68f322a-bcc2-46fd-b936-0eaebdd99ed2"]}' headers: Content-Length: - - "496" + - "432" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:52 GMT + - Fri, 30 May 2025 15:21:40 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -393,10 +397,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3fc20d8e-074d-4c09-a05a-a7b84ca4de58 + - 51233052-f3b6-4af0-9eab-d508d66e3125 status: 200 OK code: 200 - duration: 133.0085ms + duration: 46.789375ms - id: 8 request: proto: HTTP/1.1 @@ -412,8 +416,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -421,18 +425,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 432 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":["b6360d4f-831c-45a8-889e-0b65ed079e63"]}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["5880b246-708d-46f9-9a05-3bbeeb5516a4","f68f322a-bcc2-46fd-b936-0eaebdd99ed2"]}' headers: Content-Length: - - "392" + - "432" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:52 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -442,10 +446,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 5d31c4b7-f9c3-4322-b8ce-2d8b68121ad2 + - 7dda2e4c-efcd-475d-97d3-d145959654ea status: 200 OK code: 200 - duration: 83.957167ms + duration: 50.889292ms - id: 9 request: proto: HTTP/1.1 @@ -461,8 +465,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/b6360d4f-831c-45a8-889e-0b65ed079e63 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -470,18 +474,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 496 + content_length: 432 uncompressed: false - body: '{"account_root_user_id":"caeed50e-d7fe-4d74-b7f0-956d94e85d4b","created_at":"2022-12-01T12:53:29.981622Z","deletable":true,"email":"jcasteran@scaleway.com","id":"b6360d4f-831c-45a8-889e-0b65ed079e63","last_login_at":"2024-12-17T13:19:25.316964Z","locked":false,"mfa":false,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"activated","tags":[],"two_factor_enabled":false,"type":"guest","updated_at":"2025-01-07T13:39:41.962886Z","username":"jcasteran@scaleway.com"}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["5880b246-708d-46f9-9a05-3bbeeb5516a4","f68f322a-bcc2-46fd-b936-0eaebdd99ed2"]}' headers: Content-Length: - - "496" + - "432" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:52 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -491,10 +495,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 3dad2bb0-72b2-475c-8d58-5db3fe56859b + - 451eb223-24c9-483a-b2fe-587c6665fdce status: 200 OK code: 200 - duration: 98.478875ms + duration: 38.362833ms - id: 10 request: proto: HTTP/1.1 @@ -510,8 +514,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5880b246-708d-46f9-9a05-3bbeeb5516a4 method: GET response: proto: HTTP/2.0 @@ -519,18 +523,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 392 + content_length: 481 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":["b6360d4f-831c-45a8-889e-0b65ed079e63"]}' + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.549612Z","deletable":true,"email":"bar@scaleway.com","first_name":"","id":"5880b246-708d-46f9-9a05-3bbeeb5516a4","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.549612Z","username":"bar"}' headers: Content-Length: - - "392" + - "481" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:52 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -540,10 +544,10 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 504ea7dd-16b4-4835-a4a1-cf2631d9c493 + - 7d4aa433-41da-42b5-9fc1-fce3d22e8856 status: 200 OK code: 200 - duration: 90.368125ms + duration: 40.175625ms - id: 11 request: proto: HTTP/1.1 @@ -559,8 +563,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/users/b6360d4f-831c-45a8-889e-0b65ed079e63 + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -568,18 +572,18 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 496 + content_length: 432 uncompressed: false - body: '{"account_root_user_id":"caeed50e-d7fe-4d74-b7f0-956d94e85d4b","created_at":"2022-12-01T12:53:29.981622Z","deletable":true,"email":"jcasteran@scaleway.com","id":"b6360d4f-831c-45a8-889e-0b65ed079e63","last_login_at":"2024-12-17T13:19:25.316964Z","locked":false,"mfa":false,"organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","status":"activated","tags":[],"two_factor_enabled":false,"type":"guest","updated_at":"2025-01-07T13:39:41.962886Z","username":"jcasteran@scaleway.com"}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["5880b246-708d-46f9-9a05-3bbeeb5516a4","f68f322a-bcc2-46fd-b936-0eaebdd99ed2"]}' headers: Content-Length: - - "496" + - "432" Content-Security-Policy: - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:53 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -589,30 +593,128 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - e7c8376b-e151-4f3e-90f3-23b5e628e320 + - 689d6e53-b8f8-4239-8bf0-32346de3a6e5 status: 200 OK code: 200 - duration: 155.537792ms + duration: 42.999209ms - id: 12 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 50 + content_length: 0 transfer_encoding: [] trailer: {} host: api.scaleway.com remote_addr: "" request_uri: "" - body: '{"user_id":"b6360d4f-831c-45a8-889e-0b65ed079e63"}' + body: "" form: {} headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/f68f322a-bcc2-46fd-b936-0eaebdd99ed2 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 481 + uncompressed: false + body: '{"account_root_user_id":"","created_at":"2025-05-30T15:21:40.551836Z","deletable":true,"email":"foo@scaleway.com","first_name":"","id":"f68f322a-bcc2-46fd-b936-0eaebdd99ed2","last_login_at":null,"last_name":"","locale":"en_US","locked":false,"mfa":false,"organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","phone_number":"","status":"activated","tags":[],"two_factor_enabled":false,"type":"member","updated_at":"2025-05-30T15:21:40.551836Z","username":"foo"}' + headers: + Content-Length: + - "481" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' Content-Type: - application/json + Date: + - Fri, 30 May 2025 15:21:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5973a95a-4d32-464b-a6eb-0f1108d5f78b + status: 200 OK + code: 200 + duration: 50.469792ms + - id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d/remove-member - method: POST + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 432 + uncompressed: false + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":["5880b246-708d-46f9-9a05-3bbeeb5516a4","f68f322a-bcc2-46fd-b936-0eaebdd99ed2"]}' + headers: + Content-Length: + - "432" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 30 May 2025 15:21:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 3f94fe85-ce2f-498e-8474-08bdd6fc262d + status: 200 OK + code: 200 + duration: 47.320834ms + - id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 40 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: '{"user_ids":null,"application_ids":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a/members + method: PUT response: proto: HTTP/2.0 proto_major: 2 @@ -621,7 +723,7 @@ interactions: trailer: {} content_length: 354 uncompressed: false - body: '{"application_ids":[],"created_at":"2025-01-22T15:32:50.618987Z","deletable":true,"description":"","editable":true,"id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"105bdce1-64c0-48ab-899d-868455867ecf","tags":[],"updated_at":"2025-01-22T15:32:50.618987Z","user_ids":[]}' + body: '{"application_ids":[],"created_at":"2025-05-30T15:21:40.551522Z","deletable":true,"description":"","editable":true,"id":"3db6f024-2f68-4a77-8eb9-3388c769675a","managed":false,"name":"tf-tests-iam-group-membership-user","organization_id":"6867048b-fe12-4e96-835e-41c79a39604b","tags":[],"updated_at":"2025-05-30T15:21:40.551522Z","user_ids":[]}' headers: Content-Length: - "354" @@ -630,7 +732,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:54 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -640,11 +742,11 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - eab3c15e-ac97-4bf5-a24f-53e068f63f29 + - e330b6c0-c508-4924-9a56-f9d9b3e77e96 status: 200 OK code: 200 - duration: 188.718208ms - - id: 13 + duration: 69.183958ms + - id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -659,8 +761,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: DELETE response: proto: HTTP/2.0 @@ -677,7 +779,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:54 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -687,11 +789,105 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 84264090-bc3c-41d9-970f-b5cd7a2f3239 + - 25258d00-6527-424b-8bec-5910f2c5a854 status: 204 No Content code: 204 - duration: 101.583458ms - - id: 14 + duration: 56.416084ms + - id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/5880b246-708d-46f9-9a05-3bbeeb5516a4 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 30 May 2025 15:21:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - db2c7903-ce0c-4340-86f7-630ccc87a13a + status: 204 No Content + code: 204 + duration: 60.625625ms + - id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + transfer_encoding: [] + trailer: {} + host: api.scaleway.com + remote_addr: "" + request_uri: "" + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/users/f68f322a-bcc2-46fd-b936-0eaebdd99ed2 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: 0 + uncompressed: false + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Fri, 30 May 2025 15:21:41 GMT + Server: + - Scaleway API Gateway (fr-par-1;edge01) + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2d0043ff-5c43-4522-8aee-33c9acbd1136 + status: 204 No Content + code: 204 + duration: 95.606875ms + - id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -706,8 +902,8 @@ interactions: form: {} headers: User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/groups/54afd2b1-e2eb-42df-986b-fa9472d3eb7d + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.24.3; darwin; arm64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/groups/3db6f024-2f68-4a77-8eb9-3388c769675a method: GET response: proto: HTTP/2.0 @@ -717,7 +913,7 @@ interactions: trailer: {} content_length: 126 uncompressed: false - body: '{"message":"resource is not found","resource":"group","resource_id":"54afd2b1-e2eb-42df-986b-fa9472d3eb7d","type":"not_found"}' + body: '{"message":"resource is not found","resource":"group","resource_id":"3db6f024-2f68-4a77-8eb9-3388c769675a","type":"not_found"}' headers: Content-Length: - "126" @@ -726,7 +922,7 @@ interactions: Content-Type: - application/json Date: - - Wed, 22 Jan 2025 15:32:54 GMT + - Fri, 30 May 2025 15:21:41 GMT Server: - Scaleway API Gateway (fr-par-1;edge01) Strict-Transport-Security: @@ -736,7 +932,7 @@ interactions: X-Frame-Options: - DENY X-Request-Id: - - 709e0d0b-48ff-4dc3-8f4c-57c407609602 + - 1a294b2b-959e-49af-96b7-a3a51ab3d116 status: 404 Not Found code: 404 - duration: 27.961167ms + duration: 25.953958ms