ionoscloud_user
Creates and manages user objects.
Manages Users and list users and groups associated with that user.
Example Usage
Argument reference
administrator
- (Required)[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
- (Required)[string] An e-mail address for the user.first_name
- (Required)[string] A first name for the user.force_sec_auth
- (Required)[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).last_name
- (Required)[string] A last name for the user.password
- (Optional)[string] A password for the user. If you are using terraform 1.11 or higher, you can usepassword_wo
instead ofpassword
to avoid storing the password in the state file.password_wo
- (Optional, Write-Only, exactly one ofpassword
orpassword_wo
is required) user password. This value is always marked as sensitive in the plan output, regardless oftype
. Additionally,write-only
values are never stored to state.password_wo_version
can be used to trigger an update and is required with this argument. In Terraform CLI version 0.15 and later, this may require additional configuration handling for certain scenarios. For more information, see the Terraform v0.15 Upgrade Guide.password_wo_version
- (Optional) Used together withpassword_wo
to trigger an update. Increment this value when an update to thepassword_wo
is required.sec_auth_active
- (Optional)[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in updates3_canonical_user_id
- (Computed) Canonical (IONOS Object Storage) id of the user for a given identityactive
- (Optional)[Boolean] Indicates if the user is activegroup_ids
- (Optional)[Set] The groups that this user will be a member ofNOTE: 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.
Import
Resource User can be imported using the resource id
, e.g.
Last updated