Note You can't (for obvious reasons) configure your network while connected to something that may disconnect (like the WiFi). Use a hard-wired connection to your controller to use this provider.
Functionality first needs to be added to the go-unifi SDK.
You can browse documentation on the Terraform provider registry.
As of version v0.34, this provider only supports version 6 of the Unifi controller software. If you need v5 support, you can pin an older version of the provider.
The docker, UDM, and UDM-Pro versions are slightly different (the API is proxied a little differently) but for the most part should all be supported. Individual patch versions of the controller are generally not tested for compatibility, just the latest stable versions.
You can use the provider via the Terraform provider registry.