Skip to content

user_group

This resource manages user groups in CrowdStrike Falcon Flight Control.

The following API scopes are required:

  • Flight Control: READ
  • Flight Control: WRITE
terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
resource "crowdstrike_user_group" "example" {
name = "Engineering Team"
description = "User group for engineering team members"
user_ids = [
"12345678-1234-1234-1234-123456789012",
"87654321-4321-4321-4321-210987654321"
]
}
  • name (String) The name of the user group.
  • description (String) A description for the user group.
  • user_ids (Set of String) A set of user UUIDs that are members of this user group. Maximum 500 members allowed.
  • cid (String) The customer ID associated with the user group.
  • id (String) The unique identifier for the user group.
  • last_updated (String) The RFC850 timestamp of the last update to this resource by Terraform.

Import is supported using the following syntax:

#!/bin/sh
terraform import crowdstrike_user_group.example <user_group_id>