Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

plugin: Update tfsdk.NewProtocol6Server usage with new functions #2256

Merged
merged 3 commits into from
Apr 28, 2022

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Apr 21, 2022

What

Update content that uses the tfsdk.NewProtocol6Server() function to use tfsdk.NewProtocol6ProviderServer() or tfsdk.NewProtocol6ProviderServerWithError() functions as appropriate.

Why

Reference: hashicorp/terraform-plugin-framework#294

The next version of the framework will add the two new functions and deprecate the old function.

Screenshots


Merge Checklist

If items do not apply to your changes, add (N/A) and mark them as complete.

Pull Request

  • One or more labels describe the type of change (e.g. clarification) and associated product (e.g. tfc).
  • Description links to related pull requests or issues, if any.

Content

  • Redirects have been added for moved, renamed, or deleted pages.
  • Sidebar navigation files have been updated for added, deleted, reordered, or renamed pages.
  • Links to related content where appropriate (e.g., API endpoints, permissions, etc.).
  • Pages with related content are updated and link to this content when appropriate.
  • New pages have metadata (page name and description) at the top.
  • New images are 2048 px wide. They have HashiCorp standard annotation color (#F92672) and format (rectangle with rounded corners), blurred sensitive details (e.g. credentials, usernames, user icons), and descriptive alt text in the markdown for accessibility.
  • New code blocks have the correct syntax and line breaks to eliminate horizontal scroll bars.
  • UI elements (button names, page names, etc.) are bolded.
  • The Vercel website preview successfully deployed.

Reviews

  • I or someone else reviewed the content for technical accuracy.
  • I or someone else reviewed the content for typos, punctuation, spelling, and grammar.

@bflad bflad added clarification Something could be explained more usefully plugin Docs for extending terraform and writing providers labels Apr 21, 2022
@bflad bflad requested a review from a team as a code owner April 21, 2022 19:16
@vercel
Copy link

vercel bot commented Apr 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
terraform-website ✅ Ready (Inspect) Visit Preview Apr 28, 2022 at 4:42PM (UTC)

Copy link
Contributor

@detro detro left a comment

Choose a reason for hiding this comment

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

LGTM

@bflad
Copy link
Contributor Author

bflad commented Apr 25, 2022

Will merge once this functionality is released. 👍

@bflad bflad self-assigned this Apr 25, 2022
@bflad bflad merged commit f67a9d2 into master Apr 28, 2022
@bflad bflad deleted the bflad-plugin-framework-NewProtocol6ProviderServer branch April 28, 2022 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
clarification Something could be explained more usefully plugin Docs for extending terraform and writing providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants