ionoscloud.User
Explore with Pulumi AI
Manages Users and list users and groups associated with that user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
import * as random from "@pulumi/random";
const group1 = new ionoscloud.Group("group1", {
createDatacenter: true,
createSnapshot: true,
reserveIp: true,
accessActivityLog: false,
createK8sCluster: true,
});
const group2 = new ionoscloud.Group("group2", {
createDatacenter: true,
createSnapshot: true,
reserveIp: true,
accessActivityLog: false,
createK8sCluster: true,
});
const group3 = new ionoscloud.Group("group3", {
createDatacenter: true,
createSnapshot: true,
reserveIp: true,
accessActivityLog: false,
});
const userPassword = new random.index.Random_password("userPassword", {
length: 16,
special: true,
overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
});
const example = new ionoscloud.User("example", {
firstName: "example",
lastName: "example",
email: "unique@email.com",
password: userPassword.result,
administrator: false,
forceSecAuth: false,
active: true,
groupIds: [
group1.groupId,
group2.groupId,
group3.groupId,
],
});
import pulumi
import pulumi_ionoscloud as ionoscloud
import pulumi_random as random
group1 = ionoscloud.Group("group1",
create_datacenter=True,
create_snapshot=True,
reserve_ip=True,
access_activity_log=False,
create_k8s_cluster=True)
group2 = ionoscloud.Group("group2",
create_datacenter=True,
create_snapshot=True,
reserve_ip=True,
access_activity_log=False,
create_k8s_cluster=True)
group3 = ionoscloud.Group("group3",
create_datacenter=True,
create_snapshot=True,
reserve_ip=True,
access_activity_log=False)
user_password = random.index.Random_password("userPassword",
length=16,
special=True,
override_special=!#$%&*()-_=+[]{}<>:?)
example = ionoscloud.User("example",
first_name="example",
last_name="example",
email="unique@email.com",
password=user_password["result"],
administrator=False,
force_sec_auth=False,
active=True,
group_ids=[
group1.group_id,
group2.group_id,
group3.group_id,
])
package main
import (
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
group1, err := ionoscloud.NewGroup(ctx, "group1", &ionoscloud.GroupArgs{
CreateDatacenter: pulumi.Bool(true),
CreateSnapshot: pulumi.Bool(true),
ReserveIp: pulumi.Bool(true),
AccessActivityLog: pulumi.Bool(false),
CreateK8sCluster: pulumi.Bool(true),
})
if err != nil {
return err
}
group2, err := ionoscloud.NewGroup(ctx, "group2", &ionoscloud.GroupArgs{
CreateDatacenter: pulumi.Bool(true),
CreateSnapshot: pulumi.Bool(true),
ReserveIp: pulumi.Bool(true),
AccessActivityLog: pulumi.Bool(false),
CreateK8sCluster: pulumi.Bool(true),
})
if err != nil {
return err
}
group3, err := ionoscloud.NewGroup(ctx, "group3", &ionoscloud.GroupArgs{
CreateDatacenter: pulumi.Bool(true),
CreateSnapshot: pulumi.Bool(true),
ReserveIp: pulumi.Bool(true),
AccessActivityLog: pulumi.Bool(false),
})
if err != nil {
return err
}
userPassword, err := random.NewRandom_password(ctx, "userPassword", &random.Random_passwordArgs{
Length: 16,
Special: true,
OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
})
if err != nil {
return err
}
_, err = ionoscloud.NewUser(ctx, "example", &ionoscloud.UserArgs{
FirstName: pulumi.String("example"),
LastName: pulumi.String("example"),
Email: pulumi.String("unique@email.com"),
Password: userPassword.Result,
Administrator: pulumi.Bool(false),
ForceSecAuth: pulumi.Bool(false),
Active: pulumi.Bool(true),
GroupIds: pulumi.StringArray{
group1.GroupId,
group2.GroupId,
group3.GroupId,
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var group1 = new Ionoscloud.Group("group1", new()
{
CreateDatacenter = true,
CreateSnapshot = true,
ReserveIp = true,
AccessActivityLog = false,
CreateK8sCluster = true,
});
var group2 = new Ionoscloud.Group("group2", new()
{
CreateDatacenter = true,
CreateSnapshot = true,
ReserveIp = true,
AccessActivityLog = false,
CreateK8sCluster = true,
});
var group3 = new Ionoscloud.Group("group3", new()
{
CreateDatacenter = true,
CreateSnapshot = true,
ReserveIp = true,
AccessActivityLog = false,
});
var userPassword = new Random.Index.Random_password("userPassword", new()
{
Length = 16,
Special = true,
OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
});
var example = new Ionoscloud.User("example", new()
{
FirstName = "example",
LastName = "example",
Email = "unique@email.com",
Password = userPassword.Result,
Administrator = false,
ForceSecAuth = false,
Active = true,
GroupIds = new[]
{
group1.GroupId,
group2.GroupId,
group3.GroupId,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.Group;
import com.pulumi.ionoscloud.GroupArgs;
import com.pulumi.random.random_password;
import com.pulumi.random.Random_passwordArgs;
import com.pulumi.ionoscloud.User;
import com.pulumi.ionoscloud.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 group1 = new Group("group1", GroupArgs.builder()
.createDatacenter(true)
.createSnapshot(true)
.reserveIp(true)
.accessActivityLog(false)
.createK8sCluster(true)
.build());
var group2 = new Group("group2", GroupArgs.builder()
.createDatacenter(true)
.createSnapshot(true)
.reserveIp(true)
.accessActivityLog(false)
.createK8sCluster(true)
.build());
var group3 = new Group("group3", GroupArgs.builder()
.createDatacenter(true)
.createSnapshot(true)
.reserveIp(true)
.accessActivityLog(false)
.build());
var userPassword = new Random_password("userPassword", Random_passwordArgs.builder()
.length(16)
.special(true)
.overrideSpecial("!#$%&*()-_=+[]{}<>:?")
.build());
var example = new User("example", UserArgs.builder()
.firstName("example")
.lastName("example")
.email("unique@email.com")
.password(userPassword.result())
.administrator(false)
.forceSecAuth(false)
.active(true)
.groupIds(
group1.groupId(),
group2.groupId(),
group3.groupId())
.build());
}
}
resources:
example:
type: ionoscloud:User
properties:
firstName: example
lastName: example
email: unique@email.com
password: ${userPassword.result}
administrator: false
forceSecAuth: false
active: true
groupIds:
- ${group1.groupId}
- ${group2.groupId}
- ${group3.groupId}
group1:
type: ionoscloud:Group
properties:
createDatacenter: true
createSnapshot: true
reserveIp: true
accessActivityLog: false
createK8sCluster: true
group2:
type: ionoscloud:Group
properties:
createDatacenter: true
createSnapshot: true
reserveIp: true
accessActivityLog: false
createK8sCluster: true
group3:
type: ionoscloud:Group
properties:
createDatacenter: true
createSnapshot: true
reserveIp: true
accessActivityLog: false
userPassword:
type: random:random_password
properties:
length: 16
special: true
overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
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,
first_name: Optional[str] = None,
last_name: Optional[str] = None,
active: Optional[bool] = None,
administrator: Optional[bool] = None,
force_sec_auth: Optional[bool] = None,
group_ids: Optional[Sequence[str]] = None,
password: Optional[str] = None,
password_wo: Optional[str] = None,
password_wo_version: Optional[float] = None,
timeouts: Optional[UserTimeoutsArgs] = None,
user_id: Optional[str] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
type: ionoscloud: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 userResource = new Ionoscloud.User("userResource", new()
{
Email = "string",
FirstName = "string",
LastName = "string",
Active = false,
Administrator = false,
ForceSecAuth = false,
GroupIds = new[]
{
"string",
},
Password = "string",
PasswordWo = "string",
PasswordWoVersion = 0,
Timeouts = new Ionoscloud.Inputs.UserTimeoutsArgs
{
Create = "string",
Default = "string",
Delete = "string",
Update = "string",
},
UserId = "string",
});
example, err := ionoscloud.NewUser(ctx, "userResource", &ionoscloud.UserArgs{
Email: pulumi.String("string"),
FirstName: pulumi.String("string"),
LastName: pulumi.String("string"),
Active: pulumi.Bool(false),
Administrator: pulumi.Bool(false),
ForceSecAuth: pulumi.Bool(false),
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
PasswordWo: pulumi.String("string"),
PasswordWoVersion: pulumi.Float64(0),
Timeouts: &ionoscloud.UserTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserId: pulumi.String("string"),
})
var userResource = new User("userResource", UserArgs.builder()
.email("string")
.firstName("string")
.lastName("string")
.active(false)
.administrator(false)
.forceSecAuth(false)
.groupIds("string")
.password("string")
.passwordWo("string")
.passwordWoVersion(0)
.timeouts(UserTimeoutsArgs.builder()
.create("string")
.default_("string")
.delete("string")
.update("string")
.build())
.userId("string")
.build());
user_resource = ionoscloud.User("userResource",
email="string",
first_name="string",
last_name="string",
active=False,
administrator=False,
force_sec_auth=False,
group_ids=["string"],
password="string",
password_wo="string",
password_wo_version=0,
timeouts={
"create": "string",
"default": "string",
"delete": "string",
"update": "string",
},
user_id="string")
const userResource = new ionoscloud.User("userResource", {
email: "string",
firstName: "string",
lastName: "string",
active: false,
administrator: false,
forceSecAuth: false,
groupIds: ["string"],
password: "string",
passwordWo: "string",
passwordWoVersion: 0,
timeouts: {
create: "string",
"default": "string",
"delete": "string",
update: "string",
},
userId: "string",
});
type: ionoscloud:User
properties:
active: false
administrator: false
email: string
firstName: string
forceSecAuth: false
groupIds:
- string
lastName: string
password: string
passwordWo: string
passwordWoVersion: 0
timeouts:
create: string
default: string
delete: string
update: string
userId: 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
- [string] An e-mail address for the user.
- First
Name string - [string] A first name for the user.
- Last
Name string - [string] A last name for the user.
- Active bool
- [Boolean] Indicates if the user is active
- Administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- Force
Sec boolAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- Group
Ids List<string> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - Password string
- Password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- Password
Wo doubleVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - Timeouts
User
Timeouts - User
Id string
- Email string
- [string] An e-mail address for the user.
- First
Name string - [string] A first name for the user.
- Last
Name string - [string] A last name for the user.
- Active bool
- [Boolean] Indicates if the user is active
- Administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- Force
Sec boolAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- Group
Ids []string - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - Password string
- Password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- Password
Wo float64Version - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - Timeouts
User
Timeouts Args - User
Id string
- email String
- [string] An e-mail address for the user.
- first
Name String - [string] A first name for the user.
- last
Name String - [string] A last name for the user.
- active Boolean
- [Boolean] Indicates if the user is active
- administrator Boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- force
Sec BooleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids List<String> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - password String
- password
Wo String - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo DoubleVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - timeouts
User
Timeouts - user
Id String
- email string
- [string] An e-mail address for the user.
- first
Name string - [string] A first name for the user.
- last
Name string - [string] A last name for the user.
- active boolean
- [Boolean] Indicates if the user is active
- administrator boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- force
Sec booleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids string[] - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - password string
- password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo numberVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - timeouts
User
Timeouts - user
Id string
- email str
- [string] An e-mail address for the user.
- first_
name str - [string] A first name for the user.
- last_
name str - [string] A last name for the user.
- active bool
- [Boolean] Indicates if the user is active
- administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- force_
sec_ boolauth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group_
ids Sequence[str] - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - password str
- password_
wo str - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password_
wo_ floatversion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - timeouts
User
Timeouts Args - user_
id str
- email String
- [string] An e-mail address for the user.
- first
Name String - [string] A first name for the user.
- last
Name String - [string] A last name for the user.
- active Boolean
- [Boolean] Indicates if the user is active
- administrator Boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- force
Sec BooleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids List<String> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - password String
- password
Wo String - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo NumberVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - timeouts Property Map
- user
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- S3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- Sec
Auth boolActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- Id string
- The provider-assigned unique ID for this managed resource.
- S3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- Sec
Auth boolActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- id String
- The provider-assigned unique ID for this managed resource.
- s3Canonical
User StringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth BooleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- id string
- The provider-assigned unique ID for this managed resource.
- s3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth booleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- id str
- The provider-assigned unique ID for this managed resource.
- s3_
canonical_ struser_ id - Canonical (IONOS Object Storage) id of the user for a given identity
- sec_
auth_ boolactive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- id String
- The provider-assigned unique ID for this managed resource.
- s3Canonical
User StringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth BooleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
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,
active: Optional[bool] = None,
administrator: Optional[bool] = None,
email: Optional[str] = None,
first_name: Optional[str] = None,
force_sec_auth: Optional[bool] = None,
group_ids: Optional[Sequence[str]] = None,
last_name: Optional[str] = None,
password: Optional[str] = None,
password_wo: Optional[str] = None,
password_wo_version: Optional[float] = None,
s3_canonical_user_id: Optional[str] = None,
sec_auth_active: Optional[bool] = None,
timeouts: Optional[UserTimeoutsArgs] = None,
user_id: 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: ionoscloud: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.
- Active bool
- [Boolean] Indicates if the user is active
- Administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- Email string
- [string] An e-mail address for the user.
- First
Name string - [string] A first name for the user.
- Force
Sec boolAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- Group
Ids List<string> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - Last
Name string - [string] A last name for the user.
- Password string
- Password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- Password
Wo doubleVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - S3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- Sec
Auth boolActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- Timeouts
User
Timeouts - User
Id string
- Active bool
- [Boolean] Indicates if the user is active
- Administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- Email string
- [string] An e-mail address for the user.
- First
Name string - [string] A first name for the user.
- Force
Sec boolAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- Group
Ids []string - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - Last
Name string - [string] A last name for the user.
- Password string
- Password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- Password
Wo float64Version - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - S3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- Sec
Auth boolActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- Timeouts
User
Timeouts Args - User
Id string
- active Boolean
- [Boolean] Indicates if the user is active
- administrator Boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- email String
- [string] An e-mail address for the user.
- first
Name String - [string] A first name for the user.
- force
Sec BooleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids List<String> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - last
Name String - [string] A last name for the user.
- password String
- password
Wo String - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo DoubleVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - s3Canonical
User StringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth BooleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- timeouts
User
Timeouts - user
Id String
- active boolean
- [Boolean] Indicates if the user is active
- administrator boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- email string
- [string] An e-mail address for the user.
- first
Name string - [string] A first name for the user.
- force
Sec booleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids string[] - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - last
Name string - [string] A last name for the user.
- password string
- password
Wo string - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo numberVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - s3Canonical
User stringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth booleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- timeouts
User
Timeouts - user
Id string
- active bool
- [Boolean] Indicates if the user is active
- administrator bool
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- email str
- [string] An e-mail address for the user.
- first_
name str - [string] A first name for the user.
- force_
sec_ boolauth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group_
ids Sequence[str] - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - last_
name str - [string] A last name for the user.
- password str
- password_
wo str - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password_
wo_ floatversion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - s3_
canonical_ struser_ id - Canonical (IONOS Object Storage) id of the user for a given identity
- sec_
auth_ boolactive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- timeouts
User
Timeouts Args - user_
id str
- active Boolean
- [Boolean] Indicates if the user is active
- administrator Boolean
- [Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
- email String
- [string] An e-mail address for the user.
- first
Name String - [string] A first name for the user.
- force
Sec BooleanAuth - [Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
- group
Ids List<String> - [Set] The groups that this user will be a member of
NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error.
NOTE:
password_wo
requires Teraform 1.11 or higher. - last
Name String - [string] A last name for the user.
- password String
- password
Wo String - Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
- password
Wo NumberVersion - Used together with
password_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required. - s3Canonical
User StringId - Canonical (IONOS Object Storage) id of the user for a given identity
- sec
Auth BooleanActive - [Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
- timeouts Property Map
- user
Id String
Supporting Types
UserTimeouts, UserTimeoutsArgs
Import
Resource User can be imported using the resource id
, e.g.
$ pulumi import ionoscloud:index/user:User myuser user uuid
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.