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_firewall_rule doest have Port Group? #459

Open
matty2k opened this issue May 11, 2024 · 1 comment
Open

unifi_firewall_rule doest have Port Group? #459

matty2k opened this issue May 11, 2024 · 1 comment

Comments

@matty2k
Copy link

matty2k commented May 11, 2024

dst_firewall_group_ids is fine, but I would also like to include the port group

for example

resource "unifi_firewall_rule" "xxxx" {
name = "xxxx"
action = "accept"
ruleset = "LAN_IN"
enabled = true
rule_index = xxxxx

protocol = "all"

src_network_id = xxxx
dst_firewall_group_ids = xxxxx
Port group? ?
logging = false
}
The dst_port won't work, as it is only for individual ports, not for port groups

@atanaskupenov
Copy link

This is still working, although not well documented.
Place in the source and destination port groups in the dst_firewall_group_ids and src_firewall_group_ids.
e.g.
src_network_id = [66cc70ad77b1073f6dc639e6, 66cc70ad77b1073f6dc639e5]

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

2 participants