paultyng/terraform-provider-unifi

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

robbycuenot opened this issue · 0 comments

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!