Skip to main content
The official Orq.ai Terraform provider manages workspace configuration as code: projects, model access, credentials, budgets, guardrails, evaluators, and routing rules. It works with both Terraform and OpenTofu.

Registries

Terraform Registry

Complete schema reference and examples for every resource.

GitHub

Provider source code, releases, and issue tracker.

Installation

Add the provider to the required_providers block. The same source address works for Terraform and OpenTofu.

Authentication

The provider authenticates with a Management Key. Create one in the Orq.ai dashboard, then pass it via the environment:
A key created with the ALL permission mode can manage every supported resource, including minting further API keys and Management Keys. A RESTRICTED key manages only the domains it was granted.

Next steps

Quickstart

Provision a project, enable a model, and mint a scoped API key in one apply.

Supported resources

Every resource the provider manages, with links to the full reference.

Enterprise baseline

A pre-written locked-down setup: model enforcement, PII redaction, secret detection, and a hard budget.