Skip to content

Commit

Permalink
chore(doc): update (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <sammy.huang@zilliz.com>
  • Loading branch information
samhuang-z committed May 24, 2024
1 parent 85dba37 commit bfeded9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ data "zillizcloud_project" "default" {
}
resource "zillizcloud_cluster" "free_plan_cluster" {
# Defining a basic starter cluster
cluster_name = "Cluster-01" # The name of the cluster
plan = "Free" # The service plan for the cluster The name of the cluster
project_id = data.zillizcloud_project.default.id # Linking to the project ID fetched earlier
}
resource "zillizcloud_cluster" "serverless_plan_cluster" {
# Defining a basic starter cluster
cluster_name = "Cluster-02" # The name of the cluster
plan = "Serverless" # The service plan for the cluster# The name of the cluster
project_id = data.zillizcloud_project.default.id # Linking to the project ID fetched earlier
Expand Down Expand Up @@ -65,7 +63,7 @@ resource "zillizcloud_cluster" "standard_plan_cluster" {

- `cu_size` (Number) The size of the CU to be used for the created cluster. It is an integer from 1 to 256.
- `cu_type` (String) The type of the CU used for the Zilliz Cloud cluster to be created. A compute unit (CU) is the physical resource unit for cluster deployment. Different CU types comprise varying combinations of CPU, memory, and storage. Available options are Performance-optimized, Capacity-optimized, and Cost-optimized. This parameter defaults to Performance-optimized. The value defaults to Performance-optimized.
- `plan` (String) The plan tier of the Zilliz Cloud service. Available options are Standard and Enterprise.
- `plan` (String) The plan tier of the Zilliz Cloud service. Available options are Free, Serverless, Standard and Enterprise.
- `region_id` (String) The ID of the region where the cluster exists.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

Expand Down
2 changes: 0 additions & 2 deletions examples/resources/zillizcloud_cluster/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ data "zillizcloud_project" "default" {
}

resource "zillizcloud_cluster" "free_plan_cluster" {
# Defining a basic starter cluster
cluster_name = "Cluster-01" # The name of the cluster
plan = "Free" # The service plan for the cluster The name of the cluster
project_id = data.zillizcloud_project.default.id # Linking to the project ID fetched earlier
}

resource "zillizcloud_cluster" "serverless_plan_cluster" {
# Defining a basic starter cluster
cluster_name = "Cluster-02" # The name of the cluster
plan = "Serverless" # The service plan for the cluster# The name of the cluster
project_id = data.zillizcloud_project.default.id # Linking to the project ID fetched earlier
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (r *ClusterResource) Schema(ctx context.Context, req resource.SchemaRequest
},
},
"plan": schema.StringAttribute{
MarkdownDescription: "The plan tier of the Zilliz Cloud service. Available options are Standard and Enterprise.",
MarkdownDescription: "The plan tier of the Zilliz Cloud service. Available options are Free, Serverless, Standard and Enterprise.",
Optional: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
Expand Down

0 comments on commit bfeded9

Please sign in to comment.