chore: update provider source to tfmm and add Gemini assistance note
This commit is contained in:
Executable
@@ -2,11 +2,13 @@
|
||||
|
||||
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.
|
||||
|
||||
## 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
|
||||
|
||||
@@ -21,7 +23,7 @@ To use this provider, add the following to your Terraform configuration:
|
||||
terraform {
|
||||
required_providers {
|
||||
immich = {
|
||||
source = "registry.terraform.io/immich-app/immich"
|
||||
source = "registry.terraform.io/tfmm/immich"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Retrieves a list of activities for an album or asset.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Retrieves a list of all Immich albums.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Retrieves a list of all Immich libraries.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Retrieves information about the Immich server.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Retrieves a list of all Immich users.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_activity Resource - terraform-provider-immich"
|
||||
page_title: "immich_activity Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich activity (comment or like).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_album Resource - terraform-provider-immich"
|
||||
page_title: "immich_album Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich album.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Manages an Immich personal API key. Note that the secret is only available upon creation.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_library Resource - terraform-provider-immich"
|
||||
page_title: "immich_library Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich library.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_memory Resource - terraform-provider-immich"
|
||||
page_title: "immich_memory Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich memory.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_partner Resource - terraform-provider-immich"
|
||||
page_title: "immich_partner Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich partner connection.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_person Resource - terraform-provider-immich"
|
||||
page_title: "immich_person Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich person. Note: Persons are usually created automatically by Immich facial recognition. This resource is used to update their details.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Manages an Immich shared link for albums or individual assets.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_stack Resource - terraform-provider-immich"
|
||||
page_title: "immich_stack Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich asset stack.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# 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: ""
|
||||
description: |-
|
||||
Manages Immich system configuration. This is a singleton resource.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_tag Resource - terraform-provider-immich"
|
||||
page_title: "immich_tag Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich tag.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_user Resource - terraform-provider-immich"
|
||||
page_title: "immich_user Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich user account.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "immich_workflow Resource - terraform-provider-immich"
|
||||
page_title: "immich_workflow Resource - immich"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
Manages an Immich workflow (Experimental).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module github.com/immich-app/terraform-provider-immich
|
||||
module github.com/tfmm/terraform-provider-immich
|
||||
|
||||
go 1.26.3
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
|
||||
"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.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/provider/schema"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource"
|
||||
"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.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
|
||||
"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.
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource"
|
||||
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
|
||||
"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.
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
|
||||
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
|
||||
"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.
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
|
||||
"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.
|
||||
@@ -31,7 +31,7 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
opts := providerserver.ServeOpts{
|
||||
Address: "registry.terraform.io/immich-app/immich",
|
||||
Address: "registry.terraform.io/tfmm/immich",
|
||||
Debug: debug,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user