Skip to content

Commit 3858bf0

Browse files
authored
chore: fix aurora-mysql engine version (#5813)
Fixes #5812 Currently used engine version `8.0.mysql_aurora.3.02.0` for aurora-mysql doesn't exists in AWS any more. Based on the following script which grabs latest supported version of `aurora-mysql` in all regions - this should be changed to `8.0.mysql_aurora.3.06.0`: ```bash ❯ for REGION in `aws ec2 describe-regions --region us-east-1 --output text | cut -f4`; do echo "*** ${REGION}" aws rds describe-db-engine-versions --region "${REGION}" --engine aurora-mysql --query "DBEngineVersions[].EngineVersion" | sort | grep '8.0.mysql_aurora.3' | tail -1 done *** ap-south-1 "8.0.mysql_aurora.3.06.0" *** eu-north-1 "8.0.mysql_aurora.3.06.0" *** eu-west-3 "8.0.mysql_aurora.3.06.0" *** eu-west-2 "8.0.mysql_aurora.3.06.0" *** eu-west-1 "8.0.mysql_aurora.3.06.0" *** ap-northeast-3 "8.0.mysql_aurora.3.06.0" *** ap-northeast-2 "8.0.mysql_aurora.3.06.0" *** ap-northeast-1 "8.0.mysql_aurora.3.06.0" *** ca-central-1 "8.0.mysql_aurora.3.06.0" *** sa-east-1 "8.0.mysql_aurora.3.06.0" *** ap-southeast-1 "8.0.mysql_aurora.3.06.0" *** ap-southeast-2 "8.0.mysql_aurora.3.06.0" *** eu-central-1 "8.0.mysql_aurora.3.06.0" *** us-east-1 "8.0.mysql_aurora.3.06.0" *** us-east-2 "8.0.mysql_aurora.3.06.0" *** us-west-1 "8.0.mysql_aurora.3.06.0" *** us-west-2 "8.0.mysql_aurora.3.06.0" ```
1 parent ae42fd8 commit 3858bf0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

internal/pkg/addon/testdata/storage/aurora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Resources:
106106
]
107107
DatabaseName: !Ref auroraDBName
108108
Engine: "aurora-mysql"
109-
EngineVersion: "8.0.mysql_aurora.3.02.0"
109+
EngineVersion: "8.0.mysql_aurora.3.06.0"
110110
DBClusterParameterGroupName: !Ref auroraDBClusterParameterGroup
111111
DBSubnetGroupName: !Ref auroraDBSubnetGroup
112112
VpcSecurityGroupIds:

internal/pkg/template/templates/addons/aurora/env/rdws/serverlessv2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Resources:
101101
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
102102
{{- if eq .Engine "MySQL"}}
103103
Engine: 'aurora-mysql'
104-
EngineVersion: '8.0.mysql_aurora.3.02.0'
104+
EngineVersion: '8.0.mysql_aurora.3.06.0'
105105
{{- else}}
106106
Engine: 'aurora-postgresql'
107107
EngineVersion: '14.4'

internal/pkg/template/templates/addons/aurora/env/serverlessv2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Resources:
122122
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
123123
{{- if eq .Engine "MySQL"}}
124124
Engine: 'aurora-mysql'
125-
EngineVersion: '8.0.mysql_aurora.3.02.0'
125+
EngineVersion: '8.0.mysql_aurora.3.06.0'
126126
{{- else}}
127127
Engine: 'aurora-postgresql'
128128
EngineVersion: '14.4'

internal/pkg/template/templates/addons/aurora/rdws/serverlessv2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Resources:
131131
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
132132
{{- if eq .Engine "MySQL"}}
133133
Engine: 'aurora-mysql'
134-
EngineVersion: '8.0.mysql_aurora.3.02.0'
134+
EngineVersion: '8.0.mysql_aurora.3.06.0'
135135
{{- else}}
136136
Engine: 'aurora-postgresql'
137137
EngineVersion: '14.4'

internal/pkg/template/templates/addons/aurora/serverlessv2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Resources:
120120
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
121121
{{- if eq .Engine "MySQL"}}
122122
Engine: 'aurora-mysql'
123-
EngineVersion: '8.0.mysql_aurora.3.02.0'
123+
EngineVersion: '8.0.mysql_aurora.3.06.0'
124124
{{- else}}
125125
Engine: 'aurora-postgresql'
126126
EngineVersion: '14.4'

0 commit comments

Comments
 (0)