action: Initial package implementation and new RPC support #1181
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue
N/A
Description
This PR implements a skeleton of the new provider server RPCs defined in hashicorp/terraform-plugin-go#534 .
All the implementation currently does is map enough information needed for unlinked resources (to be implemented in a future PR). We also ignore deferred action/client capabilities for now, since the interfaces they will eventually be used with don't exist yet.
This PR also implements some plumbing necessary to retrieve/store schemas and actions on the framework provider server itself, which will be fully fleshed out and tested once a future PR hooks up
GetProviderSchema
andGetMetadata
.Using the
TODO:Actions
tag to keep up with future unit testing and decisions to be made.Rollback Plan
Changes to Security Controls
No