Skip to content

Commit e7180d6

Browse files
committed
chore: Update example versions
1 parent 05bb4e8 commit e7180d6

File tree

8 files changed

+25
-53
lines changed

8 files changed

+25
-53
lines changed

README.md

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ module "cluster" {
2525
2626
name = "test-aurora-db-postgres96"
2727
engine = "aurora-postgresql"
28-
engine_version = "14.5"
29-
instance_class = "db.r6g.large"
28+
engine_version = "17.5"
29+
instance_class = "db.r8g.large"
3030
instances = {
3131
one = {}
3232
two = {
33-
instance_class = "db.r6g.2xlarge"
33+
instance_class = "db.r8g.2xlarge"
3434
}
3535
}
3636
@@ -71,7 +71,7 @@ There are a couple different configuration methods that can be used to create in
7171
- Reader(s): 2
7272

7373
```hcl
74-
instance_class = "db.r6g.large"
74+
instance_class = "db.r8g.large"
7575
instances = {
7676
one = {}
7777
two = {}
@@ -90,7 +90,7 @@ There are a couple different configuration methods that can be used to create in
9090
ℹ️ Autoscaling uses the instance class specified by `instance_class`.
9191

9292
```hcl
93-
instance_class = "db.r6g.large"
93+
instance_class = "db.r8g.large"
9494
instances = {
9595
one = {}
9696
two = {}
@@ -111,7 +111,7 @@ There are a couple different configuration methods that can be used to create in
111111
- At most 5 readers
112112

113113
```hcl
114-
instance_class = "db.r6g.large"
114+
instance_class = "db.r8g.large"
115115
instances = {
116116
one = {}
117117
}
@@ -181,34 +181,6 @@ There are a couple different configuration methods that can be used to create in
181181
autoscaling_max_capacity = 5
182182
```
183183

184-
## DSQL Multi Region Peered Clusters
185-
186-
```hcl
187-
module "dsql_cluster_1" {
188-
source = "../../modules/dsql"
189-
190-
witness_region = "us-west-2"
191-
create_cluster_peering = true
192-
clusters = [module.dsql_cluster_2.arn]
193-
194-
tags = { Name = "dsql-1" }
195-
}
196-
197-
module "dsql_cluster_2" {
198-
source = "../../modules/dsql"
199-
200-
witness_region = "us-west-2"
201-
create_cluster_peering = true
202-
clusters = [module.dsql_cluster_1.arn]
203-
204-
tags = { Name = "dsql-2" }
205-
206-
providers = {
207-
aws = aws.region2
208-
}
209-
}
210-
```
211-
212184
## Conditional Creation
213185

214186
The following values are provided to toggle on/off creation of the associated resources as desired:
@@ -237,14 +209,14 @@ module "cluster" {
237209
## Examples
238210

239211
- [Autoscaling](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/autoscaling): A PostgreSQL cluster with enhanced monitoring and autoscaling enabled
240-
- [Limitless](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/limitless): A PostgreSQL Limitless cluster
212+
- [DSQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/dsql): Multi region and single region DSQL clusters
241213
- [Global Cluster](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/global-cluster): A PostgreSQL global cluster with clusters provisioned in two different region
214+
- [Limitless](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/limitless): A PostgreSQL Limitless cluster
242215
- [Multi-AZ](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/multi-az): A multi-AZ RDS cluster (not using Aurora engine)
243216
- [MySQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/mysql): A simple MySQL cluster
244217
- [PostgreSQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/postgresql): A simple PostgreSQL cluster
245218
- [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
246219
- [Serverless](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/serverless): Serverless V1 and V2 (PostgreSQL and MySQL)
247-
- [DSQL](https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/tree/master/examples/dsql): Multi region and single region DSQL clusters
248220

249221
## Documentation
250222

examples/autoscaling/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module "aurora" {
2727

2828
name = local.name
2929
engine = "aurora-postgresql"
30-
engine_version = "14.5"
31-
db_cluster_instance_class = "db.r6g.large"
30+
engine_version = "17.5"
31+
db_cluster_instance_class = "db.r8g.large"
3232
instances = { 1 = {} }
3333
master_username = "root"
3434

examples/global-cluster/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ locals {
3535
resource "aws_rds_global_cluster" "this" {
3636
global_cluster_identifier = local.name
3737
engine = "aurora-postgresql"
38-
engine_version = "14.5"
38+
engine_version = "17.5"
3939
database_name = "example_db"
4040
storage_encrypted = true
4141
}
@@ -49,7 +49,7 @@ module "aurora_primary" {
4949
engine_version = aws_rds_global_cluster.this.engine_version
5050
master_username = "root"
5151
global_cluster_identifier = aws_rds_global_cluster.this.id
52-
db_cluster_instance_class = "db.r6g.large"
52+
db_cluster_instance_class = "db.r8g.large"
5353
instances = { for i in range(2) : i => {} }
5454
kms_key_id = aws_kms_key.primary.arn
5555

@@ -88,7 +88,7 @@ module "aurora_secondary" {
8888
engine_version = aws_rds_global_cluster.this.engine_version
8989
global_cluster_identifier = aws_rds_global_cluster.this.id
9090
source_region = local.primary_region
91-
db_cluster_instance_class = "db.r6g.large"
91+
db_cluster_instance_class = "db.r8g.large"
9292
instances = { for i in range(2) : i => {} }
9393
kms_key_id = aws_kms_key.secondary.arn
9494

examples/limitless/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module "aurora" {
2727

2828
name = local.name
2929
engine = "aurora-postgresql"
30-
engine_version = "16.6-limitless"
30+
engine_version = "16.9-limitless"
3131
storage_type = "aurora-iopt1"
3232

3333
cluster_scalability_type = "limitless"

examples/multi-az/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module "aurora" {
2727

2828
name = local.name
2929
engine = "postgres" # This uses RDS engine, not Aurora
30-
engine_version = "15.7"
30+
engine_version = "17.5"
3131
master_username = "root"
3232

3333
vpc_id = module.vpc.vpc_id
@@ -44,7 +44,7 @@ module "aurora" {
4444
# Multi-AZ
4545
availability_zones = module.vpc.azs
4646
allocated_storage = 256
47-
db_cluster_instance_class = "db.r6gd.large"
47+
db_cluster_instance_class = "db.r8g.large"
4848
iops = 2500
4949
storage_type = "io1"
5050

examples/postgresql/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@ module "aurora" {
2727

2828
name = local.name
2929
engine = "aurora-postgresql"
30-
engine_version = "14.13"
30+
engine_version = "17.5"
3131
master_username = "root"
3232
storage_type = "aurora-iopt1"
3333
cluster_monitoring_interval = 30
3434

3535
instances = {
3636
1 = {
37-
instance_class = "db.r5.2xlarge"
37+
instance_class = "db.r8g.2xlarge"
3838
publicly_accessible = true
3939
db_parameter_group_name = "default.aurora-postgresql14"
4040
}
4141
2 = {
4242
identifier = "static-member-1"
43-
instance_class = "db.r5.2xlarge"
43+
instance_class = "db.r8g.2xlarge"
4444
}
4545
3 = {
4646
identifier = "excluded-member-1"
47-
instance_class = "db.r5.large"
47+
instance_class = "db.r8g.large"
4848
promotion_tier = 15
4949
}
5050
}
@@ -85,7 +85,7 @@ module "aurora" {
8585

8686
cluster_parameter_group = {
8787
name = local.name
88-
family = "aurora-postgresql14"
88+
family = "aurora-postgresql17"
8989
description = "${local.name} example cluster parameter group"
9090
parameters = [
9191
{
@@ -102,7 +102,7 @@ module "aurora" {
102102

103103
db_parameter_group = {
104104
name = local.name
105-
family = "aurora-postgresql14"
105+
family = "aurora-postgresql17"
106106
description = "${local.name} example DB parameter group"
107107
parameters = [
108108
{
@@ -153,7 +153,7 @@ module "kms" {
153153
is_enabled = true
154154
key_usage = "ENCRYPT_DECRYPT"
155155

156-
aliases = [local.name]
156+
aliases = ["rds/${local.name}"]
157157

158158
tags = local.tags
159159
}

examples/s3-import/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module "aurora" {
2929
engine = "aurora-mysql"
3030
engine_version = "5.7.12"
3131
master_username = "root"
32-
db_cluster_instance_class = "db.r5.large"
32+
db_cluster_instance_class = "db.r8g.large"
3333
instances = { 1 = {} }
3434

3535
vpc_id = module.vpc.vpc_id

examples/serverless/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module "aurora_mysql_v2" {
171171

172172
data "aws_rds_engine_version" "postgresql" {
173173
engine = "aurora-postgresql"
174-
version = "14.12"
174+
version = "17.5"
175175
}
176176

177177
module "aurora_postgresql_v2" {

0 commit comments

Comments
 (0)