Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unifi_port_forward name is required #451

Open
markti opened this issue Mar 23, 2024 · 0 comments
Open

unifi_port_forward name is required #451

markti opened this issue Mar 23, 2024 · 0 comments

Comments

@markti
Copy link

markti commented Mar 23, 2024

if you create a "unifi_port_forward" with the name absent you are able to apply the change but when you navigate to the UDMP management console it throws an error! should probably implement validation on required fields and avoid conflicts. For example I had an existing port forwarding setting for my Roon ARC server and I was able to create another one that conflicted with the same IP range. maybe conflicting IP ranges its possible but at least required fields should be validated.

resource "unifi_port_forward" "roon" {
  name                   = "Roon ARC"
  port_forward_interface = "wan"
  dst_port               = "45584"
  fwd_ip                 = "192.168.1.39"
  fwd_port               = "45584"
  log                    = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant