layout | page_title | sidebar_current | description |
---|---|---|---|
google |
Google: google_bigtable_instance |
docs-google-bigtable-instance |
Creates a Google Bigtable instance. |
Creates a Google Bigtable 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"
}
The following arguments are supported:
-
name
- (Required) The name of the Bigtable instance. -
cluster_id
- (Required) The name of the Bigtable instance's cluster. -
zone
- (Required) The zone to create the Bigtable instance in. Zones that support Bigtable instances are noted on the Cloud Locations page. -
num_nodes
- (Optional) The number of nodes in your Bigtable instance. Minimum of3
for aPRODUCTION
instance. Cannot be set for aDEVELOPMENT
instance. -
instance_type
- (Optional) The instance type to create. One of"DEVELOPMENT"
or"PRODUCTION"
. Defaults toPRODUCTION
. -
storage_type
- (Optional) The storage type to use. One of"SSD"
or"HDD"
. Defaults toSSD
. -
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. -
display_name
- (Optional) The human-readable display name of the Bigtable instance. Defaults to the instancename
.
Only the arguments listed above are exposed as attributes.