paultyng / terraform-provider-unifi

Terraform provider for Unifi :satellite:
https://registry.terraform.io/providers/paultyng/unifi/latest/docs
Mozilla Public License 2.0
510 stars 90 forks source link

intra_network_access appears to be deprecated, in favor of 'guest' network purpose / traffic rules #433

Open robbycuenot opened 10 months ago

robbycuenot commented 10 months ago

UDM Pro UniFi OS: 3.1.16 Unifi Network: 8.0.24

I've been building a tool to generate the TF code based on API calls, and I've not been able to find any reference to intra_network_access despite setting the bool to true and false in the config, and manually changing the settings in the new and classic UI. I believe that flag would be tied to this setting:

image

When that flag is set, the only change in networkconf is the network purpose:

image

The provider expects to find these values in json:

    IntraNetworkAccessEnabled    bool                            `json:"intra_network_access_enabled"`
    IntraNetworks                []string                        `json:"intra_networks,omitempty"` // [\d\w]+

Should this field me marked as deprecated?

P.S. This provider is awesome, thank you for building it!