-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Plugin Name
rs_aws_rds
Issue Type
Feature
Use Case (Feature Request -or- New Plugin Request Only)
When restoring MySQL (and Postgres and Mariadb) from snapshot, the AWS API does not accept a DBname.
The plugin passes the DBname even if the db_name field in the RDS declaration is set to "null."
Since a CAT may want to offer the user the option of launching a fresh RDS or create one from the snapshot, the CAT may have a db_name field in the declaration but set to null if user is creating from snapshot and it's a MySQL, Postgres or Maria DB.
So the provision logic should not pass the DBname field to AWS if db_name is null.
As a side note, when restoring from snapshot, the master password is reset by AWS. So an update feature request is being added as well to allow one to reset the password.
Plugin version (Bug Only)
[Version of Plugin in use, this can be found in the long_description]
Code Snippet (Bug Only)
[Please provide any relevant code snippets (ie. CAT resource declaration, RCL, etc.) as it relates to the bug]
Error Messages (Bug Only)
[Provide any error messages returned (if applicable)]