This terraform module is used to create big table resources such as big table instance and tables
This module assumes that below mentioned prerequisites are in place before consuming the module.
- To deploy this blueprint you must have an active billing account and billing permissions.
- APIs are enabled
- Permissions are available
Basic usage of this module is as follows:
module "bigtable" {
source = "terraform-google-modules/bigtable/google"
version = "~> 0.1"
project_id = "<PROJECT ID>"
bucket_name = "gcs-test-bucket"
}
Functional examples are included in the examples directory.
Name | Description | Type | Default | Required |
---|---|---|---|---|
deletion_protection | Whether or not to allow Terraform to destroy the instance | bool |
true |
no |
display_name | The human-readable display name of the Bigtable instance. Defaults to the instance name | string |
n/a | yes |
labels | labels associated to the Bigtable instance. | map(string) |
{} |
no |
name | The unique name of the Bigtable instance. | string |
n/a | yes |
project_id | The ID of the project in which the resource belongs | string |
n/a | yes |
storage_type | The storage type to use. One of SSD or HDD. Defaults to SSD | string |
"SSD" |
no |
tables | Tables to created in the Bigtable instance. | map(object({ |
{} |
no |
zones | Zones of the Bigtable cluster. | map(object({ |
n/a | yes |
Name | Description |
---|---|
instance_id | Bigtable instance id |
instance_name | Bigtable instance name |
table_ids | List of table being provisioned |
These sections describe requirements for using this module.
The following dependencies must be available:
- Terraform v1.3
- Terraform Provider for GCP plugin v3.53+
A service account with the following roles must be used to provision the resources of this module:
- Storage Admin:
roles/storage.admin
The Project Factory module and the IAM module may be used in combination to provision a service account with the necessary roles applied.
A project with the following APIs enabled must be used to host the resources of this module:
- Google Cloud Storage JSON API:
storage-api.googleapis.com
The Project Factory module can be used to provision a project with the necessary APIs enabled.
Refer to the contribution guidelines for information on contributing to this module.
Please see our security disclosure process.