Skip to content

Commit f743cc0

Browse files
committed
Only one cluster, max.
Only allow one cluster for bigtable instances. We can expand to 2 for 2.0.0.
1 parent a814a58 commit f743cc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/resource_bigtable_instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func resourceBigtableInstance() *schema.Resource {
4141
"cluster": {
4242
Type: schema.TypeSet,
4343
Optional: true,
44-
MaxItems: 2,
44+
MaxItems: 1,
4545
ConflictsWith: []string{"cluster_id", "zone", "num_nodes", "storage_type"},
4646
Elem: &schema.Resource{
4747
Schema: map[string]*schema.Schema{

website/docs/r/bigtable_instance.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The following arguments are supported:
4040

4141
* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
4242

43-
* `cluster` - (Optional) A block of cluster configuration options. Either `cluster` or `cluster_id` must be used. At most two clusters may be specified. See structure below.
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.
4444

4545
* `cluster_id` - (Optional, Deprecated) The ID of the Cloud Bigtable cluster. Use `cluster.cluster_id` instead.
4646

0 commit comments

Comments
 (0)