-
Notifications
You must be signed in to change notification settings - Fork 167
Correct a typo in VpcEndpointServiceAllowedPrinciple #5396
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
base: master
Are you sure you want to change the base?
Conversation
SDK-generated classes are now VpcEndpointServiceAllowedPrincipal, old classes still work but warn to upgrade to the correct spelling.
Does the PR have any schema changes?Looking good! No breaking changes found. New resources:
Maintainer note: consult the runbook for dealing with any breaking changes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5396 +/- ##
=======================================
Coverage 24.35% 24.35%
=======================================
Files 364 364
Lines 145768 145768
=======================================
Hits 35508 35508
Misses 110162 110162
Partials 98 98 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -5652,6 +5652,16 @@ compatibility shim in favor of the new "name" field.`) | |||
prov.Resources[k] = v | |||
} | |||
|
|||
// Correct a typo: Principle -> Principal. |
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.
I don't believe you actually need this. I believe that if you edit the definition in resources.go
above you'd get the right thing since we have AutoAliasing and the old name is saved in the bridge-metadata
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 a human is doing it it sounds better to have it explicit tbh.
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 advantage to letting our normal mechanism handle this is that there's less stuff in resources.go
The change is in the git history, so there is still a record but anyone reading the mapping file will just see the correct thing.
Up to you
I have my doubts whether those are readable without tooling. Anyway not worth reworking IMO. |
SDK-generated classes are now VpcEndpointServiceAllowedPrincipal, old classes still work but warn to upgrade to the correct spelling.
Fixes #5394