Skip to content

Commit

Permalink
chore: mark reservations resource as deprecated (PRICE-348) (#374)
Browse files Browse the repository at this point in the history
* mark reservations resource as deprecated

* generate sdk

---------

Co-authored-by: Max Twardowski <max@cast.ai>
  • Loading branch information
maxtwardowski and Max Twardowski authored Sep 18, 2024
1 parent 63950fc commit 4df132f
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 10 deletions.
3 changes: 2 additions & 1 deletion castai/resource_reservations.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func resourceReservations() *schema.Resource {
Importer: &schema.ResourceImporter{
StateContext: reservationsStateImporter,
},
Description: "Reservation represents cloud service provider reserved instances that can be used by CAST AI autoscaler.",
Description: "Reservation represents cloud service provider reserved instances that can be used by CAST AI autoscaler.",
DeprecationMessage: "Use castai_commitments resource instead.",

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(2 * time.Minute),
Expand Down
98 changes: 89 additions & 9 deletions castai/sdk/api.gen.go

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

Loading

0 comments on commit 4df132f

Please sign in to comment.