Overview
The Grantex Terraform provider lets you manage agents, policies, webhooks, SSO configuration, and budget allocations as code.Installation
Resources
grantex_agent
grantex_policy
grantex_webhook
grantex_sso_config
grantex_budget_allocation
Data Sources
grantex_agent
grantex_grants
Import
Existing resources can be imported:State Management
The provider stores resource IDs in Terraform state. For team environments, use a remote backend:Environment Variables
| Variable | Description |
|---|---|
GRANTEX_API_KEY | API key (alternative to api_key in provider block) |
GRANTEX_BASE_URL | Base URL (alternative to base_url, default: https://api.grantex.dev) |