Sources

You can use Terraform to provision Kubiya sources. By doing so, you connect tools from source control repositories, like GitHub, GitLab or Bitbucket to the Kubiya platform so that they can be connected to AI Teammates.

Want to know more about Sources in Kubiya? Learn more

Here's an example of how to add your source to Kubiya using Terraform:

terraform {
  required_providers {
    kubiya = {
      source = "kubiya-terraform/kubiya"
    }
  }
}

provider "kubiya" {
 //Your Kubiya API Key will be taken from the 
  //environment variable KUBIYA_API_KEY
  //To set the key, please use export KUBIYA_API_KEY="YOUR_API_KEY"
}

resource "kubiya_source" "example" {
  url           = "Your source URL"
}

output "output" {
  value = kubiya_source.example
}

Last updated