From f0ca078996b5210690e7f776a5807aa08ed10c07 Mon Sep 17 00:00:00 2001 From: Caden <132690522+marofke@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:13:35 -0600 Subject: [PATCH] feat!: Upgrades DocumentDB version to 5.0.0 (#1364) Note that users with existing DocumentDB clusters with previous versions will need to manually upgrade by following the documentation: https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html Signed-off-by: Caden Marofke <132690522+marofke@users.noreply.github.com> --- .../All-In-AWS-Infrastructure-Basic/ts/lib/storage-tier.ts | 2 +- packages/aws-rfdk/lib/deadline/lib/repository.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/deadline/All-In-AWS-Infrastructure-Basic/ts/lib/storage-tier.ts b/examples/deadline/All-In-AWS-Infrastructure-Basic/ts/lib/storage-tier.ts index b9862683c..1db3d6cb0 100644 --- a/examples/deadline/All-In-AWS-Infrastructure-Basic/ts/lib/storage-tier.ts +++ b/examples/deadline/All-In-AWS-Infrastructure-Basic/ts/lib/storage-tier.ts @@ -325,7 +325,7 @@ export class StorageTierDocDB extends StorageTier { masterUser: { username: 'adminuser', }, - engineVersion: '3.6.0', + engineVersion: '5.0.0', backup: { // We recommend setting the retention of your backups to 15 days // for security reasons. The default retention is just one day. diff --git a/packages/aws-rfdk/lib/deadline/lib/repository.ts b/packages/aws-rfdk/lib/deadline/lib/repository.ts index 5a5276888..2352b9b5b 100644 --- a/packages/aws-rfdk/lib/deadline/lib/repository.ts +++ b/packages/aws-rfdk/lib/deadline/lib/repository.ts @@ -678,7 +678,7 @@ export class Repository extends Construct implements IRepository { */ const parameterGroup = databaseAuditLogging ? new ClusterParameterGroup(this, 'ParameterGroup', { description: 'DocDB cluster parameter group with enabled audit logs', - family: 'docdb3.6', + family: 'docdb5.0', parameters: { audit_logs: 'enabled', }, @@ -687,7 +687,7 @@ export class Repository extends Construct implements IRepository { const instances = props.documentDbInstanceCount ?? Repository.DEFAULT_NUM_DOCDB_INSTANCES; const dbCluster = new DatabaseCluster(this, 'DocumentDatabase', { masterUser: {username: 'DocDBUser'}, - engineVersion: '3.6.0', + engineVersion: '5.0.0', instanceType: InstanceType.of(InstanceClass.R5, InstanceSize.LARGE), vpc: props.vpc, vpcSubnets: props.vpcSubnets ?? { subnetType: SubnetType.PRIVATE_WITH_EGRESS, onePerAz: true },