Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Huang <[email protected]>
  • Loading branch information
yellow-shine committed Mar 4, 2024
1 parent e1d9333 commit 4b6593c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions examples/resources/zilliz_cluster/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ terraform {
}

provider "zilliz" {
api_key = "fake-api-key"
cloud_region_id = "gcp-us-west1"
}

data "zilliz_projects" "test" {
data "zilliz_projects" "default" {
}

# resource "zilliz_cluster" "test" {
# plan = "Standard"
# cluster_name = "Cluster-01"
# cu_size = "1"
# cu_type = "Performance-optimized"
# project_id = data.zilliz_projects.test.projects[0].project_id
# }
resource "zilliz_cluster" "standard_plan_cluster" {
plan = "Standard"
cluster_name = "Cluster-01"
cu_size = "1"
cu_type = "Performance-optimized"
project_id = data.zilliz_projects.default.projects[0].project_id
}

resource "zilliz_cluster" "serverless_test" {
resource "zilliz_cluster" "serverless_cluster" {
cluster_name = "Cluster-02"
project_id = data.zilliz_projects.test.projects[0].project_id
project_id = data.zilliz_projects.default.projects[0].project_id
}

0 comments on commit 4b6593c

Please sign in to comment.