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

details changes are not beeing applied

Open sbrueseke opened this issue 2 years ago • 4 comments

when an instance is using a custom offering and you change cpu and/or memory in details parameter terraform apply shows the change but the instance itself not. Even if instance is shutdown to scale it, it does not work.

Config: resource "cloudstack_instance" "VM1" { name = "TERRAFORMVM1" service_offering = "custom" template = id network_id = id zone = "zone1" expunge = true root_disk_size = 10 details = {"cpuNumber" = "1", "memory" = "1024"} }

Do a terraform apply and the instance will be created with cpu and memory from config. Now edit one or both of them and do a terraform apply again. terraform is showing the changes and says is has been successfully finished, but the instance on CS still has the old values.

sbrueseke avatar Apr 27 '23 09:04 sbrueseke