Skip to content
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

Error creating stack - DatabaseCluster failed with incorrect MySql Aurora version #93

Open
guytz72 opened this issue Mar 20, 2023 · 1 comment

Comments

@guytz72
Copy link

guytz72 commented Mar 20, 2023

I tried to create this stack with the provided templates but it was failing. I set it not to destroy objects on failure, and it has created most of the stack but is failing the below.:

Resource handler returned message: "Cannot find version 5.7.mysql_aurora.2.10.1 for aurora-mysql (Service: Rds, Status Code: 400, Request ID: 68c7c078-160a-451e-869d-15b003da2427)" (RequestToken: c6e7286f-dcf2-f077-45f6-14a14b3bb5e8, HandlerErrorCode: InvalidRequest)

Not sure where I can set a different version of the database, but if I check in the console I can't see that version.

@vc95
Copy link

vc95 commented Apr 5, 2023

Hello,

I faced same issue, the rds cloudformation template stored in their S3 Bucket (used in master template) is not up to date with code on this repo .

You can try to put this repo rds template on one of your bucket and edit the master template to change the rds.TemplateURL param with your S3 URL.

But to fix that error I just changed the one stored on AWS S3:

  1. Download the rds cloudformation template used in master template
  2. Edit all the lines containing the engine version with the most recent you can get here
- EngineVersion: 5.7.mysql_aurora.2.10.1
+ EngineVersion: 5.7.mysql_aurora.2.11.2
  1. Upload edited file to one of your bucket or whatever to have a public URL.
  2. Download the master cloudformation template
  3. Change the RDS template URL with your URL
  4. Upload your edited master template to cloudformation template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants