blob: abc069b8f2631d7106714d839aed0e358a6b8e92 [file] [log] [blame]
---
layout: "cloudstack"
page_title: "Cloudstack: cloudstack_user"
sidebar_current: "docs-cloudstack-cloudstack_user"
description: |-
Gets information about cloudstack user.
---
# cloudstack_user
Use this datasource to get information about a cloudstack user for use in other resources.
### Example Usage
```hcl
data "cloudstack_user" "user-data-source"{
filter{
name = "first_name"
value= "jon"
}
}
```
### Argument Reference
* `filter` - (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.
## Attributes Reference
The following attributes are exported:
* `account` - The account name of the userg.
* `email` - The user email address.
* `first_name` - The user firstname.
* `last_name` - The user lastname.
* `username` - The user name