Skip to content
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

Add protobuf support for resource identity messages and rpcs #472

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

ansgarm
Copy link
Member

@ansgarm ansgarm commented Feb 4, 2025

First part of https://hashicorp.atlassian.net/browse/TFECO-8804


This PR adds new PRC calls and messages for resource identity

@ansgarm ansgarm requested a review from a team as a code owner February 4, 2025 16:47
@ansgarm ansgarm force-pushed the am/resource-identity branch 2 times, most recently from 012f578 to f1f8392 Compare February 4, 2025 16:52
austinvalle
austinvalle previously approved these changes Feb 4, 2025
Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

austinvalle
austinvalle previously approved these changes Feb 5, 2025
bytes type = 2;
bool required_for_import = 3;
bool optional_for_import = 4;
string description = 5;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI -> I asked core if we needed an additional StringKind description_kind = 6; here, but that shouldn't stop this PR/others from merging and moving forward!

@ansgarm ansgarm force-pushed the am/resource-identity branch from cc60b58 to d2a6210 Compare February 7, 2025 15:12
Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you rebased, you'll need to rebuild the proto files 😄

Copy link
Member

@austinvalle austinvalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, didn't mean to approve 😆

@ansgarm
Copy link
Member Author

ansgarm commented Feb 7, 2025

Yeah, I'm on it.. But my local environment is silly and I can't seem to update my version of protoc-gen-go somehow.. But I'm in the process of figuring that out 😄

@ansgarm ansgarm merged commit 71a1984 into main Feb 10, 2025
90 checks passed
@ansgarm ansgarm deleted the am/resource-identity branch February 10, 2025 09:27
@austinvalle austinvalle added this to the v0.27.0 milestone Feb 11, 2025
ansgarm added a commit that referenced this pull request Feb 13, 2025
* add resource identity support to protocol v6
* add changie entries for this change and the ones that landed in #472 and #474
* Apply suggestions from code review
* fix comment typo
* fix lint

---------

Co-authored-by: Austin Valle <austinvalle@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants