terraform-provider-proxmox: In v3.0.1-rc6 release network block macaddr value converts from upper to lower case
Seems it is related with: https://github.com/Telmate/terraform-provider-proxmox/pull/1139
Adding resources:
+ network {
+ bridge = "vmbr0"
+ firewall = false
+ id = 0
+ link_down = false
+ macaddr = "AC:15:11:99:D5:11"
+ model = "virtio"
+ tag = 1111
}
Removing resources:
- network {
- bridge = "vmbr0" -> null
- firewall = false -> null
- id = 0 -> null
- link_down = false -> null
- macaddr = "ac:15:11:99:d5:11" -> null
- model = "virtio" -> null
- mtu = 0 -> null
- queues = 0 -> null
- rate = 0 -> null
- tag = 1111 -> null
}
I have some macaddr manipulations after VM provisioning (with provisioner "local-exec") and due to this change this action fails:
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for terraform_data.* to include new values learned so far during apply, provider "terraform.io/builtin/terraform" produced an invalid new value for .triggers_replace[0]: was
│ cty.StringVal("AC:15:11:99:D5:11"), but now cty.StringVal("ac:15:11:99:d5:11").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (6 by maintainers)
@maksimsamt, thank you for verifying and all the help with the permission issue. I know what to revert, just nor sure yet why.
@maksimsamt the only meaningful change is on line 788 in the qemu code. We used to set pool through the vmref, but now through the vm config. As far as I’m aware should that do the exact same. Gonna check upstream what is causing this.
@maksimsamt gonna try to figure out if i can preserve the format when returning it.
I’ll add it to RC7.