it_automation_task_group
This resource allows management of IT Automation task groups in the CrowdStrike Falcon platform. Task groups allow you to group tasks for RBAC and organization.
API Scopes
Section titled “API Scopes”The following API scopes are required:
- IT Automation - Policies: READ
- IT Automation - Policies: WRITE
- IT Automation - Task Executions: READ
- IT Automation - Task Executions: WRITE
- IT Automation - Tasks: READ
- IT Automation - Tasks: WRITE
- IT Automation - User Groups: READ
- IT Automation - User Groups: WRITE
~> Note When tasks are added to a task group, they automatically inherit the group’s access_type and assigned_user_ids settings. Tasks in a group cannot have these fields configured individually on the task resource.
Example Usage
Section titled “Example Usage”terraform { required_providers { crowdstrike = { source = "registry.terraform.io/crowdstrike/crowdstrike" } }}
provider "crowdstrike" { cloud = "us-2"}
resource "crowdstrike_it_automation_task_group" "example" { name = "Example Task Group" description = "Example IT automation task group" access_type = "Shared"
assigned_user_ids = [ "21dff902-85e0-48b5-b909-b9a7099b1829", "fbf23972-9999-4bc4-9f9f-c2ec07fadeed" ]
task_ids = [ "005e5b946b1e9920bffb7c71427c0a00", "bdb7d0283ff8428f9332c5dfeb99a3aa", ]}
output "task_group" { value = crowdstrike_it_automation_task_group.example}Schema
Section titled “Schema”Required
Section titled “Required”access_type(String) Access control configuration for the task (Public, Shared).name(String) Name of the task group.
Optional
Section titled “Optional”assigned_user_ids(Set of String) Assigned user IDs of the group, when access_type is Shared. Required when access_type is ‘Shared’.description(String) Description of the task group.task_ids(Set of String) Assigned task IDs of the group.
Read-Only
Section titled “Read-Only”id(String) Identifier for the task group.last_updated(String) Timestamp of the last Terraform update of the resource.
Import
Section titled “Import”Import is supported using the following syntax:
# it automation task group can be imported by specifying the task group id.terraform import crowdstrike_it_automation_task_group.example 05ecd4910ac34f9f8b5f07d9f9b57e80
# using import block (requires terraform 1.5+)import { to = crowdstrike_it_automation_task_group.example id = "05ecd4910ac34f9f8b5f07d9f9b57e80"}