Resource

dcloud_iam_group

An IAM group: users added with dcloud_iam_group_membership get the policies attached with dcloud_iam_group_policy_attachment.

Example Usage

resource "dcloud_iam_group" "developers" {
  name        = "developers"
  description = "Everyone who deploys"
}

Schema

Required

  • name (String) The group’s name. Up to 128 characters.

Optional

  • description (String) What the group is for. Up to 512 characters.

Read-Only

  • id (String) The resource's id.
  • managed_by (String) Set when SCIM provisioning manages the group's members.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import dcloud_iam_group.developers <group-id>

Generated from the provider's schema.