mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Only one cluster, max.
Only allow one cluster for bigtable instances. We can expand to 2 for 2.0.0.
This commit is contained in:
parent
a814a587c7
commit
f743cc057b
@ -41,7 +41,7 @@ func resourceBigtableInstance() *schema.Resource {
|
||||
"cluster": {
|
||||
Type: schema.TypeSet,
|
||||
Optional: true,
|
||||
MaxItems: 2,
|
||||
MaxItems: 1,
|
||||
ConflictsWith: []string{"cluster_id", "zone", "num_nodes", "storage_type"},
|
||||
Elem: &schema.Resource{
|
||||
Schema: map[string]*schema.Schema{
|
||||
|
@ -40,7 +40,7 @@ The following arguments are supported:
|
||||
|
||||
* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
|
||||
|
||||
* `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.
|
||||
* `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.
|
||||
|
||||
* `cluster_id` - (Optional, Deprecated) The ID of the Cloud Bigtable cluster. Use `cluster.cluster_id` instead.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user