Skip to content

Conversation

rainkwan
Copy link
Contributor

Related Issue

Building off #528

Description

Adding ListResource and ValidateListResourceConfig from List Resource to plugin testing.

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

No

@rainkwan rainkwan requested a review from a team as a code owner July 21, 2025 16:34
stephybun
stephybun previously approved these changes Aug 1, 2025
Copy link
Member

@stephybun stephybun left a comment

Choose a reason for hiding this comment

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

Thanks @rainkwan, left a few minor comments but nothing that I think blocks us from merging this. LGTM 🚗


var _ tfprotov6.ProviderServer = ProviderServer{}

// var _ tfprotov6.ProviderServerWithListResource = ProviderServer{}
Copy link
Member

Choose a reason for hiding this comment

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

Should this still be commented out?

Copy link
Member

Choose a reason for hiding this comment

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

Generally speaking, this interface should only be directly referenced by exported terraform-plugin-go packages or testing packages like in terraform-plugin-mux

Since it's a temporary interface, we will eventually remove it once all downstream provider servers have a chance to implement them (for example, SDKv2 will need to implement the interface eventually, even if it doesn't have an SDK for the RPCs). Once that is removed, since there are no direct references to the interface itself, no downstream packages need to be re-released with the interface removed and provider's CI won't break 🙂

@rainkwan rainkwan mentioned this pull request Aug 4, 2025
1 task
Co-authored-by: stephybun <steph@hashicorp.com>
rainkwan and others added 2 commits August 4, 2025 10:05
Co-authored-by: stephybun <steph@hashicorp.com>
Co-authored-by: stephybun <steph@hashicorp.com>
@stephybun stephybun merged commit eaab4a6 into main Aug 5, 2025
41 checks passed
@stephybun stephybun deleted the rk/list-resource branch August 5, 2025 07:08
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants