* Improve tests * Add Ipv6 support * We can't create IPv6 static routes without a gateway * Revert "We can't create IPv6 static routes without a gateway" This reverts commit dfff85c5b7d22c28d50485536c567e3a8b657136. * Adopt device * Fix * Revert "Adopt device" This reverts commit a1fb209c7b2cd0d9ae44640fece91f4bafeed2ae.
Unifi Terraform Provider (terraform-provider-unifi)
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.
Documentation
You can browse documentation on the Terraform provider registry.
Supported Unifi Controller Versions
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.
Using the Provider
Terraform 1.0 and above
You can use the provider via the Terraform provider registry.