Skip to content

[DRAFT] Implement GenerateResourceConfig RPC and existing Terraform default logic #1559

Draft
SBGoods wants to merge 14 commits intomainfrom
SBGoods/generate-config-default
Draft

[DRAFT] Implement GenerateResourceConfig RPC and existing Terraform default logic #1559
SBGoods wants to merge 14 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
github.com/hashicorp/terraform-exec v0.25.0
github.com/hashicorp/terraform-json v0.27.2
github.com/hashicorp/terraform-plugin-go v0.30.0
github.com/hashicorp/terraform-plugin-go v0.30.1-0.20260224203057-7d789423e31f
Copy link
Member

Choose a reason for hiding this comment

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

note to us to update this before merging/releasing

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>
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