docs: add examples and generate documentation for all new resources
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_stack Resource - terraform-provider-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.
|
||||
Reference in New Issue
Block a user