scylladb / terraform-provider-scylladbcloud

Terraform provider for ScyllaDB Cloud.
https://registry.terraform.io/providers/scylladb/scylladbcloud/latest
Apache License 2.0
10 stars 8 forks source link

Deprecate serverless cluster resource #122

Open charconstpointer opened 3 months ago

charconstpointer commented 3 months ago

With the recent change to ScyllaDB Cloud offering, serverless clusters are no longer possible to create, hence we should consider deprecating Serverless Cluster resource.

rjeczalik commented 2 months ago

@charconstpointer What should be used instead of serverless resource?

I don't see anything about free trial (or generalised - deals api) in the API https://cloud.docs.scylladb.com/stable/api.html#tag/Cluster/operation/createCluster.

While deprecating a resource we must provide what to use instead.

rjeczalik commented 2 months ago

I added a deprecation message in this commit: https://github.com/scylladb/terraform-provider-scylladbcloud/commit/467b3846160677ea0bac5e81664d098da2b56b74

charconstpointer commented 2 months ago

The cluster resource we already support is enough to replace what the serverless resource was offering to our users; i.e. primary purpose for serverless was to use it for free-tier clusters, to replicate this use case using cluster resource user needs to provide combination of:

rjeczalik commented 2 months ago

user needs to provide combination of

How and where?

charconstpointer commented 2 months ago

user needs to provide combination of

How and where?

Right, perhaps I should have been more specific, I was mostly referencing ScyllaDB Cloud Public API spec and cluster creation endpoints. Right now cluster resources does not support these properties, so our users won't be able to create free-tier cluster resources, in order to do that we could expose new properties for cluster resource: