Skip to content
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

Remove masterUserPasswordSecretRef as a required attribute #1

Closed
wants to merge 1 commit into from

Conversation

loalf
Copy link
Owner

@loalf loalf commented Feb 21, 2023

Fixes crossplane-contrib#1668

When creating an Aurora Global cluster with more than 2 regional clusters, the password attribute is mandatory for the first one, but not for the second one. Right now, it's impossible to create global cluster with more than 2 regional cluster.

If you avoid setting up the masterUserPasswordSecretRef, Crossplane CRD will complain because this field is required and won't let you create the resource.

If you set up the masterUserPasswordSecretRef, the AWS API will complain that the cluster can't be created with the following error message

create failed: cannot create DBCluster in AWS: InvalidParameterCombination: Cannot specify password for cross region replication cluster

Signed-off-by: Javier Lopez <alcaraz1983@gmail.com>
@loalf loalf force-pushed the rds-dbcluster-required-attribute branch from 92e7130 to 52fc0e3 Compare February 21, 2023 11:22
@loalf loalf closed this Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant