scaleway.iam.User
Explore with Pulumi AI
Creates and manages Scaleway IAM Users. For more information, see the API documentation.
Example Usage
User
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const user = new scaleway.iam.User("user", {
email: "foo@test.com",
tags: ["test-tag"],
username: "foo",
firstName: "Foo",
lastName: "Bar",
});
import pulumi
import pulumiverse_scaleway as scaleway
user = scaleway.iam.User("user",
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, "user", &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 user = new Scaleway.Iam.User("user", 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 user = new User("user", UserArgs.builder()
.email("foo@test.com")
.tags("test-tag")
.username("foo")
.firstName("Foo")
.lastName("Bar")
.build());
}
}
resources:
user:
type: scaleway:iam:User
properties:
email: foo@test.com
tags:
- test-tag
username: foo
firstName: Foo
lastName: Bar
Multiple users
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const users = [
{
email: "test@test.com",
username: "test",
},
{
email: "test2@test.com",
username: "test2",
},
];
const usersUser: scaleway.iam.User[] = [];
for (const range = {value: 0}; range.value < users.length; range.value++) {
usersUser.push(new scaleway.iam.User(`users-${range.value}`, {
email: users[range.value].email,
username: users[range.value].username,
}));
}
import pulumi
import pulumiverse_scaleway as scaleway
users = [
{
"email": "test@test.com",
"username": "test",
},
{
"email": "test2@test.com",
"username": "test2",
},
]
users_user = []
for range in [{"value": i} for i in range(0, len(users))]:
users_user.append(scaleway.iam.User(f"users-{range['value']}",
email=users[range["value"]]["email"],
username=users[range["value"]]["username"]))
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 {
users := []map[string]interface{}{
map[string]interface{}{
"email": "test@test.com",
"username": "test",
},
map[string]interface{}{
"email": "test2@test.com",
"username": "test2",
},
}
var usersUser []*iam.User
for index := 0; index < len(users); index++ {
key0 := index
val0 := index
__res, err := iam.NewUser(ctx, fmt.Sprintf("users-%v", key0), &iam.UserArgs{
Email: pulumi.String(users[val0].Email),
Username: pulumi.String(users[val0].Username),
})
if err != nil {
return err
}
usersUser = append(usersUser, __res)
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var users = new[]
{
{
{ "email", "test@test.com" },
{ "username", "test" },
},
{
{ "email", "test2@test.com" },
{ "username", "test2" },
},
};
var usersUser = new List<Scaleway.Iam.User>();
for (var rangeIndex = 0; rangeIndex < users.Length; rangeIndex++)
{
var range = new { Value = rangeIndex };
usersUser.Add(new Scaleway.Iam.User($"users-{range.Value}", new()
{
Email = users[range.Value].Email,
Username = users[range.Value].Username,
}));
}
});
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 com.pulumi.codegen.internal.KeyedValue;
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) {
final var users = List.of(
Map.ofEntries(
Map.entry("email", "test@test.com"),
Map.entry("username", "test")
),
Map.ofEntries(
Map.entry("email", "test2@test.com"),
Map.entry("username", "test2")
));
for (var i = 0; i < users.length(); i++) {
new User("usersUser-" + i, UserArgs.builder()
.email(users[range.value()].email())
.username(users[range.value()].username())
.build());
}
}
}
Example coming soon!
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
args: UserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
username: 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)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
type: scaleway:iam:User
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 UserArgs
- 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 UserArgs
- 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 UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scalewayUserResource = new Scaleway.Iam.User("scalewayUserResource", new()
{
Email = "string",
Username = "string",
FirstName = "string",
LastName = "string",
Locale = "string",
OrganizationId = "string",
Password = "string",
PhoneNumber = "string",
SendPasswordEmail = false,
SendWelcomeEmail = false,
Tags = new[]
{
"string",
},
});
example, err := iam.NewUser(ctx, "scalewayUserResource", &iam.UserArgs{
Email: pulumi.String("string"),
Username: pulumi.String("string"),
FirstName: pulumi.String("string"),
LastName: pulumi.String("string"),
Locale: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Password: pulumi.String("string"),
PhoneNumber: pulumi.String("string"),
SendPasswordEmail: pulumi.Bool(false),
SendWelcomeEmail: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var scalewayUserResource = new com.pulumi.scaleway.iam.User("scalewayUserResource", com.pulumi.scaleway.iam.UserArgs.builder()
.email("string")
.username("string")
.firstName("string")
.lastName("string")
.locale("string")
.organizationId("string")
.password("string")
.phoneNumber("string")
.sendPasswordEmail(false)
.sendWelcomeEmail(false)
.tags("string")
.build());
scaleway_user_resource = scaleway.iam.User("scalewayUserResource",
email="string",
username="string",
first_name="string",
last_name="string",
locale="string",
organization_id="string",
password="string",
phone_number="string",
send_password_email=False,
send_welcome_email=False,
tags=["string"])
const scalewayUserResource = new scaleway.iam.User("scalewayUserResource", {
email: "string",
username: "string",
firstName: "string",
lastName: "string",
locale: "string",
organizationId: "string",
password: "string",
phoneNumber: "string",
sendPasswordEmail: false,
sendWelcomeEmail: false,
tags: ["string"],
});
type: scaleway:iam:User
properties:
email: string
firstName: string
lastName: string
locale: string
organizationId: string
password: string
phoneNumber: string
sendPasswordEmail: false
sendWelcomeEmail: false
tags:
- string
username: string
User 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 User resource accepts the following input properties:
- Email string
- The email of the IAM user. For Guest users, this argument is not editable.
- Username string
- The username of the IAM user.
- First
Name string - The user's first name.
- Last
Name string - The user's last name.
- Locale string
- The user's locale (e.g., en_US).
- Organization
Id string organization_id
) The ID of the organization the user is associated with.- Password string
- The password for first access.
- Phone
Number string - The user's phone number.
- Send
Password boolEmail - Whether or not to send an email containing the password for first access.
- Send
Welcome boolEmail - Whether or not to send a welcome email that includes onboarding information.
- List<string>
- The tags associated with the user.
- Email string
- The email of the IAM user. For Guest users, this argument is not editable.
- Username string
- The username of the IAM user.
- First
Name string - The user's first name.
- Last
Name string - The user's last name.
- Locale string
- The user's locale (e.g., en_US).
- Organization
Id string organization_id
) The ID of the organization the user is associated with.- Password string
- The password for first access.
- Phone
Number string - The user's phone number.
- Send
Password boolEmail - Whether or not to send an email containing the password for first access.
- Send
Welcome boolEmail - Whether or not to send a welcome email that includes onboarding information.
- []string
- The tags associated with the user.
- email String
- The email of the IAM user. For Guest users, this argument is not editable.
- username String
- The username of the IAM user.
- first
Name String - The user's first name.
- last
Name String - The user's last name.
- locale String
- The user's locale (e.g., en_US).
- organization
Id String organization_id
) The ID of the organization the user is associated with.- password String
- The password for first access.
- phone
Number String - The user's phone number.
- send
Password BooleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome BooleanEmail - Whether or not to send a welcome email that includes onboarding information.
- List<String>
- The tags associated with the user.
- email string
- The email of the IAM user. For Guest users, this argument is not editable.
- username string
- The username of the IAM user.
- first
Name string - The user's first name.
- last
Name string - The user's last name.
- locale string
- The user's locale (e.g., en_US).
- organization
Id string organization_id
) The ID of the organization the user is associated with.- password string
- The password for first access.
- phone
Number string - The user's phone number.
- send
Password booleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome booleanEmail - Whether or not to send a welcome email that includes onboarding information.
- string[]
- The tags associated with the user.
- email str
- The email of the IAM user. For Guest users, this argument is not editable.
- username str
- The username of the IAM user.
- 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).
- 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_ boolemail - Whether or not to send an email containing the password for first access.
- send_
welcome_ boolemail - Whether or not to send a welcome email that includes onboarding information.
- Sequence[str]
- The tags associated with the user.
- email String
- The email of the IAM user. For Guest users, this argument is not editable.
- username String
- The username of the IAM user.
- first
Name String - The user's first name.
- last
Name String - The user's last name.
- locale String
- The user's locale (e.g., en_US).
- organization
Id String organization_id
) The ID of the organization the user is associated with.- password String
- The password for first access.
- phone
Number String - The user's phone number.
- send
Password BooleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome BooleanEmail - Whether or not to send a welcome email that includes onboarding information.
- List<String>
- The tags associated with the user.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
- Account
Root stringUser Id - The ID of the account root user associated with the user.
- Created
At 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.
- Last
Login stringAt - 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.
- Updated
At string - The date and time of the last update of the IAM user.
- Account
Root stringUser Id - The ID of the account root user associated with the user.
- Created
At 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.
- Last
Login stringAt - 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.
- Updated
At string - The date and time of the last update of the IAM user.
- account
Root StringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- last
Login StringAt - 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.
- updated
At String - The date and time of the last update of the IAM user.
- account
Root stringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- last
Login stringAt - 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.
- updated
At string - The date and time of the last update of the IAM user.
- account_
root_ struser_ id - 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_ strat - 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.
- account
Root StringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- last
Login StringAt - 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.
- updated
At String - The date and time of the last update of the IAM user.
Look up Existing User Resource
Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
@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) -> User
func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)
resources: _: type: scaleway:iam:User 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.
- Account
Root stringUser Id - The ID of the account root user associated with the user.
- Created
At 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.
- First
Name string - The user's first name.
- Last
Login stringAt - The date of the last login.
- Last
Name string - The user's last name.
- Locale string
- The user's locale (e.g., en_US).
- Locked bool
- Whether the user is locked.
- Mfa bool
- Whether the MFA is enabled.
- Organization
Id string organization_id
) The ID of the organization the user is associated with.- Password string
- The password for first access.
- Phone
Number string - The user's phone number.
- Send
Password boolEmail - Whether or not to send an email containing the password for first access.
- Send
Welcome boolEmail - 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.
- List<string>
- The tags associated with the user.
- Type string
- The type of user. Check the possible values in the API doc.
- Updated
At string - The date and time of the last update of the IAM user.
- Username string
- The username of the IAM user.
- Account
Root stringUser Id - The ID of the account root user associated with the user.
- Created
At 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.
- First
Name string - The user's first name.
- Last
Login stringAt - The date of the last login.
- Last
Name string - The user's last name.
- Locale string
- The user's locale (e.g., en_US).
- Locked bool
- Whether the user is locked.
- Mfa bool
- Whether the MFA is enabled.
- Organization
Id string organization_id
) The ID of the organization the user is associated with.- Password string
- The password for first access.
- Phone
Number string - The user's phone number.
- Send
Password boolEmail - Whether or not to send an email containing the password for first access.
- Send
Welcome boolEmail - 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.
- []string
- The tags associated with the user.
- Type string
- The type of user. Check the possible values in the API doc.
- Updated
At string - The date and time of the last update of the IAM user.
- Username string
- The username of the IAM user.
- account
Root StringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- first
Name String - The user's first name.
- last
Login StringAt - The date of the last login.
- last
Name String - The user's last name.
- locale String
- The user's locale (e.g., en_US).
- locked Boolean
- Whether the user is locked.
- mfa Boolean
- Whether the MFA is enabled.
- organization
Id String organization_id
) The ID of the organization the user is associated with.- password String
- The password for first access.
- phone
Number String - The user's phone number.
- send
Password BooleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome BooleanEmail - 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.
- List<String>
- The tags associated with the user.
- type String
- The type of user. Check the possible values in the API doc.
- updated
At String - The date and time of the last update of the IAM user.
- username String
- The username of the IAM user.
- account
Root stringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- first
Name string - The user's first name.
- last
Login stringAt - The date of the last login.
- last
Name string - The user's last name.
- locale string
- The user's locale (e.g., en_US).
- locked boolean
- Whether the user is locked.
- mfa boolean
- Whether the MFA is enabled.
- organization
Id string organization_id
) The ID of the organization the user is associated with.- password string
- The password for first access.
- phone
Number string - The user's phone number.
- send
Password booleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome booleanEmail - 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.
- string[]
- The tags associated with the user.
- type string
- The type of user. Check the possible values in the API doc.
- updated
At string - The date and time of the last update of the IAM user.
- username string
- The username of the IAM user.
- account_
root_ struser_ id - 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_ strat - The date of the last login.
- last_
name str - The user's last name.
- locale str
- The user's locale (e.g., en_US).
- 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_ boolemail - Whether or not to send an email containing the password for first access.
- send_
welcome_ boolemail - 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.
- 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.
- account
Root StringUser Id - The ID of the account root user associated with the user.
- created
At 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.
- first
Name String - The user's first name.
- last
Login StringAt - The date of the last login.
- last
Name String - The user's last name.
- locale String
- The user's locale (e.g., en_US).
- locked Boolean
- Whether the user is locked.
- mfa Boolean
- Whether the MFA is enabled.
- organization
Id String organization_id
) The ID of the organization the user is associated with.- password String
- The password for first access.
- phone
Number String - The user's phone number.
- send
Password BooleanEmail - Whether or not to send an email containing the password for first access.
- send
Welcome BooleanEmail - 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.
- List<String>
- The tags associated with the user.
- type String
- The type of user. Check the possible values in the API doc.
- updated
At String - The date and time of the last update of the IAM user.
- username String
- The username of the IAM user.
Import
IAM users can be imported using the {id}
, e.g.
bash
$ pulumi import scaleway:iam/user:User 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.