sotoon_iam_group (Resource)

Manages a group instance.

Example Usage

data "sotoon_workspace" "mycompany" {
  id = "ee6f89b5-e07c-42f1-9462-05cec9cd92d8" # Workspace ID
}

# Create `deployers` group in the `mycompany` workspace
resource "sotoon_iam_group" "deployers" {
  name         = "deployers"
  workspace_id = data.sotoon_workspace.mycompany.id
}

Schema

Required

  • name (String) Name of the group.
  • workspace_id (String) ID of the workspace which group is defined in that.

Read-Only

  • id (String) ID of the group.

Import

Import is supported using the following syntax:

# Replace <group-name> and <workspace-id> with real values
terraform import sotoon_iam_group.deployers "<group-name>:<workspace-id>"

# For example:
terraform import sotoon_iam_group.deployers "deployers:ee6f89b5-e07c-42f1-9462-05cec9cd92d8"