Skip to content

Commit 46d8a9d

Browse files
authored
Remove computed for scaling so it is not always included in scaling requests for clickpipes (#393)
1 parent 2fd481a commit 46d8a9d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/resource/clickpipe.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,19 @@ func (c *ClickPipeResource) Schema(_ context.Context, _ resource.SchemaRequest,
122122
"replica_cpu_millicores": schema.Int64Attribute{
123123
Description: "The CPU allocation per replica in millicores. Must be between 125 and 2000.",
124124
Optional: true,
125-
Computed: true,
126125
Validators: []validator.Int64{
127126
int64validator.Between(125, 2000),
128127
},
129128
},
130129
"replica_memory_gb": schema.Float64Attribute{
131130
Description: "The memory allocation per replica in GB. Must be between 0.5 and 8.0.",
132131
Optional: true,
133-
Computed: true,
134132
Validators: []validator.Float64{
135133
float64validator.Between(0.5, 8.0),
136134
},
137135
},
138136
},
139137
Optional: true,
140-
Computed: true,
141138
},
142139
"stopped": schema.BoolAttribute{
143140
MarkdownDescription: "Whether the ClickPipe should be stopped. Default is `false` (ClickPipe will be running).",

0 commit comments

Comments
 (0)