1.5 KiB
1.5 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| immich_shared_link Resource - terraform-provider-immich | Manages an Immich shared link for albums or individual assets. |
immich_shared_link (Resource)
Manages an Immich shared link for albums or individual assets.
Example Usage
resource "immich_shared_link" "example" {
type = "ALBUM"
album_id = "some-album-id"
description = "My shared album"
allow_download = true
}
Schema
Required
type(String) Type of the shared link. Must be eitherALBUMorINDIVIDUAL.
Optional
album_id(String) ID of the album to share (required if type isALBUM).allow_download(Boolean) Whether to allow users with the link to download assets.allow_upload(Boolean) Whether to allow users with the link to upload assets.asset_ids(List of String) List of asset IDs to share (required if type isINDIVIDUAL).description(String) Optional description for the shared link.expires_at(String) ISO 8601 formatted timestamp when the link expires.password(String, Sensitive) Optional password protection for the link.show_metadata(Boolean) Whether to show asset metadata to users with the link.slug(String) Custom URL slug for the shared link.
Read-Only
id(String) Unique identifier for the shared link.key(String) The encryption key for the shared link.