{"id":16633506,"url":"https://github.com/LukasParke/plexterraform","last_synced_at":"2026-06-15T16:30:15.047Z","repository":{"id":213900701,"uuid":"735218391","full_name":"LukeHagar/plexterraform","owner":"LukeHagar","description":"An open source terraform provider for Plex Media Server","archived":false,"fork":false,"pushed_at":"2024-07-01T15:42:29.000Z","size":516,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T01:34:21.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeHagar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-24T05:07:03.000Z","updated_at":"2024-07-01T15:42:30.000Z","dependencies_parsed_at":"2024-01-31T16:53:28.294Z","dependency_job_id":"4e226d74-8a28-4570-a2bd-8b272a6ee4a2","html_url":"https://github.com/LukeHagar/plexterraform","commit_stats":null,"previous_names":["lukehagar/plexterraform"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fplexterraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fplexterraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fplexterraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fplexterraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeHagar","download_url":"https://codeload.github.com/LukeHagar/plexterraform/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240239006,"owners_count":19770052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T05:23:50.818Z","updated_at":"2026-06-15T16:30:14.923Z","avatar_url":"https://github.com/LukeHagar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlexAPI\n\n\u003cdiv align=\"left\"\u003e\n    \u003ca href=\"https://speakeasyapi.dev/\"\u003e\u003cimg src=\"https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge\u0026logoColor=FBE331\u0026logo=speakeasy\u0026labelColor=545454\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/LukeHagar/plexterraform.git/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/LukeHagar/plexterraform/speakeasy_sdk_generation.yml?style=for-the-badge\" /\u003e\u003c/a\u003e\n    \n\u003c/div\u003e\n\n\u003cno value\u003e\n\u003c!-- Start SDK \u003cno value\u003e --\u003e\nTo install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.\n\n```hcl\nterraform {\n  required_providers {\n    PlexAPI = {\n      source  = \"LukeHagar/PlexAPI\"\n      version = \"0.1.0\"\n    }\n  }\n}\n\nprovider \"PlexAPI\" {\n  # Configuration options\n}\n```\n\u003c!-- End SDK \u003cno value\u003e --\u003e\n\n\u003cno value\u003e\n\u003c!-- Start SDK \u003cno value\u003e --\u003e\n### Testing the provider locally\n\nShould you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.\n\nThis also allows for debuggers (e.g. delve) to be attached to the provider.\n\n### Example\n\n```sh\ngo run main.go --debug\n# Copy the TF_REATTACH_PROVIDERS env var\n# In a new terminal\ncd examples/your-example\nTF_REATTACH_PROVIDERS=... terraform init\nTF_REATTACH_PROVIDERS=... terraform apply\n```\n\u003c!-- End SDK \u003cno value\u003e --\u003e\n\n\u003cno value\u003e\n\u003c!-- Start SDK \u003cno value\u003e --\u003e\n\n\u003c!-- End SDK \u003cno value\u003e --\u003e\n\n\u003c!-- Start SDK Installation [installation] --\u003e\n## SDK Installation\n\nTo install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.\n\n```hcl\nterraform {\n  required_providers {\n    PlexAPI = {\n      source  = \"LukeHagar/PlexAPI\"\n      version = \"0.18.0\"\n    }\n  }\n}\n\nprovider \"PlexAPI\" {\n  # Configuration options\n}\n```\n\u003c!-- End SDK Installation [installation] --\u003e\n\n\u003c!-- Start SDK Example Usage [usage] --\u003e\n## SDK Example Usage\n\n### Testing the provider locally\n\nShould you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.\n\nThis also allows for debuggers (e.g. delve) to be attached to the provider.\n\n### Example\n\n```sh\ngo run main.go --debug\n# Copy the TF_REATTACH_PROVIDERS env var\n# In a new terminal\ncd examples/your-example\nTF_REATTACH_PROVIDERS=... terraform init\nTF_REATTACH_PROVIDERS=... terraform apply\n```\n\u003c!-- End SDK Example Usage [usage] --\u003e\n\n\u003c!-- Start Available Resources and Operations [operations] --\u003e\n## Available Resources and Operations\n\n\n\u003c!-- End Available Resources and Operations [operations] --\u003e\n\n\u003c!-- Start Global Parameters [global-parameters] --\u003e\n## Global Parameters\n\nA parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.\n\nFor example, you can set `X-Plex-Client-Identifier` to `\"Postman\"` at SDK initialization and then you do not have to pass the same value on calls to operations like `GetPin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.\n\n\n### Available Globals\n\nThe following global parameter is available.\n\n| Name | Type | Required | Description |\n| ---- | ---- |:--------:| ----------- |\n| XPlexClientIdentifier | string |  | The unique identifier for the client application\nThis is used to track the client application and its usage\n(UUID, serial number, or other number unique per device)\n |\n\n\n### Testing the provider locally\n\nShould you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.\n\nThis also allows for debuggers (e.g. delve) to be attached to the provider.\n\n### Example\n\n```sh\ngo run main.go --debug\n# Copy the TF_REATTACH_PROVIDERS env var\n# In a new terminal\ncd examples/your-example\nTF_REATTACH_PROVIDERS=... terraform init\nTF_REATTACH_PROVIDERS=... terraform apply\n```\n\u003c!-- End Global Parameters [global-parameters] --\u003e\n\n\u003c!-- Placeholder for Future Speakeasy SDK Sections --\u003e\n\nTerraform allows you to use local provider builds by setting a `dev_overrides` block in a configuration file called `.terraformrc`. This block overrides all other configured installation methods.\n\nTerraform searches for the `.terraformrc` file in your home directory and applies any configuration settings you set.\n\n```\nprovider_installation {\n\n  dev_overrides {\n      \"registry.terraform.io/LukeHagar/plex-api\" = \"\u003cPATH\u003e\"\n  }\n\n  # For all other providers, install them directly from their origin provider\n  # registries as normal. If you omit this, Terraform will _only_ use\n  # the dev_overrides block, and so no other providers will be available.\n  direct {}\n}\n```\n\nYour `\u003cPATH\u003e` may vary depending on how your Go environment variables are configured. Execute `go env GOBIN` to set it, then set the `\u003cPATH\u003e` to the value returned. If nothing is returned, set it to the default location, `$HOME/go/bin`.\n\nNote: To use the dev_overrides, please ensure you run `go build` in this folder. You must have a binary available for terraform to find.\n\n### Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically.\nFeel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!\n\n### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLukasParke%2Fplexterraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLukasParke%2Fplexterraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLukasParke%2Fplexterraform/lists"}