Skip to content

Commit 8b7d7f6

Browse files
committed
comment out unimplemented types
1 parent 759e451 commit 8b7d7f6

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

request.go

+14-7
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ type CreateResourceRequest struct {
3232
// This configuration may contain unknown values if a user uses
3333
// interpolation or other functionality that would prevent Terraform
3434
// from knowing the value at request time.
35-
Config Config
35+
// TODO uncomment when implemented
36+
// Config Config
3637

3738
// Plan is the planned state for the resource.
38-
Plan Plan
39+
// TODO uncomment when implemented
40+
// Plan Plan
3941
}
4042

4143
// ReadResourceRequest represents a request for the provider to read a
@@ -48,7 +50,8 @@ type ReadResourceRequest struct {
4850

4951
// State is the current state of the resource prior to the Read
5052
// operation.
51-
State State
53+
// TODO uncomment when implemented
54+
// State State
5255
}
5356

5457
// UpdateResourceRequest represents a request for the provider to update a
@@ -60,14 +63,17 @@ type UpdateResourceRequest struct {
6063
// This configuration may contain unknown values if a user uses
6164
// interpolation or other functionality that would prevent Terraform
6265
// from knowing the value at request time.
63-
Config Config
66+
// TODO uncomment when implemented
67+
// Config Config
6468

6569
// Plan is the planned state for the resource.
66-
Plan Plan
70+
// TODO uncomment when implemented
71+
// Plan Plan
6772

6873
// State is the current state of the resource prior to the Update
6974
// operation.
70-
State State
75+
// TODO uncomment when implemented
76+
// State State
7177
}
7278

7379
// DeleteResourceRequest represents a request for the provider to delete a
@@ -79,5 +85,6 @@ type DeleteResourceRequest struct {
7985
// This configuration may contain unknown values if a user uses
8086
// interpolation or other functionality that would prevent Terraform
8187
// from knowing the value at request time.
82-
Config Config
88+
// TODO uncomment when implemented
89+
// Config Config
8390
}

response.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ type CreateResourceResponse struct {
6666
// State is the state of the resource following the Create operation.
6767
// This field is pre-populated from CreateResourceRequest.Plan and
6868
// should be set during the resource's Create operation.
69-
State State
69+
// TODO uncomment when implemented
70+
// State State
7071

7172
// Diagnostics report errors or warnings related to creating the
7273
// resource. An empty slice indicates a successful operation with no
@@ -124,7 +125,8 @@ type ReadResourceResponse struct {
124125
// State is the state of the resource following the Read operation.
125126
// This field is pre-populated from ReadResourceRequest.State and
126127
// should be set during the resource's Read operation.
127-
State State
128+
// TODO uncomment when implemented
129+
// State State
128130

129131
// Diagnostics report errors or warnings related to reading the
130132
// resource. An empty slice indicates a successful operation with no
@@ -182,7 +184,8 @@ type UpdateResourceResponse struct {
182184
// State is the state of the resource following the Update operation.
183185
// This field is pre-populated from UpdateResourceRequest.Plan and
184186
// should be set during the resource's Update operation.
185-
State State
187+
// TODO uncomment when implemented
188+
// State State
186189

187190
// Diagnostics report errors or warnings related to updating the
188191
// resource. An empty slice indicates a successful operation with no

0 commit comments

Comments
 (0)