Resource: aws_identitystore_group

Terraform resource for managing an AWS IdentityStore Group.

Example Usage

Basic Usage

resource "aws_identitystore_group" "this" {
  display_name      = "Example group"
  description       = "Example description"
  identity_store_id = tolist(data.aws_ssoadmin_instances.example.identity_store_ids)[0]
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

External IDs

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import an Identity Store Group using the combination identity_store_id/group_id. For example:

import {
  to = aws_identitystore_group.example
  id = "d-9c6705e95c/b8a1c340-8031-7071-a2fb-7dc540320c30"
}

Using terraform import, import an Identity Store Group using the combination identity_store_id/group_id. For example:

% terraform import aws_identitystore_group.example d-9c6705e95c/b8a1c340-8031-7071-a2fb-7dc540320c30