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_familyrequired - string
The name of the column family.
-
idoptional computed - string -
instance_namerequired - string
The name of the Bigtable instance.
-
modeoptional - string
If multiple policies are set, you should choose between UNION OR INTERSECTION.
-
projectoptional computed - string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
tablerequired - string
The name of the table.
-
max_agelist block-
daysoptional computed - number
Number of days before applying GC policy.
-
durationoptional computed - string
Duration before applying GC policy
-
-
max_versionlist block-
numberrequired - 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.