1. Packages
  2. Scaleway
  3. API Docs
  4. IamUser
Scaleway v1.29.0 published on Tuesday, May 27, 2025 by pulumiverse

scaleway.IamUser

Explore with Pulumi AI

scaleway logo
Scaleway v1.29.0 published on Tuesday, May 27, 2025 by pulumiverse
    Deprecated: scaleway.index/iamuser.IamUser has been deprecated in favor of scaleway.iam/user.User

    Creates and manages Scaleway IAM Users. For more information, see the API documentation.

    Example Usage

    Guest user

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const guest = new scaleway.iam.User("guest", {
        email: "foo@test.com",
        tags: ["test-tag"],
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    guest = scaleway.iam.User("guest",
        email="foo@test.com",
        tags=["test-tag"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.NewUser(ctx, "guest", &iam.UserArgs{
    			Email: pulumi.String("foo@test.com"),
    			Tags: pulumi.StringArray{
    				pulumi.String("test-tag"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var guest = new Scaleway.Iam.User("guest", new()
        {
            Email = "foo@test.com",
            Tags = new[]
            {
                "test-tag",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.iam.User;
    import com.pulumi.scaleway.iam.UserArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var guest = new User("guest", UserArgs.builder()
                .email("foo@test.com")
                .tags("test-tag")
                .build());
    
        }
    }
    
    resources:
      guest:
        type: scaleway:iam:User
        properties:
          email: foo@test.com
          tags:
            - test-tag
    

    Member user

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const member = new scaleway.iam.User("member", {
        email: "foo@test.com",
        tags: ["test-tag"],
        username: "foo",
        firstName: "Foo",
        lastName: "Bar",
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    member = scaleway.iam.User("member",
        email="foo@test.com",
        tags=["test-tag"],
        username="foo",
        first_name="Foo",
        last_name="Bar")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.NewUser(ctx, "member", &iam.UserArgs{
    			Email: pulumi.String("foo@test.com"),
    			Tags: pulumi.StringArray{
    				pulumi.String("test-tag"),
    			},
    			Username:  pulumi.String("foo"),
    			FirstName: pulumi.String("Foo"),
    			LastName:  pulumi.String("Bar"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var member = new Scaleway.Iam.User("member", new()
        {
            Email = "foo@test.com",
            Tags = new[]
            {
                "test-tag",
            },
            Username = "foo",
            FirstName = "Foo",
            LastName = "Bar",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.iam.User;
    import com.pulumi.scaleway.iam.UserArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var member = new User("member", UserArgs.builder()
                .email("foo@test.com")
                .tags("test-tag")
                .username("foo")
                .firstName("Foo")
                .lastName("Bar")
                .build());
    
        }
    }
    
    resources:
      member:
        type: scaleway:iam:User
        properties:
          email: foo@test.com
          tags:
            - test-tag
          username: foo
          firstName: Foo
          lastName: Bar
    

    When username is set, the user is created as a Member. Otherwise, it is created as a Guest.

    Create IamUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IamUser(name: string, args: IamUserArgs, opts?: CustomResourceOptions);
    @overload
    def IamUser(resource_name: str,
                args: IamUserArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def IamUser(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                email: Optional[str] = None,
                first_name: Optional[str] = None,
                last_name: Optional[str] = None,
                locale: Optional[str] = None,
                organization_id: Optional[str] = None,
                password: Optional[str] = None,
                phone_number: Optional[str] = None,
                send_password_email: Optional[bool] = None,
                send_welcome_email: Optional[bool] = None,
                tags: Optional[Sequence[str]] = None,
                username: Optional[str] = None)
    func NewIamUser(ctx *Context, name string, args IamUserArgs, opts ...ResourceOption) (*IamUser, error)
    public IamUser(string name, IamUserArgs args, CustomResourceOptions? opts = null)
    public IamUser(String name, IamUserArgs args)
    public IamUser(String name, IamUserArgs args, CustomResourceOptions options)
    
    type: scaleway:IamUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IamUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IamUserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IamUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IamUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IamUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IamUser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IamUser resource accepts the following input properties:

    Email string
    The email of the IAM user. For Guest users, this argument is not editable.
    FirstName string
    The user's first name.
    LastName string
    The user's last name.
    Locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    OrganizationId string
    organization_id) The ID of the organization the user is associated with.
    Password string
    The password for first access.
    PhoneNumber string
    The user's phone number.
    SendPasswordEmail bool
    Whether or not to send an email containing the password for first access.
    SendWelcomeEmail bool
    Whether or not to send a welcome email that includes onboarding information.
    Tags List<string>
    The tags associated with the user.
    Username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    Email string
    The email of the IAM user. For Guest users, this argument is not editable.
    FirstName string
    The user's first name.
    LastName string
    The user's last name.
    Locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    OrganizationId string
    organization_id) The ID of the organization the user is associated with.
    Password string
    The password for first access.
    PhoneNumber string
    The user's phone number.
    SendPasswordEmail bool
    Whether or not to send an email containing the password for first access.
    SendWelcomeEmail bool
    Whether or not to send a welcome email that includes onboarding information.
    Tags []string
    The tags associated with the user.
    Username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    email String
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName String
    The user's first name.
    lastName String
    The user's last name.
    locale String

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    organizationId String
    organization_id) The ID of the organization the user is associated with.
    password String
    The password for first access.
    phoneNumber String
    The user's phone number.
    sendPasswordEmail Boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail Boolean
    Whether or not to send a welcome email that includes onboarding information.
    tags List<String>
    The tags associated with the user.
    username String
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    email string
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName string
    The user's first name.
    lastName string
    The user's last name.
    locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    organizationId string
    organization_id) The ID of the organization the user is associated with.
    password string
    The password for first access.
    phoneNumber string
    The user's phone number.
    sendPasswordEmail boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail boolean
    Whether or not to send a welcome email that includes onboarding information.
    tags string[]
    The tags associated with the user.
    username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    email str
    The email of the IAM user. For Guest users, this argument is not editable.
    first_name str
    The user's first name.
    last_name str
    The user's last name.
    locale str

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    organization_id str
    organization_id) The ID of the organization the user is associated with.
    password str
    The password for first access.
    phone_number str
    The user's phone number.
    send_password_email bool
    Whether or not to send an email containing the password for first access.
    send_welcome_email bool
    Whether or not to send a welcome email that includes onboarding information.
    tags Sequence[str]
    The tags associated with the user.
    username str
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    email String
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName String
    The user's first name.
    lastName String
    The user's last name.
    locale String

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    organizationId String
    organization_id) The ID of the organization the user is associated with.
    password String
    The password for first access.
    phoneNumber String
    The user's phone number.
    sendPasswordEmail Boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail Boolean
    Whether or not to send a welcome email that includes onboarding information.
    tags List<String>
    The tags associated with the user.
    username String
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IamUser resource produces the following output properties:

    AccountRootUserId string
    The ID of the account root user associated with the user.
    CreatedAt string
    The date and time of the creation of the IAM user.
    Deletable bool
    Whether the IAM user is deletable.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastLoginAt string
    The date of the last login.
    Locked bool
    Whether the user is locked.
    Mfa bool
    Whether the MFA is enabled.
    Status string
    The status of user invitation. Check the possible values in the API doc.
    Type string
    The type of user. Check the possible values in the API doc.
    UpdatedAt string
    The date and time of the last update of the IAM user.
    AccountRootUserId string
    The ID of the account root user associated with the user.
    CreatedAt string
    The date and time of the creation of the IAM user.
    Deletable bool
    Whether the IAM user is deletable.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastLoginAt string
    The date of the last login.
    Locked bool
    Whether the user is locked.
    Mfa bool
    Whether the MFA is enabled.
    Status string
    The status of user invitation. Check the possible values in the API doc.
    Type string
    The type of user. Check the possible values in the API doc.
    UpdatedAt string
    The date and time of the last update of the IAM user.
    accountRootUserId String
    The ID of the account root user associated with the user.
    createdAt String
    The date and time of the creation of the IAM user.
    deletable Boolean
    Whether the IAM user is deletable.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLoginAt String
    The date of the last login.
    locked Boolean
    Whether the user is locked.
    mfa Boolean
    Whether the MFA is enabled.
    status String
    The status of user invitation. Check the possible values in the API doc.
    type String
    The type of user. Check the possible values in the API doc.
    updatedAt String
    The date and time of the last update of the IAM user.
    accountRootUserId string
    The ID of the account root user associated with the user.
    createdAt string
    The date and time of the creation of the IAM user.
    deletable boolean
    Whether the IAM user is deletable.
    id string
    The provider-assigned unique ID for this managed resource.
    lastLoginAt string
    The date of the last login.
    locked boolean
    Whether the user is locked.
    mfa boolean
    Whether the MFA is enabled.
    status string
    The status of user invitation. Check the possible values in the API doc.
    type string
    The type of user. Check the possible values in the API doc.
    updatedAt string
    The date and time of the last update of the IAM user.
    account_root_user_id str
    The ID of the account root user associated with the user.
    created_at str
    The date and time of the creation of the IAM user.
    deletable bool
    Whether the IAM user is deletable.
    id str
    The provider-assigned unique ID for this managed resource.
    last_login_at str
    The date of the last login.
    locked bool
    Whether the user is locked.
    mfa bool
    Whether the MFA is enabled.
    status str
    The status of user invitation. Check the possible values in the API doc.
    type str
    The type of user. Check the possible values in the API doc.
    updated_at str
    The date and time of the last update of the IAM user.
    accountRootUserId String
    The ID of the account root user associated with the user.
    createdAt String
    The date and time of the creation of the IAM user.
    deletable Boolean
    Whether the IAM user is deletable.
    id String
    The provider-assigned unique ID for this managed resource.
    lastLoginAt String
    The date of the last login.
    locked Boolean
    Whether the user is locked.
    mfa Boolean
    Whether the MFA is enabled.
    status String
    The status of user invitation. Check the possible values in the API doc.
    type String
    The type of user. Check the possible values in the API doc.
    updatedAt String
    The date and time of the last update of the IAM user.

    Look up Existing IamUser Resource

    Get an existing IamUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IamUserState, opts?: CustomResourceOptions): IamUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_root_user_id: Optional[str] = None,
            created_at: Optional[str] = None,
            deletable: Optional[bool] = None,
            email: Optional[str] = None,
            first_name: Optional[str] = None,
            last_login_at: Optional[str] = None,
            last_name: Optional[str] = None,
            locale: Optional[str] = None,
            locked: Optional[bool] = None,
            mfa: Optional[bool] = None,
            organization_id: Optional[str] = None,
            password: Optional[str] = None,
            phone_number: Optional[str] = None,
            send_password_email: Optional[bool] = None,
            send_welcome_email: Optional[bool] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            updated_at: Optional[str] = None,
            username: Optional[str] = None) -> IamUser
    func GetIamUser(ctx *Context, name string, id IDInput, state *IamUserState, opts ...ResourceOption) (*IamUser, error)
    public static IamUser Get(string name, Input<string> id, IamUserState? state, CustomResourceOptions? opts = null)
    public static IamUser get(String name, Output<String> id, IamUserState state, CustomResourceOptions options)
    resources:  _:    type: scaleway:IamUser    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountRootUserId string
    The ID of the account root user associated with the user.
    CreatedAt string
    The date and time of the creation of the IAM user.
    Deletable bool
    Whether the IAM user is deletable.
    Email string
    The email of the IAM user. For Guest users, this argument is not editable.
    FirstName string
    The user's first name.
    LastLoginAt string
    The date of the last login.
    LastName string
    The user's last name.
    Locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    Locked bool
    Whether the user is locked.
    Mfa bool
    Whether the MFA is enabled.
    OrganizationId string
    organization_id) The ID of the organization the user is associated with.
    Password string
    The password for first access.
    PhoneNumber string
    The user's phone number.
    SendPasswordEmail bool
    Whether or not to send an email containing the password for first access.
    SendWelcomeEmail bool
    Whether or not to send a welcome email that includes onboarding information.
    Status string
    The status of user invitation. Check the possible values in the API doc.
    Tags List<string>
    The tags associated with the user.
    Type string
    The type of user. Check the possible values in the API doc.
    UpdatedAt string
    The date and time of the last update of the IAM user.
    Username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    AccountRootUserId string
    The ID of the account root user associated with the user.
    CreatedAt string
    The date and time of the creation of the IAM user.
    Deletable bool
    Whether the IAM user is deletable.
    Email string
    The email of the IAM user. For Guest users, this argument is not editable.
    FirstName string
    The user's first name.
    LastLoginAt string
    The date of the last login.
    LastName string
    The user's last name.
    Locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    Locked bool
    Whether the user is locked.
    Mfa bool
    Whether the MFA is enabled.
    OrganizationId string
    organization_id) The ID of the organization the user is associated with.
    Password string
    The password for first access.
    PhoneNumber string
    The user's phone number.
    SendPasswordEmail bool
    Whether or not to send an email containing the password for first access.
    SendWelcomeEmail bool
    Whether or not to send a welcome email that includes onboarding information.
    Status string
    The status of user invitation. Check the possible values in the API doc.
    Tags []string
    The tags associated with the user.
    Type string
    The type of user. Check the possible values in the API doc.
    UpdatedAt string
    The date and time of the last update of the IAM user.
    Username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    accountRootUserId String
    The ID of the account root user associated with the user.
    createdAt String
    The date and time of the creation of the IAM user.
    deletable Boolean
    Whether the IAM user is deletable.
    email String
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName String
    The user's first name.
    lastLoginAt String
    The date of the last login.
    lastName String
    The user's last name.
    locale String

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    locked Boolean
    Whether the user is locked.
    mfa Boolean
    Whether the MFA is enabled.
    organizationId String
    organization_id) The ID of the organization the user is associated with.
    password String
    The password for first access.
    phoneNumber String
    The user's phone number.
    sendPasswordEmail Boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail Boolean
    Whether or not to send a welcome email that includes onboarding information.
    status String
    The status of user invitation. Check the possible values in the API doc.
    tags List<String>
    The tags associated with the user.
    type String
    The type of user. Check the possible values in the API doc.
    updatedAt String
    The date and time of the last update of the IAM user.
    username String
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    accountRootUserId string
    The ID of the account root user associated with the user.
    createdAt string
    The date and time of the creation of the IAM user.
    deletable boolean
    Whether the IAM user is deletable.
    email string
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName string
    The user's first name.
    lastLoginAt string
    The date of the last login.
    lastName string
    The user's last name.
    locale string

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    locked boolean
    Whether the user is locked.
    mfa boolean
    Whether the MFA is enabled.
    organizationId string
    organization_id) The ID of the organization the user is associated with.
    password string
    The password for first access.
    phoneNumber string
    The user's phone number.
    sendPasswordEmail boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail boolean
    Whether or not to send a welcome email that includes onboarding information.
    status string
    The status of user invitation. Check the possible values in the API doc.
    tags string[]
    The tags associated with the user.
    type string
    The type of user. Check the possible values in the API doc.
    updatedAt string
    The date and time of the last update of the IAM user.
    username string
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    account_root_user_id str
    The ID of the account root user associated with the user.
    created_at str
    The date and time of the creation of the IAM user.
    deletable bool
    Whether the IAM user is deletable.
    email str
    The email of the IAM user. For Guest users, this argument is not editable.
    first_name str
    The user's first name.
    last_login_at str
    The date of the last login.
    last_name str
    The user's last name.
    locale str

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    locked bool
    Whether the user is locked.
    mfa bool
    Whether the MFA is enabled.
    organization_id str
    organization_id) The ID of the organization the user is associated with.
    password str
    The password for first access.
    phone_number str
    The user's phone number.
    send_password_email bool
    Whether or not to send an email containing the password for first access.
    send_welcome_email bool
    Whether or not to send a welcome email that includes onboarding information.
    status str
    The status of user invitation. Check the possible values in the API doc.
    tags Sequence[str]
    The tags associated with the user.
    type str
    The type of user. Check the possible values in the API doc.
    updated_at str
    The date and time of the last update of the IAM user.
    username str
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.
    accountRootUserId String
    The ID of the account root user associated with the user.
    createdAt String
    The date and time of the creation of the IAM user.
    deletable Boolean
    Whether the IAM user is deletable.
    email String
    The email of the IAM user. For Guest users, this argument is not editable.
    firstName String
    The user's first name.
    lastLoginAt String
    The date of the last login.
    lastName String
    The user's last name.
    locale String

    The user's locale (e.g., en_US).

    Important: When creating a Guest user, all arguments are ignored, except for organization_id, email and tags.

    locked Boolean
    Whether the user is locked.
    mfa Boolean
    Whether the MFA is enabled.
    organizationId String
    organization_id) The ID of the organization the user is associated with.
    password String
    The password for first access.
    phoneNumber String
    The user's phone number.
    sendPasswordEmail Boolean
    Whether or not to send an email containing the password for first access.
    sendWelcomeEmail Boolean
    Whether or not to send a welcome email that includes onboarding information.
    status String
    The status of user invitation. Check the possible values in the API doc.
    tags List<String>
    The tags associated with the user.
    type String
    The type of user. Check the possible values in the API doc.
    updatedAt String
    The date and time of the last update of the IAM user.
    username String
    The username of the IAM user. When it is set, the user is created as a Member. When it is not set, the user is created as a Guest and the username is set as equal to the email.

    Import

    IAM users can be imported using the {id}, e.g.

    bash

    $ pulumi import scaleway:index/iamUser:IamUser basic 11111111-1111-1111-1111-111111111111
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.29.0 published on Tuesday, May 27, 2025 by pulumiverse