chore: update provider source to tfmm and add Gemini assistance note

This commit is contained in:
2026-06-01 11:48:44 -04:00
parent f2b245f31a
commit ef9c052995
41 changed files with 44 additions and 42 deletions
View File
+4 -2
View File
@@ -2,11 +2,13 @@
A Terraform/OpenTofu provider for managing [Immich](https://immich.app/). A Terraform/OpenTofu provider for managing [Immich](https://immich.app/).
This provider and its documentation were developed with the assistance of Gemini, an AI assistant from Google.
Immich is a high-performance self-hosted photo and video management solution. This provider allows you to manage users, API keys, albums, and shared links programmatically. Immich is a high-performance self-hosted photo and video management solution. This provider allows you to manage users, API keys, albums, and shared links programmatically.
## Documentation ## Documentation
Full documentation for the provider can be found on the [Terraform Registry](https://registry.terraform.io/providers/immich-app/immich/latest/docs). Full documentation for the provider can be found on the [Terraform Registry](https://registry.terraform.io/providers/tfmm/immich/latest/docs).
## Requirements ## Requirements
@@ -21,7 +23,7 @@ To use this provider, add the following to your Terraform configuration:
terraform { terraform {
required_providers { required_providers {
immich = { immich = {
source = "registry.terraform.io/immich-app/immich" source = "registry.terraform.io/tfmm/immich"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_activities Data Source - terraform-provider-immich" page_title: "immich_activities Data Source - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Retrieves a list of activities for an album or asset. Retrieves a list of activities for an album or asset.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_albums Data Source - terraform-provider-immich" page_title: "immich_albums Data Source - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Retrieves a list of all Immich albums. Retrieves a list of all Immich albums.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_libraries Data Source - terraform-provider-immich" page_title: "immich_libraries Data Source - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Retrieves a list of all Immich libraries. Retrieves a list of all Immich libraries.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_server_info Data Source - terraform-provider-immich" page_title: "immich_server_info Data Source - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Retrieves information about the Immich server. Retrieves information about the Immich server.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_users Data Source - terraform-provider-immich" page_title: "immich_users Data Source - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Retrieves a list of all Immich users. Retrieves a list of all Immich users.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_activity Resource - terraform-provider-immich" page_title: "immich_activity Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich activity (comment or like). Manages an Immich activity (comment or like).
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_album Resource - terraform-provider-immich" page_title: "immich_album Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich album. Manages an Immich album.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_api_key Resource - terraform-provider-immich" page_title: "immich_api_key Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich personal API key. Note that the secret is only available upon creation. Manages an Immich personal API key. Note that the secret is only available upon creation.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_library Resource - terraform-provider-immich" page_title: "immich_library Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich library. Manages an Immich library.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_memory Resource - terraform-provider-immich" page_title: "immich_memory Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich memory. Manages an Immich memory.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_partner Resource - terraform-provider-immich" page_title: "immich_partner Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich partner connection. Manages an Immich partner connection.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_person Resource - terraform-provider-immich" page_title: "immich_person Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich person. Note: Persons are usually created automatically by Immich facial recognition. This resource is used to update their details. Manages an Immich person. Note: Persons are usually created automatically by Immich facial recognition. This resource is used to update their details.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_shared_link Resource - terraform-provider-immich" page_title: "immich_shared_link Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich shared link for albums or individual assets. Manages an Immich shared link for albums or individual assets.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_stack Resource - terraform-provider-immich" page_title: "immich_stack Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich asset stack. Manages an Immich asset stack.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_system_config Resource - terraform-provider-immich" page_title: "immich_system_config Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages Immich system configuration. This is a singleton resource. Manages Immich system configuration. This is a singleton resource.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_tag Resource - terraform-provider-immich" page_title: "immich_tag Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich tag. Manages an Immich tag.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_user Resource - terraform-provider-immich" page_title: "immich_user Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich user account. Manages an Immich user account.
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "immich_workflow Resource - terraform-provider-immich" page_title: "immich_workflow Resource - immich"
subcategory: "" subcategory: ""
description: |- description: |-
Manages an Immich workflow (Experimental). Manages an Immich workflow (Experimental).
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/immich-app/terraform-provider-immich module github.com/tfmm/terraform-provider-immich
go 1.26.3 go 1.26.3
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/provider/schema" "github.com/hashicorp/terraform-plugin-framework/provider/schema"
"github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types"
"github.com/immich-app/terraform-provider-immich/internal/client" "github.com/tfmm/terraform-provider-immich/internal/client"
) )
// Ensure the implementation satisfies the expected interfaces. // Ensure the implementation satisfies the expected interfaces.
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"log" "log"
"github.com/hashicorp/terraform-plugin-framework/providerserver" "github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/immich-app/terraform-provider-immich/internal/provider" "github.com/tfmm/terraform-provider-immich/internal/provider"
) )
// Run "go generate" to format example terraform files and generate the docs for the registry/website. // Run "go generate" to format example terraform files and generate the docs for the registry/website.
@@ -31,7 +31,7 @@ func main() {
flag.Parse() flag.Parse()
opts := providerserver.ServeOpts{ opts := providerserver.ServeOpts{
Address: "registry.terraform.io/immich-app/immich", Address: "registry.terraform.io/tfmm/immich",
Debug: debug, Debug: debug,
} }