Skip to content

maxrabin/terraform-provider-scylladbcloud

 
 

Repository files navigation

terraform-provider-scylladbcloud

This is the repository for the Terraform Scylla Cloud Provider, which allows one to use Terraform with ScyllaDB's Database as a Service, Scylla Cloud. For general information about Terraform, visit the official website and the GitHub project page. For details about Scylla Cloud, see Scylla Cloud Documentation. The provider is using Scylla Cloud REST API.

Prerequisites

Provider configuration

In order to configure provider pass a token you obtained from ScyllaDB Cloud:

terraform {
	required_providers {
		scylladbcloud = {
			source = "registry.terraform.io/scylladb/scylladbcloud"
		}
	}
}

provider "scylladbcloud" {
	token = "..."
}

Run terraform apply in order to create a cluster or terraform destroy in order to delete it.

You can also import an existing cluster by providing its ID:

resource "scylladbcloud_cluster" "mycluster" { }

Run terraform import scylladbcloud_cluster.mycluster 123 to import an existing cluster into the state file.

For debugging / troubleshooting please Terraform debugging documentation.

Demo Video

Watch a demo of using Scylla Cloud Terrafrom Provider