Skip to content

Commit

Permalink
fix(deadline): revert to DocumentDB 3.6 (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
rondeau-aws authored Aug 9, 2024
1 parent 96bd014 commit d89dc0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
node_modules/
.tools/
.BUILD_COMPLETED
lerna-debug.log
package-lock.json
yarn-error.log

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export class StorageTierDocDB extends StorageTier {
masterUser: {
username: 'adminuser',
},
engineVersion: '5.0.0',
engineVersion: '3.6.0',
backup: {
// We recommend setting the retention of your backups to 15 days
// for security reasons. The default retention is just one day.
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-rfdk/lib/deadline/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'docdb5.0',
family: 'docdb3.6',
parameters: {
audit_logs: 'enabled',
},
Expand All @@ -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: '5.0.0',
engineVersion: '3.6.0',
instanceType: InstanceType.of(InstanceClass.R5, InstanceSize.LARGE),
vpc: props.vpc,
vpcSubnets: props.vpcSubnets ?? { subnetType: SubnetType.PRIVATE_WITH_EGRESS, onePerAz: true },
Expand Down

0 comments on commit d89dc0e

Please sign in to comment.