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

Initial Terraform Plugin Protocol Version 6 (tfprotov6) Implementation #65

Closed
bflad opened this issue Mar 18, 2021 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@bflad
Copy link
Contributor

bflad commented Mar 18, 2021

terraform-plugin-go version

0.2.1

Use cases

As part of the upcoming Terraform CLI version 0.15 release, a newer version 6 of the Terraform Plugin Protocol is now available. This protocol bump includes goodies such as NestedType that will benefit the future of plugin development.

Proposal

Begin porting over the existing tfprotov5 directory into a new tfprotov6 directory and perform the protocol additions. If there is any decision making that needs to be made regarding the implementation details, coalesce them onto this issue.

(I don't mind starting this work at some point in the near future as this directly impacts a project I am working on.)

References

@bflad bflad added the enhancement New feature or request label Mar 18, 2021
@paddycarver
Copy link
Contributor

I think we have some ongoing conversations about this with @mildwonkey and it's on our radar.

I currently have the following questions. This is not a complete or exhaustive list:

  • Should terraform-plugin-sdk get bumped to protocol 6 or remain at protocol 5?
  • Should we be able to mux between protocol 5 and protocol 6 providers?
  • Should each protocol version have its own tftypes implementation, or should tftypes be a top-level package that every protocol version depends on?

I don't know that any of these questions has a straightforward answer, and I think all of them will require some discussion because of the implications and nuance.

@paddycarver
Copy link
Contributor

#71 has been merged, so I'm going to close this out. I've opened hashicorp/terraform-plugin-sdk#737 to track the SDK impacts of this, and hashicorp/terraform-plugin-mux#19 to track next steps on those repos, but as far as this repo is concerned, it's "done".

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants