Files
tf_provider_immich/docs/data-sources/users.md
T

40 lines
930 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_users Data Source - terraform-provider-immich"
subcategory: ""
description: |-
Retrieves a list of all Immich users.
---
# immich_users (Data Source)
Retrieves a list of all Immich users.
## Example Usage
```terraform
data "immich_users" "all" {}
output "user_emails" {
value = data.immich_users.all.users[*].email
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Read-Only
- `users` (Attributes List) List of users. (see [below for nested schema](#nestedatt--users))
<a id="nestedatt--users"></a>
### Nested Schema for `users`
Read-Only:
- `email` (String) Email address of the user.
- `id` (String) Unique identifier for the user.
- `is_admin` (Boolean) Whether the user has administrative privileges.
- `name` (String) Full name of the user.
- `storage_label` (String) Label used for the user's storage path.