-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(rds): Add support for replicationSourceIdentifier
prop
#33280
Comments
Thanks @moltar for requesting this feature. Its evident from CDK docs that this prop is supported in Cloudformation -https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds.CfnDBCluster.html#replicationsourceidentifier, hence can be supported via CDK too. Marking it as P2 as the workaround of using L1 Construct already exists. Contributions from the community are also welcome. |
…33471) ### Issue # (if applicable) Closes #33280 ### Description of changes - `DatabaseCluster` support `replicationSourceIdentifier` - Validate `replicationSourceIdentifier` cannot be used with `credentials` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Comments on closed issues and PRs are hard for our team to see. |
Describe the feature
Docs: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.RDSPostgreSQL.Replica.html
CF docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#aws-resource-rds-dbcluster-properties
This prop is available on the
CfnDBCluster
.Use Case
Migrating RDS types, need to set this prop.
Proposed Solution
The
DatabaseCluster
class, should acceptreplicationInstanceSource
prop, which acceptsIDatabaseInstance
:replicationInstanceSource: IDatabaseInstance
Other Information
masterUserPassword
andmasterUsername
(CDK sets defaults) internally.replicationSourceIdentifier
is NOT an identifier, but a full ARN.Acknowledgements
CDK version used
N/A
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered: