Google Cloud Bigtable App Profile
This page shows how to write Terraform for Cloud Bigtable App Profile and write them securely.
google_bigtable_app_profile (Terraform)
The App Profile in Cloud Bigtable can be configured in Terraform with the resource name google_bigtable_app_profile. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "google_bigtable_app_profile" "this" {
app_profile_id = var.app_profile_id
description = var.description
ignore_warnings = var.ignore_warnings
instance = var.instance
multi_cluster_routing_use_any = var.multi_cluster_routing_use_any
Parameters
-
app_profile_idrequired - string
The unique name of the app profile in the form '[_a-zA-Z0-9][-_.a-za-z0-9]*'.
-
descriptionoptional - string
Long form description of the use case for this app profile.
-
idoptional computed - string -
ignore_warningsoptional - bool
If true, ignore safety checks when deleting/updating the app profile.
-
instanceoptional - string
The name of the instance to create the app profile within.
-
multi_cluster_routing_use_anyoptional - bool
If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
-
nameoptional computed - string
The unique name of the requested app profile. Values are of the form 'projects/<project>/instances/<instance>/appProfiles/<appProfileId>'.
-
projectoptional computed - string -
single_cluster_routinglist block-
allow_transactional_writesoptional - bool
If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.
-
cluster_idrequired - string
The cluster to which read/write requests should be routed.
-
-
timeoutssingle block
Explanation in Terraform Registry
App profile is a configuration object describing how Cloud Bigtable should treat traffic from a particular end user application. To get more information about AppProfile, see:
Frequently asked questions
What is Google Cloud Bigtable App Profile?
Google Cloud Bigtable App Profile is a resource for Cloud Bigtable of Google Cloud Platform. Settings can be wrote in Terraform.
Where can I find the example code for the Google Cloud Bigtable App Profile?
For Terraform, the niveklabs/google source code example is useful. See the Terraform Example section for further details.