layout | page_title | sidebar_current | description |
---|---|---|---|
cloudstack |
Cloudstack: cloudstack_user |
docs-cloudstack-cloudstack_user |
Gets information about cloudstack user. |
Use this datasource to get information about a cloudstack user for use in other resources.
data "cloudstack_user" "user-data-source"{
filter{
name = "first_name"
value= "jon"
}
}
filter
- (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.
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