Skip to content

Commit 0348efb

Browse files
committed
remove experimental remnants and add todo comment
1 parent bf48b80 commit 0348efb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tfprotov5/generate_resource_config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ type GenerateResourceConfigRequest struct {
1111

1212
// State is the resource's state value.
1313
State *DynamicValue
14-
15-
// Experimental, mux would fill this in
16-
// ResourceSchema *Schema
1714
}
1815

1916
// GenerateResourceConfigResponse is the response from the provider containing the config value

tfprotov5/resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ type ResourceServer interface {
7070
// identity state to upgrade it to the latest state schema.
7171
UpgradeResourceIdentity(context.Context, *UpgradeResourceIdentityRequest) (*UpgradeResourceIdentityResponse, error)
7272

73+
// TODO: Once this interface is no longer optional we can uncomment this
7374
// GenerateResourceConfig is called when Terraform wants to generate a resource
7475
// configuration for importing to a resource address that doesn't exist yet.
7576
// It is called during a plan when the -generate-config-out flag is provided.

0 commit comments

Comments
 (0)