@@ -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
@@ -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"
@@ -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,7 @@ Resources:
228231 MonitoringRoleArn : !GetAtt roleEnhancedMonitoring.Arn
229232 PubliclyAccessible : false
230233 EnablePerformanceInsights : true
234+ StorageEncrypted : true
231235 PerformanceInsightsRetentionPeriod : 7
232236 Tags :
233237 - Key : Name
0 commit comments