Kubiya LogoKubiya Developer Docs

Terraform Provider

The Kubiya provider is used to interact with the Kubiya AI platform resources.

Kubiya Provider

The Kubiya provider is used to interact with the resources supported by the Kubiya AI platform. The provider needs to be configured with the proper credentials before it can be used.

Example Usage

terraform {
  required_providers {
    kubiya = {
      source = "kubiya-terraform/kubiya"
    }
  }
}
 
provider "kubiya" {
  # Configuration options
}

Authentication

The Kubiya provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order:

  • Static credentials
  • Environment variables

Static credentials

provider "kubiya" {
  api_key = "my-api-key"
}

Environment variables

provider "kubiya" {}
export KUBIYA_API_KEY="my-api-key"

To generate an API key, go to the Kubiya dashboard under Admin → Kubiya API Keys.

Supported Resources

The following resources are supported by the Kubiya provider:

On this page