The Terraform provider (packages/terraform-provider-kovara/) reads Kovara market data and launches GPUs on your own provider accounts.
data "kovara_offerings" "h100" {
gpu_slug = "nvidia-h100-sxm"
max_usd_per_gpu_hour = 2.5
min_confidence_grade = "B"
}
resource "kovara_launch" "training" {
connection_id = var.connection_id
offering_id = data.kovara_offerings.h100.cheapest_offering_id
gpu_count = 2
max_price_per_gpu_hour = "2.50"
ttl_hours = 4
labels = { team = "research" }
}kovara_offeringslists current public offerings, cheapest first. An offering without a comparable price is never priced by guesswork. It needs no key.kovara_launchasks the provider for its live price and stock, and confirms only at or below your cap and within your connection's and organization's limits. Then it creates the instance.- The provider bills your own account.
- The instance stops itself after
ttl_hours. Terraform then plans a new launch. - Destroy stops the instance.
- Labels change in place; changing anything else replaces the launch.
The provider block takes api_key (or KOVARA_API_KEY), a developer key with launches:read and launches:write. The provider's README documents every argument and attribute, and how to publish it to the Terraform Registry.