Skip to content

IAM: Creation of user as Member #3021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
giacomosirri opened this issue Apr 2, 2025 · 0 comments
Open

IAM: Creation of user as Member #3021

giacomosirri opened this issue Apr 2, 2025 · 0 comments
Assignees
Labels
enhancement iam IAM issues, bugs and feature requests priority:highest Bugs filled by customers, security issues

Comments

@giacomosirri
Copy link

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 = "[email protected]"
  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

@Laure-di Laure-di added the iam IAM issues, bugs and feature requests label Apr 3, 2025
@remyleone remyleone added the priority:highest Bugs filled by customers, security issues label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement iam IAM issues, bugs and feature requests priority:highest Bugs filled by customers, security issues
Projects
None yet
Development

No branches or pull requests

4 participants