You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/r/bigtable_instance.html.markdown
+28-12
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,12 @@ Creates a Google Bigtable instance. For more information see
18
18
```hcl
19
19
resource "google_bigtable_instance" "instance" {
20
20
name = "tf-instance"
21
-
cluster_id = "tf-instance-cluster"
22
-
zone = "us-central1-b"
23
-
num_nodes = 3
24
-
storage_type = "HDD"
21
+
cluster {
22
+
cluster_id = "tf-instance-cluster"
23
+
zone = "us-central1-b"
24
+
num_nodes = 3
25
+
storage_type = "HDD"
26
+
}
25
27
}
26
28
```
27
29
@@ -31,21 +33,35 @@ The following arguments are supported:
31
33
32
34
*`name` - (Required) The name of the Cloud Bigtable instance.
33
35
34
-
*`cluster_id` - (Required) The ID of the Cloud Bigtable cluster.
35
-
36
-
*`zone` - (Required) The zone to create the Cloud Bigtable cluster in. Zones that support Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations).
37
-
38
-
*`num_nodes` - (Optional) The number of nodes in your Cloud Bigtable cluster. Minimum of `3` for a `PRODUCTION` instance. Cannot be set for a `DEVELOPMENT` instance.
39
-
40
36
*`instance_type` - (Optional) The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"`. Defaults to `"PRODUCTION"`.
41
37
42
-
*`storage_type` - (Optional) The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `"SSD"`.
43
-
44
38
*`project` - (Optional) The ID of the project in which the resource belongs. If it
45
39
is not provided, the provider project is used.
46
40
47
41
*`display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
48
42
43
+
*`cluster` - (Optional) A block of cluster configuration options. Either `cluster` or `cluster_id` must be used. Only one cluster may be specified. See structure below.
44
+
45
+
*`cluster_id` - (Optional, Deprecated) The ID of the Cloud Bigtable cluster. Use `cluster.cluster_id` instead.
46
+
47
+
*`zone` - (Optional, Deprecated) The zone to create the Cloud Bigtable cluster in. Zones that support Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations). Use `cluster.zone` instead.
48
+
49
+
*`num_nodes` - (Optional, Deprecated) The number of nodes in your Cloud Bigtable cluster. Minimum of `3` for a `PRODUCTION` instance. Cannot be set for a `DEVELOPMENT` instance. Use `cluster.num_nodes` instead.
50
+
51
+
*`storage_type` - (Optional, Deprecated) The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `"SSD"`. Use `cluster.storage_type` instead.
52
+
53
+
-----
54
+
55
+
`cluster` supports the following arguments:
56
+
57
+
*`cluster_id` - (Required) The ID of the Cloud Bigtable cluster.
58
+
59
+
*`zone` - (Optional) The zone to create the Cloud Bigtable cluster in. Zones that support Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations).
60
+
61
+
*`num_nodes` - (Optional) The number of nodes in your Cloud Bigtable cluster. Minimum of `3` for a `PRODUCTION` instance. Cannot be set for a `DEVELOPMENT` instance.
62
+
63
+
*`storage_type` - (Optional) The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `"SSD"`.
64
+
49
65
## Attributes Reference
50
66
51
67
Only the arguments listed above are exposed as attributes.
0 commit comments