Getting Started with Hashicorp Terraform Deployment

  • Capella Operational
      +
      Use Terraform Provider to deploy and manage your clusters with declarative configuration.

      The Capella Terraform Provider is a powerful way of programmatically managing Capella API keys, users, organizations, projects, clusters, buckets, and other resources. Although the Capella UI is a great way of trying out Couchbase, for ease of deployment an Infrastructure-as-Code (IaC) approach offers advantages in defining your Capella deployment in a human-readable file, for re-using, versioning, sharing across departments, and automating away repetitive admin tasks.

      Before You Start

      You will need the following to get going:

      • A recent version of Terraform — 1.5.2 or newer.

      • Go 1.2.1 or newer.

      See the compatibility page for a list of supported architectures and Operating Systems.

      Using the Capella Terraform Provider

      For authentication with the Couchbase Capella Provider a V4 API key must be generated. This API key is then used for authenticating the Terraform Provider.

      Full instructions to get up and running are given in the Capella Provider repo. The Provider can be downloaded from the Terraform Registry.

      The list of supported resources and schema definitions are detailed in the Resources folder.

      Example Usage

      To get started, see the Provider Example Configs: