Skip to content

Commit

Permalink
Add opensearch to cluster reference (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
seano-vs authored Aug 14, 2024
1 parent 53e127b commit 392ff17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/resources/database_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ resource "digitalocean_database_cluster" "mongodb-example" {
}
```

### Create a new OpenSearch database cluster
```hcl
resource "digitalocean_database_cluster" "opensearch-example" {
name = "example-opensearch-cluster"
engine = "opensearch"
version = "2"
size = "db-s-1vcpu-2gb"
region = "nyc3"
node_count = 1
}
```

## Create a new database cluster based on a backup of an existing cluster.
```hcl
resource "digitalocean_database_cluster" "doby" {
Expand Down

0 comments on commit 392ff17

Please sign in to comment.