Files
terraform-provider-unifi/docs/resources/firewall_group.md
Mateusz Filipowicz 325d7b7f20 feat: initialize Terraform Plugin Framework (#23)
* feat: initialize Terraform Plugin Framework

* fix docker-compose path for tests

* fix: ensure documentation can be generated with old provider SDK and new plugin framework

* lint
2025-02-24 00:11:41 +01:00

44 lines
1.1 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "unifi_firewall_group Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_firewall_group manages groups of addresses or ports for use in firewall rules (unifi_firewall_rule).
---
# unifi_firewall_group (Resource)
`unifi_firewall_group` manages groups of addresses or ports for use in firewall rules (`unifi_firewall_rule`).
## Example Usage
```terraform
variable "laptop_ips" {
type = list(string)
}
resource "unifi_firewall_group" "can_print" {
name = "can-print"
type = "address-group"
members = var.laptop_ips
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `members` (Set of String) The members of the firewall group.
- `name` (String) The name of the firewall group.
- `type` (String) The type of the firewall group. Must be one of: `address-group`, `port-group`, or `ipv6-address-group`.
### Optional
- `site` (String) The name of the site to associate the firewall group with.
### Read-Only
- `id` (String) The ID of the firewall group.