-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(rds): pass the ARN of master instead of its ID in DatabaseInstanceReadReplica #5702
fix(rds): pass the ARN of master instead of its ID in DatabaseInstanceReadReplica #5702
Conversation
This is good enough to solve the bug, but creates an extra |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Pertinent read on the topic, thanks to @NetaNir: hashicorp/terraform-provider-aws#528 (comment) |
…eReadReplica This works around the "DbSubnetGroupName should not be specified for read replicas that are created in the same region as the master" RDS validation. See hashicorp/terraform-provider-aws#528 (comment) for details. Fixes aws#5530
11c9844
to
d1bee53
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we were managed to enable this we should probably expose the dbSubnetGroupName
in the DatabaseInstanceReadReplicaProps
Thank you for contributing! Your pull request is now being automatically merged. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request is now being automatically merged. |
At first, that's what I did, but this fix is so removed from the actual bug that I changed it, because nobody would see what the actual behavior change is if I only talked about the bug. |
Still, the title should be the bug that's fixed. |
This works around the "DbSubnetGroupName should not be specified for read replicas that are created in the same region as the master" RDS validation.
See hashicorp/terraform-provider-aws#528 (comment) for details.
Fixes #5530
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license