Context
I need to upgrade a production Aurora serverless database from MySQL 5.6 to 5.7. All my resources are deployed as Infrastructure as a Code, with CloudFormation.
Problem
Updating the engine version in the CloudFormation template would result in the database replacement, thus downtime and data loss. I also have a lot of dependent resources that rely on the database ARN to connect. (The ARN is currently exported as a cross-stack reference).
Question
What would be a clean way to achieve that kind of maintenance, viable on the long-run ?
Thanks in advance !