Skip to content

Commit fec90f7

Browse files
committed
Disable "allow major version upgrade" on RDS instance
1 parent c6d7c13 commit fec90f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cdk/lib/__snapshots__/stack.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ Object {
635635
"DeletionPolicy": "Retain",
636636
"Properties": Object {
637637
"AllocatedStorage": "20",
638-
"AllowMajorVersionUpgrade": true,
638+
"AllowMajorVersionUpgrade": false,
639639
"AssociatedRoles": Array [
640640
Object {
641641
"FeatureName": "Lambda",

cdk/lib/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class PinBoardStack extends GuStack {
105105
allocatedStorage: 20, // minimum for GP2
106106
storageEncrypted: true,
107107
autoMinorVersionUpgrade: true,
108-
allowMajorVersionUpgrade: true,
108+
allowMajorVersionUpgrade: false,
109109
instanceType: ec2.InstanceType.of(
110110
ec2.InstanceClass.T4G,
111111
isPROD ? ec2.InstanceSize.SMALL : ec2.InstanceSize.MICRO

0 commit comments

Comments
 (0)