{"id":15292460,"url":"https://github.com/antonbabenko/terraform-provider-openai","last_synced_at":"2025-04-14T19:08:18.661Z","repository":{"id":186179175,"uuid":"663012570","full_name":"antonbabenko/terraform-provider-openai","owner":"antonbabenko","description":"Terraform provider for OpenAI (experimental as hell)","archived":false,"fork":false,"pushed_at":"2025-04-08T14:10:40.000Z","size":456,"stargazers_count":27,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T19:08:11.235Z","etag":null,"topics":["openai","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/antonbabenko/openai","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/antonbabenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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},"funding":{"github":["antonbabenko"],"patreon":"antonbabenko","custom":["https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"]}},"created_at":"2023-07-06T11:12:56.000Z","updated_at":"2025-04-10T09:48:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b734b7b-97e1-4981-85c7-046c0bdaf5d5","html_url":"https://github.com/antonbabenko/terraform-provider-openai","commit_stats":{"total_commits":69,"total_committers":4,"mean_commits":17.25,"dds":0.2028985507246377,"last_synced_commit":"5a0ceaeba4938b6a034e2a2a84331fbc249764b6"},"previous_names":["antonbabenko/terraform-provider-openai"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fterraform-provider-openai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fterraform-provider-openai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fterraform-provider-openai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fterraform-provider-openai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonbabenko","download_url":"https://codeload.github.com/antonbabenko/terraform-provider-openai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943456,"owners_count":21186958,"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":["openai","terraform","terraform-provider"],"created_at":"2024-09-30T16:17:57.341Z","updated_at":"2025-04-14T19:08:18.622Z","avatar_url":"https://github.com/antonbabenko.png","language":"Go","funding_links":["https://github.com/sponsors/antonbabenko","https://patreon.com/antonbabenko","https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003cimg src=\"https://github.com/antonbabenko/terraform-provider-openai/assets/108416695/e1d2a17a-0831-41c4-804a-6e162bd33b60\" width=\"500\"\u003e\n    \u003c/picture\u003e\n   \u003cp\u003eProgrammatically control resources in the OpenAI API.\u003c/p\u003e\n   \u003ca href=\"https://platform.openai.com/docs/api-reference\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Authentication\n\nDevelopers will need to create an API Key within their OpenAI [organisation](https://platform.openai.com/) to make API requests.\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    openai = {\n      source  = \"antonbabenko/openai\"\n      version = \"2.3.2\"\n    }\n  }\n}\n\nprovider \"openai\" {\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\n\n\u003c!-- Placeholder for Future Speakeasy SDK Sections --\u003e\n\n\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/openai/scaffolding\" = \"\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\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### Provider Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonbabenko%2Fterraform-provider-openai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonbabenko%2Fterraform-provider-openai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonbabenko%2Fterraform-provider-openai/lists"}