-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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): publiclyAccessible=false set on an instance is ignored when cluster is placed in a public subnet #28038
Conversation
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.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request
. Additionally, if clarification is needed add Clarification Request
to a comment.
3e04742
to
83b4ae6
Compare
2823c3a
to
944dc5f
Compare
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
944dc5f
to
c252d34
Compare
…ed for clusters in a public subnet
c252d34
to
e99d844
Compare
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.
Thanks for the contribution!
Feel free to comment on the proposed changes.
Also, the documentation for publiclyAccessible
should be updated here and here.
Finally, the title should describe the bug (not the solution), as per guidelines.
packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-public-subnets.ts
Outdated
Show resolved
Hide resolved
…teg.cluster-public-subnets.ts Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
Co-authored-by: Luca Pizzini <lpizzini7@gmail.com>
…into fix_issue_28037
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
@juanheyns |
Hi @lpizzinidev I can see it is failing because of the integration test, I updated it with I am wondering if I need to configure a different account to deploy the integration test into? If I am missing something with running the test locally please point me to the documentation on how to set it up. |
@juanheyns
|
@lpizzinidev my bad, I forgot to build the stack first. |
@lpizzinidev All checks are passing now, ready to review. |
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.
The logic change for aurora cluster instance looks good to me. I think the standardization in instance is good even though the logic is the same. Good tests.
Thanks @lpizzinidev for the review comments! And thank you @juanheyns for the contribution!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This change fixes the incorrect behavior as explained in #28037.
Using null coalescing operator in TypeScript will use the original value of
publiclyAccessible
set on theServerlessV2ClusterInstanceProps
.Closes #28037.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license