diff --git a/.all-contributorsrc b/.all-contributorsrc index cb780f44..a09bab71 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1452,6 +1452,15 @@ "contributions": [ "doc" ] + }, + { + "login": "kam193", + "name": "Kamil Mańkowski", + "avatar_url": "https://avatars.githubusercontent.com/u/8472271?v=4", + "profile": "https://github.com/kam193", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 94c285d8..64ea4d4a 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -205,6 +205,7 @@ Ryan W
Ryan W

📖 + Kamil Mańkowski
Kamil Mańkowski

💻 diff --git a/proxmox_virtual_environment_sdn_zone_evpn/data-source.tf b/proxmox_virtual_environment_sdn_zone_evpn/data-source.tf deleted file mode 100644 index 2b70ab68..00000000 --- a/proxmox_virtual_environment_sdn_zone_evpn/data-source.tf +++ /dev/null @@ -1,23 +0,0 @@ -data "proxmox_virtual_environment_sdn_zone_evpn" "example" { - id = "evpn1" -} - -output "data_proxmox_virtual_environment_sdn_zone_evpn" { - value = { - id = data.proxmox_virtual_environment_sdn_zone_evpn.example.id - nodes = data.proxmox_virtual_environment_sdn_zone_evpn.example.nodes - controller = data.proxmox_virtual_environment_sdn_zone_evpn.example.controller - vrf_vxlan = data.proxmox_virtual_environment_sdn_zone_evpn.example.vrf_vxlan - advertise_subnets = data.proxmox_virtual_environment_sdn_zone_evpn.example.advertise_subnets - disable_arp_nd_suppression = data.proxmox_virtual_environment_sdn_zone_evpn.example.disable_arp_nd_suppression - exit_nodes = data.proxmox_virtual_environment_sdn_zone_evpn.example.exit_nodes - exit_nodes_local_routing = data.proxmox_virtual_environment_sdn_zone_evpn.example.exit_nodes_local_routing - primary_exit_node = data.proxmox_virtual_environment_sdn_zone_evpn.example.primary_exit_node - rt_import = data.proxmox_virtual_environment_sdn_zone_evpn.example.rt_import - mtu = data.proxmox_virtual_environment_sdn_zone_evpn.example.mtu - dns = data.proxmox_virtual_environment_sdn_zone_evpn.example.dns - dns_zone = data.proxmox_virtual_environment_sdn_zone_evpn.example.dns_zone - ipam = data.proxmox_virtual_environment_sdn_zone_evpn.example.ipam - reverse_dns = data.proxmox_virtual_environment_sdn_zone_evpn.example.reverse_dns - } -} diff --git a/proxmox_virtual_environment_sdn_zone_qinq/data-source.tf b/proxmox_virtual_environment_sdn_zone_qinq/data-source.tf deleted file mode 100644 index 26f448c1..00000000 --- a/proxmox_virtual_environment_sdn_zone_qinq/data-source.tf +++ /dev/null @@ -1,18 +0,0 @@ -data "proxmox_virtual_environment_sdn_zone_qinq" "example" { - id = "qinq1" -} - -output "data_proxmox_virtual_environment_sdn_zone_qinq" { - value = { - id = data.proxmox_virtual_environment_sdn_zone_qinq.example.id - nodes = data.proxmox_virtual_environment_sdn_zone_qinq.example.nodes - bridge = data.proxmox_virtual_environment_sdn_zone_qinq.example.bridge - service_vlan = data.proxmox_virtual_environment_sdn_zone_qinq.example.service_vlan - service_vlan_protocol = data.proxmox_virtual_environment_sdn_zone_qinq.example.service_vlan_protocol - mtu = data.proxmox_virtual_environment_sdn_zone_qinq.example.mtu - dns = data.proxmox_virtual_environment_sdn_zone_qinq.example.dns - dns_zone = data.proxmox_virtual_environment_sdn_zone_qinq.example.dns_zone - ipam = data.proxmox_virtual_environment_sdn_zone_qinq.example.ipam - reverse_dns = data.proxmox_virtual_environment_sdn_zone_qinq.example.reverse_dns - } -} diff --git a/proxmox_virtual_environment_sdn_zone_simple/data-source.tf b/proxmox_virtual_environment_sdn_zone_simple/data-source.tf deleted file mode 100644 index 452cb88f..00000000 --- a/proxmox_virtual_environment_sdn_zone_simple/data-source.tf +++ /dev/null @@ -1,15 +0,0 @@ -data "proxmox_virtual_environment_sdn_zone_simple" "example" { - id = "simple1" -} - -output "data_proxmox_virtual_environment_sdn_zone_simple" { - value = { - id = data.proxmox_virtual_environment_sdn_zone_simple.example.id - nodes = data.proxmox_virtual_environment_sdn_zone_simple.example.nodes - mtu = data.proxmox_virtual_environment_sdn_zone_simple.example.mtu - dns = data.proxmox_virtual_environment_sdn_zone_simple.example.dns - dns_zone = data.proxmox_virtual_environment_sdn_zone_simple.example.dns_zone - ipam = data.proxmox_virtual_environment_sdn_zone_simple.example.ipam - reverse_dns = data.proxmox_virtual_environment_sdn_zone_simple.example.reverse_dns - } -} diff --git a/proxmox_virtual_environment_sdn_zone_vlan/data-source.tf b/proxmox_virtual_environment_sdn_zone_vlan/data-source.tf deleted file mode 100644 index a1f0f9e4..00000000 --- a/proxmox_virtual_environment_sdn_zone_vlan/data-source.tf +++ /dev/null @@ -1,16 +0,0 @@ -data "proxmox_virtual_environment_sdn_zone_vlan" "example" { - id = "vlan1" -} - -output "data_proxmox_virtual_environment_sdn_zone_vlan" { - value = { - id = data.proxmox_virtual_environment_sdn_zone_vlan.example.id - nodes = data.proxmox_virtual_environment_sdn_zone_vlan.example.nodes - bridge = data.proxmox_virtual_environment_sdn_zone_vlan.example.bridge - mtu = data.proxmox_virtual_environment_sdn_zone_vlan.example.mtu - dns = data.proxmox_virtual_environment_sdn_zone_vlan.example.dns - dns_zone = data.proxmox_virtual_environment_sdn_zone_vlan.example.dns_zone - ipam = data.proxmox_virtual_environment_sdn_zone_vlan.example.ipam - reverse_dns = data.proxmox_virtual_environment_sdn_zone_vlan.example.reverse_dns - } -} diff --git a/proxmox_virtual_environment_sdn_zone_vxlan/data-source.tf b/proxmox_virtual_environment_sdn_zone_vxlan/data-source.tf deleted file mode 100644 index 2ca035e4..00000000 --- a/proxmox_virtual_environment_sdn_zone_vxlan/data-source.tf +++ /dev/null @@ -1,16 +0,0 @@ -data "proxmox_virtual_environment_sdn_zone_vxlan" "example" { - id = "vxlan1" -} - -output "data_proxmox_virtual_environment_sdn_zone_vxlan" { - value = { - id = data.proxmox_virtual_environment_sdn_zone_vxlan.example.id - nodes = data.proxmox_virtual_environment_sdn_zone_vxlan.example.nodes - peers = data.proxmox_virtual_environment_sdn_zone_vxlan.example.peers - mtu = data.proxmox_virtual_environment_sdn_zone_vxlan.example.mtu - dns = data.proxmox_virtual_environment_sdn_zone_vxlan.example.dns - dns_zone = data.proxmox_virtual_environment_sdn_zone_vxlan.example.dns_zone - ipam = data.proxmox_virtual_environment_sdn_zone_vxlan.example.ipam - reverse_dns = data.proxmox_virtual_environment_sdn_zone_vxlan.example.reverse_dns - } -} diff --git a/proxmox_virtual_environment_sdn_zones/data-source.tf b/proxmox_virtual_environment_sdn_zones/data-source.tf deleted file mode 100644 index a84abd4c..00000000 --- a/proxmox_virtual_environment_sdn_zones/data-source.tf +++ /dev/null @@ -1,25 +0,0 @@ -# List all SDN zones -data "proxmox_virtual_environment_sdn_zones" "all" {} - -# List only EVPN zones -data "proxmox_virtual_environment_sdn_zones" "evpn_only" { - type = "evpn" -} - -# List only Simple zones -data "proxmox_virtual_environment_sdn_zones" "simple_only" { - type = "simple" -} - -output "data_proxmox_virtual_environment_sdn_zones_all" { - value = { - zones = data.proxmox_virtual_environment_sdn_zones.all.zones - } -} - -output "data_proxmox_virtual_environment_sdn_zones_filtered" { - value = { - evpn_zones = data.proxmox_virtual_environment_sdn_zones.evpn_only.zones - simple_zones = data.proxmox_virtual_environment_sdn_zones.simple_only.zones - } -} diff --git a/proxmoxtf/resource/container/container.go b/proxmoxtf/resource/container/container.go index d54fe07a..3b675d21 100644 --- a/proxmoxtf/resource/container/container.go +++ b/proxmoxtf/resource/container/container.go @@ -523,7 +523,7 @@ func Container() *schema.Resource { }, }, }, - MaxItems: 8, + MaxItems: maxNetworkInterfaces, MinItems: 0, }, mkInitializationUserAccount: {