Files
terraform-provider-unifi/docs/resources/user_group.md
2022-07-02 22:02:22 -04:00

1.2 KiB

page_title, subcategory, description
page_title subcategory description
unifi_user_group Resource - terraform-provider-unifi unifi_user_group manages a user group (called "client group" in the UI), which can be used to limit bandwidth for groups of users.

unifi_user_group (Resource)

unifi_user_group manages a user group (called "client group" in the UI), which can be used to limit bandwidth for groups of users.

Example Usage

resource "unifi_user_group" "wifi" {
  name = "wifi"

  qos_rate_max_down = 2000 # 2mbps
  qos_rate_max_up   = 10   # 10kbps
}

Schema

Required

  • name (String) The name of the user group.

Optional

  • qos_rate_max_down (Number) The QOS maximum download rate. Defaults to -1.
  • qos_rate_max_up (Number) The QOS maximum upload rate. Defaults to -1.
  • site (String) The name of the site to associate the user group with.

Read-Only

  • id (String) The ID of the user group.

Import

Import is supported using the following syntax:

# import using the ID
terraform import unifi_user_group.wifi 5fe6261995fe130013456a36