0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 11:02:59 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_cluster_ipset.md
Pavel Boldyrev bf9e31ecfc
chore: lint and reformat the code (#204)
* chore: reformat code

* chore: add commitlint config

* reformat README.md

* add linter config

* lint & reformat docs

* go linter: only new issues

* fix some linting errors

* more reformatting

* disable linter warning for some duplicated code
2023-01-16 18:07:30 -05:00

1.2 KiB

layout title permalink nav_order parent subcategory
page proxmox_virtual_environment_cluster_ipset /resources/virtual_environment_cluster_ipset 3 Resources Virtual Environment

Resource: proxmox_virtual_environment_cluster_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"
  }
}

Argument 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.

Attribute Reference

There are no attribute references available for this resource.