docs: add examples and generate documentation for all new resources
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
])
|
||||
}
|
||||
Reference in New Issue
Block a user