Terraform resource for managing an AWS IdentityStore Group.
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]
}
The following arguments are required:
identity_store_id
- (Required) The globally unique identifier for the identity store.The following arguments are optional:
display_name
- (Optional) A string containing the name of the group. This value is commonly displayed when the group is referenced.description
- (Optional) A string containing the description of the group.This resource exports the following attributes in addition to the arguments above:
group_id
- The identifier of the newly created group in the identity store.external_ids
- A list of external IDs that contains the identifiers issued to this resource by an external identity provider. See External IDs below.id
- The identifier issued to this resource by an external identity provider.issuer
- The issuer for an external identifier.create
- (Default 60m
)update
- (Default 180m
)delete
- (Default 90m
)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