My tech enablement team has a process whereby they provision and manage API keys via Terraform - this is a process that works well for Azure, however there doesn’t seem to be a solid way of doing that for OpenAI API directly, which is a bit of a blocker for production at my org.
Specifically, when we look at Providers Terraform Registry, there are only a few self-implemented versions that don’t cover what we need.
Question 1 - am I missing something here?
Question 2- if not, is OpenAI planning to provide support for terraform?
1 Like
I’m @skyscrapr on GitHub and the creator of the most use terraform provider for openai. I’d be keen to discuss the most important use cases and continue to develop the provider. I’ve tried to reach out to OpenAI, but have not had any response on this. The provider already has 22k downloads and issues have been raised by users. SO it’s definitely go some momentum.
Keen to get in contact if anyone in OpenAi sees this.
1 Like
I created a Terraform provider that supports managing projects and API keys. I’m eager to support managing all other resources as well.
Check it out here:
1 Like
Great stuff, Jianyuan! Any plans to build out support for per-project members?
Also, I’m wondering about the invited users vs actual users. Is that hard to manage in Terraform, since users will change from one to other outside of Terraform. To add a new member I guess I’d have to add to invited users, then import them to users they after they sign up?
OpenAI has released their official Administration APIs now and the provider has been updated to utilize it. Yeah, invites can be hard to manage using Terraform. You can now create a per-project service account that gives you an API key that you can use in your application.