Google Cloud Bigtable GC Policy
This page shows how to write Terraform for Cloud Bigtable GC Policy and write them securely.
google_bigtable_gc_policy (Terraform)
The GC Policy in Cloud Bigtable can be configured in Terraform with the resource name google_bigtable_gc_policy
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
column_family
required - string
The name of the column family.
-
id
optional computed - string -
instance_name
required - string
The name of the Bigtable instance.
-
mode
optional - string
If multiple policies are set, you should choose between UNION OR INTERSECTION.
-
project
optional computed - string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
table
required - string
The name of the table.
-
max_age
list block-
days
optional computed - number
Number of days before applying GC policy.
-
duration
optional computed - string
Duration before applying GC policy
-
-
max_version
list block-
number
required - number
Number of version before applying the GC policy.
-
Explanation in Terraform Registry
Creates a Google Cloud Bigtable GC Policy inside a family. For more information see the official documentation and API.