Google Data catalog Entry Group

This page shows how to write Terraform for Data catalog Entry Group and write them securely.

google_data_catalog_entry_group (Terraform)

The Entry Group in Data catalog can be configured in Terraform with the resource name google_data_catalog_entry_group. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L5
resource "google_data_catalog_entry_group" "entry_group" {
  for_each       = local.groups
  entry_group_id = each.key
  display_name   = each.value.display_name
  description    = each.value.description

main.tf#L7
resource "google_data_catalog_entry_group" "this" {
  description    = var.description
  display_name   = var.display_name
  entry_group_id = var.entry_group_id
  project        = var.project
  region         = var.region

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Entry group description, which can consist of several sentences or paragraphs that describe entry group contents.

A short name to identify the entry group, for example, "analytics data - jan 2011".

The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

  • id optional computed - string
  • name optional computed - string

The resource name of the entry group in URL format. Example: projects/[project]/locations/[location]/entryGroups/[entryGroupId]

EntryGroup location region.

Explanation in Terraform Registry

An EntryGroup resource represents a logical grouping of zero or more Data Catalog Entry resources. To get more information about EntryGroup, see:

Frequently asked questions

What is Google Data catalog Entry Group?

Google Data catalog Entry Group is a resource for Data catalog of Google Cloud Platform. Settings can be wrote in Terraform.

Where can I find the example code for the Google Data catalog Entry Group?

For Terraform, the drandell/terraform-google-datacatalog and niveklabs/google source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.