feat: add destination.network_ids support to firewall zone policy

- Add NetworkIDs and MatchOppositeNetworks to destination model
- Add schema attributes for destination.network_ids
- Handle NETWORK matching target in AsUnifiModel and mergeDestination
- Fix Port type conversion (int32 to string) for API compatibility
- Update go.mod to use local go-unifi with destination network support

Fixes: destination.network_ids silently ignored on update
This commit is contained in:
shadyeip
2026-02-05 13:26:32 -05:00
parent 8a8d180343
commit 61ff63c1d7
4 changed files with 99 additions and 46 deletions

5
.gitignore vendored
View File

@@ -7,4 +7,7 @@ terraform-provider-unifi
vendor/
.idea
*.iml
*.iml
# Built binaries
terraform-provider-unifi_*
terraform-provider-unifi