layout | title | sidebar_current | description |
---|---|---|---|
default |
CloudStack: cloudstack_user |
docs-cloudstack-resource-user |
Creates a User |
A cloudstack_user
resource manages a user within CloudStack.
resource "cloudstack_user" "example" {
account = "example-account"
email = "[email protected]"
first_name = "John"
last_name = "Doe"
password = "securepassword"
username = "jdoe"
}
The following arguments are supported:
account
- (Optional) The account the user belongs to.email
- (Required) The email address of the user.first_name
- (Required) The first name of the user.last_name
- (Required) The last name of the user.password
- (Required) The password for the user.username
- (Required) The username of the user.
No attributes are exported.
Users can be imported; use <USERID>
as the import ID. For example:
$ terraform import cloudstack_user.example <USERID>