hcp_group (Resource)

The group resource manages a HCP Group.

The user or service account that is running Terraform when creating an hcp_group resource must have roles/admin on the parent resource; either the project or organization.

Example Usage

resource "hcp_group" "example" {
  display_name = "example-group"
  description  = "My new group!"
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Group can be imported by specifying the group resource name
terraform import hcp_group.example "iam/organization/org_id/group/group-name"