0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-30 07:15:39 +00:00

Merge branch 'main' into datasource-containers

This commit is contained in:
k69420s 2025-08-10 21:49:47 +02:00 committed by GitHub
commit 2e2fcac1ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 11 additions and 114 deletions

View File

@ -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,

View File

@ -205,6 +205,7 @@
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/twentybit"><img src="https://avatars.githubusercontent.com/u/60849886?v=4?s=100" width="100px;" alt="Ryan W"/><br /><sub><b>Ryan W</b></sub></a><br /><a href="https://github.com/bpg/terraform-provider-proxmox/commits?author=twentybit" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kam193"><img src="https://avatars.githubusercontent.com/u/8472271?v=4?s=100" width="100px;" alt="Kamil Mańkowski"/><br /><sub><b>Kamil Mańkowski</b></sub></a><br /><a href="https://github.com/bpg/terraform-provider-proxmox/commits?author=kam193" title="Code">💻</a></td>
</tr>
</tbody>
<tfoot>

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -523,7 +523,7 @@ func Container() *schema.Resource {
},
},
},
MaxItems: 8,
MaxItems: maxNetworkInterfaces,
MinItems: 0,
},
mkInitializationUserAccount: {