cd /news/developer-tools/openai-releases-an-official-terrafor… · home topics developer-tools article
[ARTICLE · art-62289] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

OpenAI releases an official Terraform provider

OpenAI released an official Terraform provider that enables infrastructure-as-code management of organization-level resources via the OpenAI Administration API, including projects, users, roles, service accounts, and rate limits. The provider requires Terraform 1.0 or later and an OpenAI Admin API key, and is licensed under Apache 2.0.

read1 min views1 publishedJul 16, 2026
OpenAI releases an official Terraform provider
Image: source

The OpenAI Terraform provider gives Terraform configurations convenient access to the OpenAI Administration API. Use it to manage organization-level resources such as projects, users, groups, roles, service accounts, certificates, rate limits, spend alerts, and related project settings.

See docs/ for resource and data source documentation.

TerraformCLI 1.0 or later- An OpenAI Admin API key

Admin API keys are required for Administration API endpoints and cannot be used for non-administration OpenAI API endpoints.

Set your Admin API key in the environment:

export OPENAI_ADMIN_KEY="<your-admin-api-key>"

Then create a Terraform configuration:

terraform {
  required_version = ">= 1.0"

  required_providers {
    openai = {
      source = "openai/openai"
    }
  }
}

provider "openai" {
}

resource "openai_project" "example" {
  name = "terraform-managed"
}

See docs/index.md for provider configuration details and the full resource and data source documentation.

This project is licensed under the Apache License 2.0.

── more in #developer-tools 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/openai-releases-an-o…] indexed:0 read:1min 2026-07-16 ·