Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.04 KB

user.html.markdown

File metadata and controls

48 lines (35 loc) · 1.04 KB
layout title sidebar_current description
default
CloudStack: cloudstack_user
docs-cloudstack-resource-user
Creates a User

CloudStack: cloudstack_user

A cloudstack_user resource manages a user within CloudStack.

Example Usage

resource "cloudstack_user" "example" {
    account = "example-account"
    email = "[email protected]"
    first_name = "John"
    last_name = "Doe"
    password = "securepassword"
    username = "jdoe"
}

Argument Reference

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.

Attributes Reference

No attributes are exported.

Import

Users can be imported; use <USERID> as the import ID. For example:

$ terraform import cloudstack_user.example <USERID>