Skip to content

Commit

Permalink
fix: increase min disk size limit (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 authored Apr 9, 2024
1 parent e3a6448 commit 269ff59
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 5 deletions.
4 changes: 2 additions & 2 deletions castai/resource_node_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func resourceNodeConfiguration() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
Default: 100,
ValidateDiagFunc: validation.ToDiagFunc(validation.IntBetween(30, 1000)),
Description: "Minimal disk size in GiB. Defaults to 100, min 30, max 1000",
ValidateDiagFunc: validation.ToDiagFunc(validation.IntBetween(30, 65536)),
Description: "Minimal disk size in GiB. Defaults to 100, min 30, max 65536",
},
FieldNodeConfigurationSubnets: {
Type: schema.TypeList,
Expand Down
55 changes: 53 additions & 2 deletions castai/sdk/api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions castai/sdk/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/resources/node_configuration.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 269ff59

Please sign in to comment.