Skip to content

A project that allows DataStax Astra users to manage their full database lifecycle for Astra Serverless databases (built on Apache Cassandra(TM)) using Terraform

License

Notifications You must be signed in to change notification settings

zzzming/terraform-provider-astra

 
 

Repository files navigation

Terraform Provider for Astra

Astra is DataStax's Serverless Apache Cassandra as a service platform.

Requirements

Using the provider

Obtain a client token from the Astra Dashboard.

Configure provider (provider.tf):

provider "astra" {
    token = "your client token"
}

Examples

See examples of resources.tf here

To run:

terraform plan

terraform apply

terraform show

Documentation Updates

When modifying plugin services, updates to documentation may be required. Once you have changed a service description, or added or deleted a service, you need to regenerate the docs and commit them with your changes.

Generating docs

The tool used to generate documentation is tfplugindocs. See the installation section for installing the tool. Once installed, generate the docs by running tfplugindocs from the root of the project:

tfplugindocs

The tool will build the plugin and generate the docs based on the implementation. Make sure to add the docs folder to your commit to include any changes in the docs.

About

A project that allows DataStax Astra users to manage their full database lifecycle for Astra Serverless databases (built on Apache Cassandra(TM)) using Terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.7%
  • Makefile 0.3%