Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.85 KB

File metadata and controls

49 lines (38 loc) · 1.85 KB
page_title astra_database Data Source - terraform-provider-astra
subcategory
description astra_database provides a datasource for Astra an Astra database. This can be used to select an existing database within your Astra Organization.

astra_database (Data Source)

astra_database provides a datasource for Astra an Astra database. This can be used to select an existing database within your Astra Organization.

Example Usage

data "astra_database" "db" {
  database_id = "8d356587-73b3-430a-9c0e-d780332e2afb"
}

Schema

Required

  • database_id (String) Astra Database ID (system generated)

Read-Only

  • additional_keyspaces (List of String) Additional keyspaces
  • additional_regions (Set of String) Additional Datacenter Cloud regions for multi-region Database deployments.
  • cloud_provider (String) Cloud provider (AWS, GCP, AZURE)
  • cqlsh_url (String) URL for cqlsh web
  • data_endpoint_url (String) REST API URL
  • datacenters (Map of String) Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
  • grafana_url (String) URL for the grafana dashboard for this database
  • graphql_url (String) Graphql URL
  • id (String) The ID of this resource.
  • keyspace (String) Initial keyspace
  • name (String) Database name (user provided)
  • node_count (Number) Node count (not relevant for serverless databases)
  • organization_id (String) Org id (system generated)
  • owner_id (String) Owner id (system generated)
  • region (String) Primary Datacenter Cloud region
  • replication_factor (Number) Replication Factor (not relevant for serverless databases)
  • status (String) Database status
  • total_storage (Number) Storage Capacity (not relevant for serverless databases)