Describe the bug
I am using ServerlessClusterFromSnapshot to create cluster from snapshot. for the credential, I tried both rds.SnapshotCredentials.from_generated_secret("admin") and rds.SnapshotCredentials.from_generated_password("admin") . (I do not know the difference between these two methods!)
It creates the cluster successfully but I cannot connect to it with the generated secret in the secret manager. I tried query the database with secret ARN, but no luck.
The snapshot was taken from a database with the same "admin" username.
Expected Behavior
I should be able to create a serverless cluster from the snapshot and connect to it with the newly generated secret.
Current Behavior
It won't let me connect to the database with generated secret
Reproduction Steps
Take a snapshot from a serverless cluster. Then use the ServerlessClusterFromSnapshot method and pass rds.SnapshotCredentials.from_generated_secret("admin") as credential to it.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.13.0
Framework Version
No response
Node.js Version
16.15.0
OS
Debian 10
Language
Python
Language Version
No response
Other information
No response
Describe the bug
I am using
ServerlessClusterFromSnapshotto create cluster from snapshot. for the credential, I tried bothrds.SnapshotCredentials.from_generated_secret("admin")andrds.SnapshotCredentials.from_generated_password("admin"). (I do not know the difference between these two methods!)It creates the cluster successfully but I cannot connect to it with the generated secret in the secret manager. I tried query the database with secret ARN, but no luck.
The snapshot was taken from a database with the same "admin" username.
Expected Behavior
I should be able to create a serverless cluster from the snapshot and connect to it with the newly generated secret.
Current Behavior
It won't let me connect to the database with generated secret
Reproduction Steps
Take a snapshot from a serverless cluster. Then use the
ServerlessClusterFromSnapshotmethod and passrds.SnapshotCredentials.from_generated_secret("admin")as credential to it.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.13.0
Framework Version
No response
Node.js Version
16.15.0
OS
Debian 10
Language
Python
Language Version
No response
Other information
No response