Skip to content

Commit

Permalink
fix(deadline): Lock down docdb engine to version 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ddneilson committed Nov 18, 2020
1 parent dcd3c11 commit 25355ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def __init__(self, scope: Construct, stack_id: str, *, props: StorageTierDocDBPr
# It is recommended that when creating your render farm you use at least 2 instances for redundancy.
instances=1,
master_user=Login(username='adminuser'),
engine_version='3.6.0',
backup=BackupProps(
# We recommend setting the retention of your backups to 15 days
# for security reasons. The default retention is just one day.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class StorageTierDocDB extends StorageTier {
masterUser: {
username: 'adminuser',
},
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
1 change: 1 addition & 0 deletions integ/lib/storage-struct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export class StorageStruct extends Construct {
masterUser: {
username: 'DocDBUser',
},
engineVersion: '3.6.0',
backup: {
retention: Duration.days(15),
},
Expand Down
1 change: 1 addition & 0 deletions packages/aws-rfdk/lib/deadline/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,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',
instanceProps: {
instanceType: InstanceType.of(InstanceClass.R5, InstanceSize.LARGE),
vpc: props.vpc,
Expand Down

0 comments on commit 25355ae

Please sign in to comment.