Skip to main content
The Terraform provider manages infercrane_deployment through the control-plane API. InferCrane continues to own replicas, provider request identity, drain fencing, revisions, Release Guard, and cleanup. infercrane_slo_policy manages the deterministic policy used by infercrane recommend:
Destroying this resource deletes the policy but preserves benchmark and recommendation history. Recommendations remain an explicit evaluation rather than a Terraform apply.
The provider is not yet published in the Terraform Registry. The public beta provides source and attested multi-platform ZIPs on the v1.0.0-rc.1 prerelease. Registry publication is deferred until the provider has an independent repository, Registry-format documentation, signed checksums, and its own qualification path.
Build the provider from the same InferCrane tag as the control plane and use Terraform’s dev_overrides installation mechanism as documented in integrations/terraform/README.md. The infercrane/infercrane source address below identifies the provider protocol address; it is not a claim that Registry installation works today.
name owns deployment lifecycle state. endpoint_name is the stable alias used by applications and defaults to name when omitted.

Lifecycle behavior

Use deployment-name/endpoint-name when importing an explicit alias. A name-only import selects the endpoint whose name matches the deployment; it is safe for the default endpoint even when the deployment also has additional aliases. If Terraform is interrupted, InferCrane continues the operation. The next apply derives the same idempotency identity, adopts the original logical deployment, and resumes observation. Terraform state never stores a provider API key supplied through INFERCRANE_API_KEY, and it does not contain provider-owned replica identifiers as desired inputs.
An update can remain unpromoted when Release Guard lacks sufficient evidence or rejects the candidate. Inspect the persisted reason with infercrane rollout inspect qwen-prod; Terraform does not bypass the guard to force convergence.