-
Notifications
You must be signed in to change notification settings - Fork 77
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: Change 'rds' to 'sql' in public-facing symbols #2069
Conversation
RDSPatchingLambdaLogAccessPolicy: 'RDSPatchingLambdaLogAccessPolicy', | ||
RDSPatchingLambdaLogicalID: 'RDSPatchingLambdaLogicalID', | ||
RDSLambdaDataSourceLogicalID: 'RDSLambdaDataSource', | ||
RDSLambdaDataSourceLogicalName: 'RDSLambdaDatabase', |
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.
Note: I removed this constant -- it was not in use anywhere and was easily confused with RDSLambdaDataSourceLogicalID
.
SQLPatchingLambdaLogAccessPolicy: 'SQLPatchingLambdaLogAccessPolicy', | ||
SQLPatchingLambdaLogicalID: 'SQLPatchingLambda', | ||
SQLLambdaDataSourceLogicalID: 'SQLLambdaDataSource', | ||
SQLPatchingSubscriptionLogicalID: 'SQLPatchingSubscription', |
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.
Note that I added SQLPatchingSubscriptionLogicalID
and SQLPatchingTopicLogicalID
, which were previously hardcoded in the subscription creation logic
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.
marker review
// For beta use account '956468067974', layer name 'AmplifySQLLayerBeta' and layer version '12' as of 2023-06-20 | ||
// For prod use account '582037449441', layer name 'AmplifySQLLayer' and layer version '3' as of 2023-06-20 |
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.
Not a blocker, but comment is out of date.
c597591
to
9f0dab7
Compare
Description of changes
This change leaves most of the internal symbols unchanged, but should pick up the public-facing ones. Notably:
This PR does NOT override ‘RDS’ in resolver template output, since that would bloat the size of the PR and those files aren't generally reviewed by customers anyway.
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.