Skip to content

Commit 939d518

Browse files
authored
Set skipFinalSnapshot to true for DB replica (#19)
1 parent e456d88 commit 939d518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/database-replica.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export type DatabaseReplicaArgs = {
6161
const defaults = {
6262
multiAz: false,
6363
applyImmediately: false,
64-
skipFinalSnapshot: false,
6564
allocatedStorage: 20,
6665
maxAllocatedStorage: 100,
6766
instanceClass: 'db.t4g.micro',
@@ -122,6 +121,7 @@ export class DatabaseReplica extends pulumi.ComponentResource {
122121
maintenanceWindow: 'Mon:07:00-Mon:07:30',
123122
replicateSourceDb: argsWithDefaults.replicateSourceDb,
124123
parameterGroupName: argsWithDefaults.parameterGroupName,
124+
skipFinalSnapshot: true,
125125
...monitoringOptions,
126126
tags: { ...commonTags, ...argsWithDefaults.tags },
127127
},

0 commit comments

Comments
 (0)