Skip to content

Commit 23db46e

Browse files
committed
fix: added a var for replicaStorageType
1 parent 3f4d1d8 commit 23db46e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

API.md

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rds.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface PostgresProps {
5252
readonly replicaAllocatedStorage?: number;
5353
readonly replicaMaxAllocatedStorage?: number;
5454
readonly storageType?: rds.StorageType;
55+
readonly replicaStorageType?: rds.StorageType;
5556
readonly backupRetention?: number;
5657
readonly deletionProtection?: boolean;
5758
readonly readReplicas?: ReadReplica;
@@ -203,7 +204,7 @@ export class PostgresRDSCluster extends Construct {
203204
sourceDatabaseInstance: rdsInstance,
204205
subnetGroup: dbSubnetGroup,
205206
deletionProtection: props.deletionProtection ?? true,
206-
storageType: props.storageType,
207+
storageType: props.replicaStorageType,
207208
autoMinorVersionUpgrade: props.allowMajorVersionUpgrade ?? false,
208209
allocatedStorage: props.replicaAllocatedStorage ?? props.allocatedStorage,
209210
maxAllocatedStorage: props.replicaMaxAllocatedStorage ?? props.maxAllocatedStorage,

0 commit comments

Comments
 (0)