Skip to content

IAM: Creation of user as Member #3021

@giacomosirri

Description

@giacomosirri

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Since March 2025, Scaleway allows the creation of users as Members. The release note states that "Members are users who only exist in one Organization and can not own their own Organization." Here you can see what parameters are supported by the API when creating a Member user, under "Create a new user".

Other than as a Member, a user can be created as a Guest. Currently, Scaleway's Terraform provider only allows creation of Guests, while Member users are not supported.

This feature helps automating the creation of Scaleway accounts, and removes the need for invited users to create their own organization, before being able to join the organization they were invited to. Adding this feature to the Terraform provider would be really beneficial for organizations getting started with Scaleway.

New or Affected Resource(s)

scaleway_iam_user

Potential Terraform Configuration

resource "scaleway_iam_user" "test" {
# Current arguments
  email = "test@test.com"
  organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"  # Defaults to provider organization_id
  tags = ["testuser"]  # Optional

# New arguments
  send_password_email = true
  send_welcome_email = true
  username = "test-user"  # Could be used to determine the user type, username is set -> Member, not set -> Guest
  password = "one-time-password"
  first_name = "Test"
  last_name = "User"
  phone_number = "+0-00000000"
  locale = "en_US"
}

References

Metadata

Metadata

Assignees

Labels

enhancementiamIAM issues, bugs and feature requestspriority:highestBugs filled by customers, security issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions