Skip to content

Implement GenerateResourceConfig RPC and existing Terraform default logic #1559

Merged
SBGoods merged 19 commits intomainfrom
SBGoods/generate-config-default
Mar 10, 2026
Merged

Implement GenerateResourceConfig RPC and existing Terraform default logic #1559
SBGoods merged 19 commits intomainfrom
SBGoods/generate-config-default

Conversation

@SBGoods
Copy link
Contributor

@SBGoods SBGoods commented Feb 25, 2026

Depends on: hashicorp/terraform-plugin-go#607
Relates: hashicorp/terraform-plugin-framework#1281

Description

  • Implements GenerateResourceConfig RPC in grpc_provider
  • Implements Terraform Core's default generate resource config logic in grpc_provider
  • Enables the GenerateResourceConfig server capability

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

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
N/A

ansgarm
ansgarm previously approved these changes Feb 27, 2026
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 🚀


You mentioned it over in hashicorp/terraform-plugin-framework#1281 (comment), but I do think there should be some form of changelog related to this change, even though provider developers themselves can't do anything. Whatever we decide for framework should work for SDKv2 as well 👍🏻

austinvalle
austinvalle previously approved these changes Mar 2, 2026
Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
@SBGoods SBGoods added this to the v2.40.0 milestone Mar 6, 2026
austinvalle
austinvalle previously approved these changes Mar 9, 2026
austinvalle
austinvalle previously approved these changes Mar 9, 2026
@SBGoods SBGoods changed the title [DRAFT] Implement GenerateResourceConfig RPC and existing Terraform default logic Implement GenerateResourceConfig RPC and existing Terraform default logic Mar 10, 2026
@SBGoods SBGoods marked this pull request as ready for review March 10, 2026 13:59
@SBGoods SBGoods requested a review from a team as a code owner March 10, 2026 13:59
@SBGoods SBGoods merged commit 86877a0 into main Mar 10, 2026
26 checks passed
@SBGoods SBGoods deleted the SBGoods/generate-config-default branch March 10, 2026 14:03
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.

3 participants