0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 19:38:35 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_sdn_zone_simple.md
Pavel Boldyrev 6b73d822a5
feat(sdn): add support for zone resources and datasources (#2046)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-31 20:30:18 -04:00

1.7 KiB

layout title parent subcategory description
page proxmox_virtual_environment_sdn_zone_simple Resources Virtual Environment Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.

Resource: proxmox_virtual_environment_sdn_zone_simple

Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.

Example Usage

resource "proxmox_virtual_environment_sdn_zone_simple" "example" {
  id    = "simple1"
  nodes = ["pve"]
  mtu   = 1500

  # Optional attributes
  dns         = "1.1.1.1"
  dns_zone    = "example.com"
  ipam        = "pve"
  reverse_dns = "1.1.1.1"
}

Schema

Required

  • id (String) The unique identifier of the SDN zone.
  • nodes (Set of String) The Proxmox nodes which the zone and associated VNets should be deployed on

Optional

  • dns (String) DNS API server address.
  • dns_zone (String) DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
  • ipam (String) IP Address Management system.
  • mtu (Number) MTU value for the zone.
  • reverse_dns (String) Reverse DNS API server address.

Import

Import is supported using the following syntax:

#!/usr/bin/env sh
# Simple SDN zone can be imported using its unique identifier (zone ID)
terraform import proxmox_virtual_environment_sdn_zone_simple.example simple1