39 lines
757 B
Markdown
39 lines
757 B
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "immich_stack Resource - immich"
|
|
subcategory: ""
|
|
description: |-
|
|
Manages an Immich asset stack.
|
|
---
|
|
|
|
# immich_stack (Resource)
|
|
|
|
Manages an Immich asset stack.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "immich_stack" "example" {
|
|
asset_ids = [
|
|
"asset-uuid-1",
|
|
"asset-uuid-2"
|
|
]
|
|
primary_asset_id = "asset-uuid-1"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `asset_ids` (List of String) List of asset IDs to include in the stack. The first ID will be the primary asset by default.
|
|
|
|
### Optional
|
|
|
|
- `primary_asset_id` (String) The ID of the primary asset in the stack.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) Unique identifier for the stack.
|