Files
terraform-provider-unifi/docs/resources/setting_usw.md
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

39 lines
1.2 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "unifi_setting_usw Resource - terraform-provider-unifi"
subcategory: ""
description: |-
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
```terraform
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 generated by tfplugindocs -->
## 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.