0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 21:14:05 +00:00
terraform-provider-proxmox/docs/resources/ipset.md

50 lines
1.1 KiB
Markdown

---
layout: page
title: IPSet
permalink: /ressources/ipset
nav_order: 8
parent: Resources
---
# Resource: IPSet
An IPSet allows us to group multiple IP addresses, IP subnets and aliases.
## Example Usage
```
resource "proxmox_virtual_environment_cluster_ipset" "ipset" {
name = "local_network"
comment = "Managed by Terraform"
cidr {
name = "192.168.0.0/23"
comment = "Local network 1"
}
cidr {
name = "192.168.0.1"
comment = "Server 1"
nomatch = true
}
cidr {
name = "192.168.2.1"
comment = "Server 1"
}
}
```
## Arguments Reference
* `name` - (Required) Alias name.
* `comment` - (Optional) Alias comment.
* `cidr` - (Optional) IP/CIDR block (multiple blocks supported).
* `name` - Network/IP specification in CIDR format.
* `comment` - (Optional) Arbitrary string annotation.
* `nomatch` - (Optional) Entries marked as `nomatch` are skipped as if those were not added to the set.
## Attributes Reference
There are no attribute references available for this resource.