Skip to content

Provisioning with Terraform

Create terraform/terraform.tfvars.json from the example and fill in your values. This is the main place to keep the environment’s identity and credentials in one spot:

{
"location": "uksouth",
"name_prefix": "cosine-azure-cluster",
"registry_server": "registry.cosine.enterprises",
"registry_email": "readOnlyUser@cosine.sh",
"registry_username": "readOnlyUser",
"registry_password": "<your-password>",
"llm_api_token": "<your-llm-api-token>"
}

You can further configure the cluster in terraform/main.tf if you want to adjust node size or disk space.

When you’re ready, provision the cluster and let Terraform apply the plan:

Terminal window
terraform apply