google_cloud_identity_group

A Cloud Identity resource representing a Group.

To get more information about Group, see:

Example Usage - Cloud Identity Groups Basic

resource "google_cloud_identity_group" "cloud_identity_group_basic" {
  display_name         = "my-identity-group"
  initial_group_config = "WITH_INITIAL_OWNER"

  parent = "customers/A01b123xz"

  group_key {
    id = "my-identity-group@example.com"
  }

  labels = {
    "cloudidentity.googleapis.com/groups.discussion_forum" = ""
  }
}

Argument Reference

The following arguments are supported:

The group_key block supports:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

The additional_group_keys block contains:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Group can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Group using one of the formats above. For example:

import {
  id = "{{name}}"
  to = google_cloud_identity_group.default
}

When using the terraform import command, Group can be imported using one of the formats above. For example:

$ terraform import google_cloud_identity_group.default {{name}}