Repository navigation
How to create a Database Replica in AWS RDS using RDS instance, created using DatabaseInstanceFromSnapshot #21964
Unanswered
rpfelgueiras
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to create a DB Read Replica using AWS CDK. I am creating an RDS DatabaseInstance using the method
DatabaseInstanceFromSnapshotin AWS CDK. I want to use this RDS instance to create a Read Replica usingDatabaseInstanceReadReplicamethod.DatabaseInstanceReadReplicatakes asourceDatabaseInstanceas a parameter. ForsourceDatabaseInstanceI am passing the DatabaseInstance returned fromDatabaseInstanceFromSnapshotmethod. But I get the following error:Type 'DatabaseInstanceReadReplica' is missing the following properties from type 'DatabaseInstance': sourceCfnProps, singleUserRotationApplication, multiUserRotationApplication, addRotationSingleUser, addRotationMultiUsers(2739)How do I fix this issue? Any help is appreciated.
Below is the code.
All reactions