Skip to content

Commit 7c1acc3

Browse files
committed
implement state chunk size negotiation
1 parent d6043ef commit 7c1acc3

File tree

5 files changed

+559
-417
lines changed

5 files changed

+559
-417
lines changed

tfprotov6/internal/fromproto/state_store.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ func ConfigureStateStoreRequest(in *tfplugin6.ConfigureStateStore_Request) *tfpr
2727
return &tfprotov6.ConfigureStateStoreRequest{
2828
TypeName: in.TypeName,
2929
Config: DynamicValue(in.Config),
30+
Capabilities: tfprotov6.StateStoreClientCapabilities{
31+
ChunkSize: in.Capabilities.ChunkSize,
32+
},
3033
}
3134
}
3235

0 commit comments

Comments
 (0)