0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 10:33:46 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_cluster_ipset.md
Pavel Boldyrev 86719256dc
Update docs (#57)
* more docs update

* add some badges

* cleanup .MDs

* update .lock

* add cloud-config to the example doc
2022-05-23 23:43:12 -04: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.