Skip to main content
This walkthrough provisions a small but realistic setup: a project, a model shared into it, a scoped API key for a backend service, and a monthly budget with an email alert.

Prerequisites

  • Terraform 1.5+ or OpenTofu
  • An Orq.ai Management Key created with the ALL permission mode, exported as ORQ_API_KEY (a RESTRICTED key needs write grants for every resource managed here)

Configuration

main.tf

Apply

The project, model grant, key, notifier, and budget appear in the dashboard immediately. Re-running terraform plan reports no changes: the provider reconciles server-side defaults, so applies stay clean.

Import existing resources

Resources created in the dashboard can be adopted without recreating them:

Going further

The full provider reference covers every attribute, including guardrail rules, LLM and Python Evaluators, model routing, custom and Bedrock models, and workspace settings. See Supported resources for the complete list.