Creates a Google Bigtable table inside an instance. For more information see the official documentation and API.
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"]
}
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.
project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Only the arguments listed above are exposed as attributes.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/google/r/bigtable_table.html