Skip to content

Commit

Permalink
feat: add support for gp2 EBS (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 authored Jun 13, 2024
1 parent 3dc6348 commit e8506cd
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions castai/resource_node_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ func resourceNodeConfiguration() *schema.Resource {
"volume_type": {
Type: schema.TypeString,
Optional: true,
Description: "AWS EBS volume type to be used for CAST provisioned nodes. One of: gp3, io1, io2",
ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice([]string{"gp3", "io1", "io2"}, true)),
Description: "AWS EBS volume type to be used for CAST provisioned nodes. One of: gp3, gp2, io1, io2",
ValidateDiagFunc: validation.ToDiagFunc(validation.StringInSlice([]string{"gp3", "gp2", "io1", "io2"}, true)),
},
"volume_iops": {
Type: schema.TypeInt,
Expand Down
2 changes: 2 additions & 0 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 e8506cd

Please sign in to comment.