2017-06-15 17:41:05 +00:00
---
layout: "google"
page_title: "Google: google_bigtable_instance"
2017-07-05 18:32:26 +00:00
sidebar_current: "docs-google-bigtable-instance"
2017-06-15 17:41:05 +00:00
description: |-
Creates a Google Bigtable instance.
---
# google_bigtable_instance
Creates a Google Bigtable instance. For more information see
[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" {
2017-06-26 20:33:05 +00:00
name = "tf-instance"
cluster_id = "tf-instance-cluster"
zone = "us-central1-b"
num_nodes = 3
2017-06-15 17:41:05 +00:00
storage_type = "HDD"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) The name of the Bigtable instance.
* `cluster_id` - (Required) The name of the Bigtable instance's cluster.
2017-06-26 20:33:05 +00:00
* `zone` - (Required) The zone to create the Bigtable instance in. Zones that support Bigtable instances are noted on the [Cloud Locations page ](https://cloud.google.com/about/locations/ ).
2017-06-15 17:41:05 +00:00
2017-08-11 21:43:00 +00:00
* `num_nodes` - (Optional) The number of nodes in your Bigtable instance. Minimum of `3` for a `PRODUCTION` instance. Cannot be set for a `DEVELOPMENT` instance.
* `instance_type` - (Optional) The instance type to create. One of `"DEVELOPMENT"` or `"PRODUCTION"` . Defaults to `PRODUCTION` .
2017-06-15 17:41:05 +00:00
2017-06-26 21:03:35 +00:00
* `storage_type` - (Optional) The storage type to use. One of `"SSD"` or `"HDD"` . Defaults to `SSD` .
2017-06-15 17:41:05 +00:00
2018-03-12 20:59:47 +00:00
* `project` - (Optional) The ID of the project in which the resource belongs. If it
2017-06-15 17:41:05 +00:00
is not provided, the provider project is used.
* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name` .
## Attributes Reference
Only the arguments listed above are exposed as attributes.