Skip to content

Commit 2f629d5

Browse files
author
Jon Loinaz
committed
deletion protection set at cluster level
1 parent 78d7e5a commit 2f629d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apigw-http-api-lambda-rds-proxy/template-rds-proxy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ Resources:
191191
EnableCloudwatchLogsExports: [ error, slowquery ]
192192
BacktrackWindow: 86400
193193
EnableIAMDatabaseAuthentication: true
194+
DeletionProtection: false
194195
Tags:
195196
- Key: Name
196197
Value: !Sub "${AWS::StackName}-mysql-cluster"
@@ -199,7 +200,6 @@ Resources:
199200
dbNode1:
200201
Type: "AWS::RDS::DBInstance"
201202
Properties:
202-
DeletionProtection: false
203203
DBClusterIdentifier: !Ref dbCluster
204204
DBInstanceIdentifier: !Sub "${AWS::StackName}-mysql-node-1"
205205
CopyTagsToSnapshot: true
@@ -231,7 +231,6 @@ Resources:
231231
MonitoringRoleArn: !GetAtt roleEnhancedMonitoring.Arn
232232
PubliclyAccessible: false
233233
EnablePerformanceInsights: true
234-
DeletionProtection: false
235234
StorageEncrypted: true
236235
PerformanceInsightsRetentionPeriod: 7
237236
Tags:

0 commit comments

Comments
 (0)