v1.0.0
π Terraform Provider for OpenAI v1.0.0
The first official release of the Terraform Provider for OpenAI is here!
Manage your OpenAI resources with Infrastructure as Code. This provider brings declarative configuration to OpenAI's API,
enabling teams to version control, review, and automate their AI infrastructure.
β¨ Features
- Complete Resource Coverage: Chat completions, embeddings, fine-tuning jobs, files, images, audio operations, and
organization management - Dual API Key Support: Seamlessly switch between project and admin API keys based on resource requirements
- Data Sources: Read and reference existing OpenAI resources in your Terraform configurations
- Comprehensive Examples: Ready-to-use examples for every resource type
- Reusable Modules: Pre-built modules for common OpenAI workflows
π Getting Started
terraform {
required_providers {
openai = {
source = "mkdev-me/openai"
version = "~> 1.0"
}
}
}
provider "openai" {
api_key = var.openai_api_key
}
π Resources Available
- Chat Completions
- Embeddings
- Fine-tuning Jobs
- File Management
- Image Generation
- Audio Transcription/Translation
- Organization & Project Management
- User & Service Account Management
Full documentation: https://registry.terraform.io/providers/mkdev-me/openai/latest