Files
Mateusz Filipowicz b9284f7758 docs: improve documentation for 1.0.0 release (#75)
* docs: add examples and recreate TF documentation

* update readme

* add information about experimental support of firewall zones
2025-03-22 19:13:16 +01:00

1.2 KiB

page_title, subcategory, description
page_title subcategory description
unifi_setting_usw Resource - terraform-provider-unifi Manages UniFi Switch (USW) settings for a UniFi site. These settings control global switch behaviors such as DHCP snooping.

unifi_setting_usw (Resource)

Manages UniFi Switch (USW) settings for a UniFi site. These settings control global switch behaviors such as DHCP snooping.

Example Usage

resource "unifi_setting_usw" "example" {
  # Enable DHCP snooping to protect against rogue DHCP servers
  dhcp_snoop = true
  
  # Specify the site (optional, defaults to site configured in provider, otherwise "default")
  # site = "default"
}

Schema

Required

  • dhcp_snoop (Boolean) Whether DHCP snooping is enabled. DHCP snooping is a security feature that filters untrusted DHCP messages and builds a binding database of valid hosts.

Optional

  • site (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.

Read-Only

  • id (String) The unique identifier of this resource.