terraform-provider-proxmox
terraform-provider-proxmox copied to clipboard
vga changed on second run with unchanged source
Discussed in https://github.com/bpg/terraform-provider-proxmox/discussions/1221
Originally posted by xoxys April 18, 2024 Hi,
I have a template created with packer. After the initial vm resource creation from this template with terraform-provider-proxmox
I re-run opentofu, and it always detects a change even if the definition of this resource has not changed:
OpenTofu will perform the following actions:
# module.pve_server.proxmox_virtual_environment_vm.server["chromia"] will be updated in-place
~ resource "proxmox_virtual_environment_vm" "server" {
id = "106"
name = "chromia.rknet.org"
tags = [
"os_redhat",
"provisioner_terraform",
"service_k3s-pve",
"type_k3s-node",
"zone_lan",
]
# (26 unchanged attributes hidden)
- vga {
- enabled = true -> null
- memory = 0 -> null
}
# (10 unchanged blocks hidden)
}
Is this a bug, or am I doing something wrong?
same for me
Fixed in #1328 for #1231