Skip to content

Commit

Permalink
chore: fix aurora-mysql engine version (#5813)
Browse files Browse the repository at this point in the history
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"
```
  • Loading branch information
ruzickap authored May 14, 2024
1 parent ae42fd8 commit 3858bf0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/addon/testdata/storage/aurora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Resources:
]
DatabaseName: !Ref auroraDBName
Engine: "aurora-mysql"
EngineVersion: "8.0.mysql_aurora.3.02.0"
EngineVersion: "8.0.mysql_aurora.3.06.0"
DBClusterParameterGroupName: !Ref auroraDBClusterParameterGroup
DBSubnetGroupName: !Ref auroraDBSubnetGroup
VpcSecurityGroupIds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Resources:
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
{{- if eq .Engine "MySQL"}}
Engine: 'aurora-mysql'
EngineVersion: '8.0.mysql_aurora.3.02.0'
EngineVersion: '8.0.mysql_aurora.3.06.0'
{{- else}}
Engine: 'aurora-postgresql'
EngineVersion: '14.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Resources:
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
{{- if eq .Engine "MySQL"}}
Engine: 'aurora-mysql'
EngineVersion: '8.0.mysql_aurora.3.02.0'
EngineVersion: '8.0.mysql_aurora.3.06.0'
{{- else}}
Engine: 'aurora-postgresql'
EngineVersion: '14.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Resources:
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
{{- if eq .Engine "MySQL"}}
Engine: 'aurora-mysql'
EngineVersion: '8.0.mysql_aurora.3.02.0'
EngineVersion: '8.0.mysql_aurora.3.06.0'
{{- else}}
Engine: 'aurora-postgresql'
EngineVersion: '14.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Resources:
DatabaseName: !Ref {{logicalIDSafe .ClusterName}}DBName
{{- if eq .Engine "MySQL"}}
Engine: 'aurora-mysql'
EngineVersion: '8.0.mysql_aurora.3.02.0'
EngineVersion: '8.0.mysql_aurora.3.06.0'
{{- else}}
Engine: 'aurora-postgresql'
EngineVersion: '14.4'
Expand Down

0 comments on commit 3858bf0

Please sign in to comment.