tailscale_derp_map_set
Set or update custom DERP relay map in tailnet ACL policy using region IDs 900-999. Optionally replace default relays entirely with omitDefaultRegions.
Instructions
Set or update the custom DERP relay map in the tailnet's ACL policy. Requires confirm: true. Custom DERP regions use IDs 900-999. Set omitDefaultRegions: true to replace Tailscale's default relays entirely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm the DERP map update | |
| regions | Yes | Map of region ID (string) to region config. Custom regions should use IDs 900-999. | |
| omitDefaultRegions | No | If true, omit Tailscale's default DERP regions and use only custom ones |