'AWS Aurora RDS Instance Failed to create

I am having the following error:

cloudformation rds::db::instance creation failed.... error message is "Invalid master password"

Anyone having a fix for this issue? Image:

enter image description here



Solution 1:[1]

I had the same issue/error with cloudformation. For me it was because I was creating an Aurora(MySql) cluster with two instances in the cluster and I was passing the wrong parameters to the Instances. Because I had the wrong properties, AWS was viewing the Instances as stand alone and was giving me this error. Check each property on which you need for clusters or instances:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html

Solution 2:[2]

You need to add this configuration under your cloudformation template, Even if you specify DBcluster you need to add username and password in you individual DBInstance as well.

MasterUsername="Username",
MasterUserPass="Password",

Solution 3:[3]

In my case the problem was because of the characters in username and password. AWS doesn't allow you to use - in database username and also it doesn't allow you to use @/ etc in the password.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jorg Roper
Solution 2 Rajat jain
Solution 3 fyelci