2.5 KiB
2.5 KiB
subcategory, layout, page_title, description
| subcategory | layout | page_title | description |
|---|---|---|---|
| terraform-provider-unifi: unifi_wlan | unifi_wlan manages a WiFi network / SSID. |
Resource: unifi_wlan
unifi_wlan manages a WiFi network / SSID.
Example Usage
data "unifi_wlan_group" "default" {
}
data "unifi_user_group" "default" {
}
resource "unifi_wlan" "wifi" {
name = "myssid"
vlan_id = 10
passphrase = "12345678"
wlan_group_id = data.unifi_wlan_group.default.id
user_group_id = data.unifi_user_group.default.id
security = "wpapsk"
}
Schema
Required
- name (String, Required) The SSID of the network.
- security (String, Required) The type of WiFi security for this network. Valid values are:
wpapsk,wpaeap, andopen. - user_group_id (String, Required) ID of the user group to use for this network.
- wlan_group_id (String, Required) ID of the WLAN group to use for this network.
Optional
- hide_ssid (Boolean, Optional) Indicates whether or not to hide the SSID from broadcast.
- id (String, Optional)
- is_guest (Boolean, Optional) Indicates that this is a guest WLAN and should use guest behaviors.
- mac_filter_enabled (Boolean, Optional) Indicates whether or not the MAC filter is turned of for the network.
- mac_filter_list (Set of String, Optional) List of MAC addresses to filter (only valid if
mac_filter_enabledistrue). - mac_filter_policy (String, Optional) MAC address filter policy (only valid if
mac_filter_enabledistrue). Defaults todeny. - multicast_enhance (Boolean, Optional) Indicates whether or not Multicast Enhance is turned of for the network.
- passphrase (String, Optional) The passphrase for the network, this is only required if
securityis not set toopen. - radius_profile_id (String, Optional) ID of the RADIUS profile to use when security
wpaeap. You can query this via theunifi_radius_profiledata source. - schedule (Block List) Start and stop schedules for the WLAN (see below for nested schema)
- vlan_id (Number, Optional) VLAN ID for the network. Defaults to
1.
Nested Schema for schedule
Required:
- block_end (String, Required) Time of day to end the block.
- block_start (String, Required) Time of day to start the block.
- day_of_week (String, Required) Day of week for the block. Valid values are
sun,mon,tue,wed,thu,fri,sat.