--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "unifi_setting_magic_site_to_site_vpn Resource - terraform-provider-unifi" subcategory: "" description: |- Manages Magic Site to Site VPN settings for a UniFi site. --- # unifi_setting_magic_site_to_site_vpn (Resource) Manages Magic Site to Site VPN settings for a UniFi site. ## Example Usage ```terraform resource "unifi_setting_magic_site_to_site_vpn" "example" { # Enable Magic Site-to-Site VPN functionality enabled = true # Specify the site (optional, defaults to site configured in provider, otherwise "default") # site = "default" } ``` ## Schema ### Required - `enabled` (Boolean) Whether the Magic Site to Site VPN is enabled. ### 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.