You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "rolatsch (via GitHub)" <gi...@apache.org> on 2026/01/20 11:44:50 UTC

[I] Provider does not allow dynamic scaling [cloudstack-terraform-provider]

rolatsch opened a new issue, #273:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/273

   Hello there,
   
   it seems like the provider does not allow dynamic scaling of instances. 
   Currently the provider calls `updateVirtualMachine` everytime something has changed on a `cloudstack_instance` resource. This updates the compute instance in CloudStack Management but does not change the actual VM.
   To actually change the VM `scaleVirtualMachine` must be called.
   
   The provider should check if `details.cpuNumber`, `details.cpuSpeed` or `details.memory` has changed and call `scaleVirtualMachine` prior to `updateVirtualMachine` or skip `updateVirtualMachine` at all when nothing else changed.
   
   Thank you for looking into this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org