@@ -13,11 +13,11 @@ Mappings:
1313 ClusterSettings :
1414 global :
1515 dbSchema : mylab
16- dbVersion : 5.7 .mysql_aurora.2.11.2
16+ dbVersion : 8.0 .mysql_aurora.3.04.0
1717 dbEngine : aurora-mysql
18- dbFamily : aurora-mysql5.7
18+ dbFamily : aurora-mysql8.0
1919 port : 3306
20- nodeType : db.r5.large
20+ nodeType : db.t4g.medium
2121
2222Resources :
2323 # VPC for creating database and proxy
@@ -199,6 +199,7 @@ Resources:
199199 dbNode1 :
200200 Type : " AWS::RDS::DBInstance"
201201 Properties :
202+ DeletionProtection : false
202203 DBClusterIdentifier : !Ref dbCluster
203204 DBInstanceIdentifier : !Sub "${AWS::StackName}-mysql-node-1"
204205 CopyTagsToSnapshot : true
@@ -210,8 +211,10 @@ Resources:
210211 PubliclyAccessible : false
211212 EnablePerformanceInsights : true
212213 PerformanceInsightsRetentionPeriod : 7
214+ StorageEncrypted : true
213215 Tags :
214216 - Key : Name
217+
215218 Value : !Sub "${AWS::StackName}-mysql-node-1"
216219
217220 # Reader node instance for RDS Aurora Cluster
@@ -228,6 +231,8 @@ Resources:
228231 MonitoringRoleArn : !GetAtt roleEnhancedMonitoring.Arn
229232 PubliclyAccessible : false
230233 EnablePerformanceInsights : true
234+ DeletionProtection : false
235+ StorageEncrypted : true
231236 PerformanceInsightsRetentionPeriod : 7
232237 Tags :
233238 - Key : Name
0 commit comments