2017-06-26 22:40:01 +00:00
---
layout: "google"
page_title: "Google: google_bigtable_table"
2017-07-05 18:32:26 +00:00
sidebar_current: "docs-google-bigtable-table"
2017-06-26 22:40:01 +00:00
description: |-
2018-10-31 20:21:58 +00:00
Creates a Google Cloud Bigtable table inside an instance.
2017-06-26 22:40:01 +00:00
---
# google_bigtable_table
2018-10-31 20:21:58 +00:00
Creates a Google Cloud Bigtable table inside an instance. For more information see
2017-06-26 22:40:01 +00:00
[the official documentation ](https://cloud.google.com/bigtable/ ) and
[API ](https://cloud.google.com/bigtable/docs/go/reference ).
## Example Usage
```hcl
resource "google_bigtable_instance" "instance" {
name = "tf-instance"
cluster_id = "tf-instance-cluster"
zone = "us-central1-b"
num_nodes = 3
storage_type = "HDD"
}
resource "google_bigtable_table" "table" {
name = "tf-table"
instance_name = "${google_bigtable_instance.instance.name}"
split_keys = ["a", "b", "c"]
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the table.
* `instance_name` - (Required) The name of the Bigtable instance.
* `split_keys` - (Optional) A list of predefined keys to split the table on.
2018-10-12 14:49:48 +00:00
* `column_family` - (Optional) A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.
2018-03-12 20:59:47 +00:00
* `project` - (Optional) The ID of the project in which the resource belongs. If it
2017-06-26 22:40:01 +00:00
is not provided, the provider project is used.
2018-10-12 14:49:48 +00:00
-----
`column_family` supports the following arguments:
2018-10-31 20:21:58 +00:00
* `family` - (Optional) The name of the column family.
2018-10-12 14:49:48 +00:00
2017-06-26 22:40:01 +00:00
## Attributes Reference
Only the arguments listed above are exposed as attributes.