terraform-provider-lxd icon indicating copy to clipboard operation
terraform-provider-lxd copied to clipboard

Failed updating memory limit: Cannot increase memory size beyond boot time size when VM is running

Open Hybrid512 opened this issue 6 months ago • 1 comments

Hi,

The title summurize my issue ... it is not possible to change memory size when a VM is running with terraform. I understand this is not possible to do it live (and even if I know this is technically possible with LXD but ok, rebooting an instance to change its memory setting doesn't hurt) but why triggering an error about that ? Why not just change the memory settings and let the user reboot by hand ? Or maybe force the instance to reboot if the user agree (maybe with just some new attribute in the instance definition or lifecycle management).

Well, this is not blocking in any way but it is quite annoying.

Hybrid512 avatar Aug 14 '24 09:08 Hybrid512