Files

39 lines
850 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_albums Data Source - immich"
subcategory: ""
description: |-
Retrieves a list of all Immich albums.
---
# immich_albums (Data Source)
Retrieves a list of all Immich albums.
## Example Usage
```terraform
data "immich_albums" "all" {}
output "album_names" {
value = data.immich_albums.all.albums[*].name
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Read-Only
- `albums` (Attributes List) List of albums. (see [below for nested schema](#nestedatt--albums))
<a id="nestedatt--albums"></a>
### Nested Schema for `albums`
Read-Only:
- `asset_count` (Number) Number of assets in the album.
- `description` (String) Description of the album.
- `id` (String) Unique identifier for the album.
- `name` (String) Display name of the album.