1.2 KiB
1.2 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| immich_workflow Resource - terraform-provider-immich | Manages an Immich workflow (Experimental). |
immich_workflow (Resource)
Manages an Immich workflow (Experimental).
Example Usage
resource "immich_workflow" "example" {
name = "Auto-Tag Video"
enabled = true
triggers = jsonencode([
{
"type": "asset.upload",
"options": {}
}
])
filters = jsonencode([
{
"type": "asset.type",
"options": {
"type": "video"
}
}
])
actions = jsonencode([
{
"type": "asset.tag",
"options": {
"tagId": "your-tag-uuid"
}
}
])
}
Schema
Required
actions(String) JSON string representing the workflow actions.name(String) Name of the workflow.triggers(String) JSON string representing the workflow triggers.
Optional
enabled(Boolean) Whether the workflow is enabled.filters(String) JSON string representing the workflow filters.
Read-Only
id(String) Unique identifier for the workflow.