Skip to content

Commit

Permalink
Add deprecation message for storage and compute optimized constraints (
Browse files Browse the repository at this point in the history
…#315)

* add deprecation message

* update sdk

* update docs

* update message
  • Loading branch information
linkas45 authored May 14, 2024
1 parent 0880c17 commit e93aeae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions castai/resource_node_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ func resourceNodeTemplate() *schema.Resource {
Optional: true,
Default: false,
Description: "Storage optimized instance constraint - will only pick storage optimized nodes if true",
Deprecated: "Storage optimized constraint is deprecated and will be replaced by a new argument in the next major release.",
},
FieldNodeTemplateIsGpuOnly: {
Type: schema.TypeBool,
Expand All @@ -244,6 +245,7 @@ func resourceNodeTemplate() *schema.Resource {
Optional: true,
Default: false,
Description: "Compute optimized instance constraint - will only pick compute optimized nodes if true.",
Deprecated: "Compute optimized constraint is deprecated and will be replaced by a new argument in the next major release.",
},
FieldNodeTemplateInstanceFamilies: {
Type: schema.TypeList,
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/node_template.md

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

0 comments on commit e93aeae

Please sign in to comment.