scylladb / terraform-provider-scylladbcloud

Terraform provider for ScyllaDB Cloud.
https://registry.terraform.io/providers/scylladb/scylladbcloud/latest
Apache License 2.0
11 stars 10 forks source link
cassandra scylla scylla-cloud scylla-cluster scylladb scylladb-cloud scylladb-cluster terraform terraform-provider

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