-
Notifications
You must be signed in to change notification settings - Fork 11
Initial implementation for resource identity #278
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
Conversation
6655aba to
472731f
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.
I left some comments on the v5 stuff (skipped v6 since it's likely the same feedback).
Main thing to consider is potentially just using the existing resource routing over introducing a new resource identity routing.
Also if you'd like to add the changelogs now that's cool! (or a follow-up PR)
|
I created two issues and added them to our milestones to cleanup the assertions after the next release 👍🏻 |
5ecec55 to
4c31d1f
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.
Two more notes! Everything else looks good
…th resource to UpgradeResourceIdentity tests so they can lookup the right server for that rpc
…ResourceIdentityResponse to GetResourceIdentitySchemasResponse
…lint to silence go-linter
…e identity to be implemented by the same server, so we'll always follow resources
Co-authored-by: Austin Valle <austinvalle@gmail.com>
506980a to
ab74492
Compare
austinvalle
left a comment
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.
Adds the new request fields and response fields to support resource identity in mux including RPCs
GetResourceIdentitySchemasandUpgradeResourceIdentity.Plugin-Go: Reference: hashicorp/terraform-plugin-go#476
TODO:
Later TODO:
ProviderServerWithResourceIdentityback toProviderServer