Skip to content

Commit 2a777e4

Browse files
committed
readme update
1 parent 1f412c5 commit 2a777e4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Terraform module which creates AWS RDS Aurora resources.
1515
- Custom endpoints
1616
- RDS multi-AZ support (not Aurora)
1717
- Aurora Limitless
18+
- Aurora DSQL cluster
1819

1920
## Usage
2021

@@ -205,6 +206,33 @@ module "cluster" {
205206
}
206207
```
207208

209+
## DSQL Multi Region Peered Clusters
210+
```hcl
211+
module "dsql_cluster_1" {
212+
source = "../../modules/dsql"
213+
214+
witness_region = "us-west-2"
215+
create_cluster_peering = true
216+
clusters = [module.dsql_cluster_2.arn]
217+
218+
tags = { Name = "dsql-1" }
219+
}
220+
221+
module "dsql_cluster_2" {
222+
source = "../../modules/dsql"
223+
224+
witness_region = "us-west-2"
225+
create_cluster_peering = true
226+
clusters = [module.dsql_cluster_1.arn]
227+
228+
tags = { Name = "dsql-2" }
229+
230+
providers = {
231+
aws = aws.region2
232+
}
233+
}
234+
```
235+
208236
## Examples
209237

210238
- [Autoscaling](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/autoscaling): A PostgreSQL cluster with enhanced monitoring and autoscaling enabled
@@ -215,6 +243,7 @@ module "cluster" {
215243
- [PostgreSQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/postgresql): A simple PostgreSQL cluster
216244
- [S3 Import](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/s3-import): A MySQL cluster created from a Percona Xtrabackup stored in S3
217245
- [Serverless](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/serverless): Serverless V1 and V2 (PostgreSQL and MySQL)
246+
- [DSQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/dsql): Multi region and single region DSQL clusters
218247

219248
## Documentation
220249

0 commit comments

Comments
 (0)