New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Cannot find version 8.0.mysql_aurora.3.02.0 for aurora-mysql #5812
Comments
Thank you for reporting the issue. It appears that the root cause of the problem is that the AWS Copilot CLI is currently hardcoded to use MySQL version 3.02.0 when creating Aurora Serverless v2 clusters. Depending on the AWS region you are using, a higher version of MySQL may be required. |
Thank you. I'm using Anyway - based on the output of the script below - it seems like version 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" | grep '8.0.mysql_aurora.3.02.0'
done Let me create PR to fix it... |
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" ```
The fix is now released in v1.33.4: https://github.com/aws/copilot-cli/releases/tag/v1.33.4! 🎉 Thanks @ruzickap for the PR! |
Description:
I'm getting error using
copilot storage init
:Cannot find version 8.0.mysql_aurora.3.02.0 for aurora-mysql
Details:
I would like to use copilot with Aurora - so I tried the following command:
copilot storage init --name wordpress-cluster --lifecycle=workload \ --storage-type Aurora --engine MySQL --initial-db "wordpress"
After running
copilot svc deploy
I got:It looks like CloudFormation template generated by the
copilot storage init
is not valid anymore.The CF template contains:
My copilot version
Thank you for looking at it...
The text was updated successfully, but these errors were encountered: