-
Notifications
You must be signed in to change notification settings - Fork 47
Description
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.