-
-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
✨ enhancementNew feature or requestNew feature or requestpriority:P2Medium priorityMedium prioritytopic:sdn
Description
Is your feature request related to a problem? Please describe.
Currently, if I use a single resource (VNET) I have to use two proxmox_virtual_environment_sdn_applier resources (applier and finalizer).
Describe the solution you'd like
As applying takes long time, I would prefer skip using those and just "auto-apply" during the creation and destruction.
Describe alternatives you've considered
Using proxmox_virtual_environment_sdn_applier which is costly.
Additional context
resource "proxmox_virtual_environment_sdn_vnet" "vnet" {
id = format("vnet%s", terraform_data.vlan.output)
zone = local.zone
isolate_ports = false
tag = tonumber(terraform_data.vlan.output)
vlan_aware = true
depends_on = [
proxmox_virtual_environment_sdn_applier.vnet_finalizer,
]
}
resource "proxmox_virtual_environment_sdn_applier" "vnet_finalizer" {
}
resource "proxmox_virtual_environment_sdn_applier" "vnet_applier" {
depends_on = [
proxmox_virtual_environment_sdn_vnet.vnet,
]
lifecycle {
replace_triggered_by = [
proxmox_virtual_environment_sdn_vnet.vnet,
]
}
}Metadata
Metadata
Assignees
Labels
✨ enhancementNew feature or requestNew feature or requestpriority:P2Medium priorityMedium prioritytopic:sdn
Projects
Status
Done