You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "sbrueseke (via GitHub)" <gi...@apache.org> on 2023/04/27 09:18:38 UTC

[GitHub] [cloudstack-terraform-provider] sbrueseke opened a new issue, #58: details changes are not beeing applied

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

   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.
   


-- 
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


Re: [I] details changes are not beeing applied [cloudstack-terraform-provider]

Posted by "CodeBleu (via GitHub)" <gi...@apache.org>.
CodeBleu commented on issue #58:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58#issuecomment-2532523259

   Wondering if this is also related - https://github.com/apache/cloudstack-terraform-provider/issues/149


-- 
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

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


Re: [I] details changes are not beeing applied [cloudstack-terraform-provider]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #58:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58#issuecomment-1978316336

   Able to reproduce the issue
   
   i belive this is because the terraform code (resourceCloudStackInstanceUpdate) doesn't have the details parameter
   
   https://github.com/apache/cloudstack-terraform-provider/blob/c8279b9ae5f45f29c16322ad21271e2325ec3d81/cloudstack/resource_cloudstack_instance.go#L488
   
   https://cloudstack.apache.org/api/apidocs-4.19/apis/updateVirtualMachine.html
   
   
   cc @vishesh92 


-- 
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

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


Re: [I] details changes are not beeing applied [cloudstack-terraform-provider]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #58: details changes are not beeing applied
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58


-- 
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

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


Re: [I] details changes are not beeing applied [cloudstack-terraform-provider]

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala closed issue #58: details changes are not beeing applied
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58


-- 
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

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


Re: [I] details changes are not beeing applied [cloudstack-terraform-provider]

Posted by "CodeBleu (via GitHub)" <gi...@apache.org>.
CodeBleu commented on issue #58:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58#issuecomment-2531808482

   @vishesh92 
   I'm still having this issue - https://github.com/apache/cloudstack-terraform-provider/issues/148


-- 
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

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


[GitHub] [cloudstack-terraform-provider] dseralathan commented on issue #58: details changes are not beeing applied

Posted by "dseralathan (via GitHub)" <gi...@apache.org>.
dseralathan commented on issue #58:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/58#issuecomment-1572352243

   please reboot the instance and u can see the changes ..


-- 
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

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