kiranchavala commented on issue #72:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/72#issuecomment-1978593625

   @vdombrovski 
   
   I have cross-checked the issue and disk resize is happening when you use a 
custom disk offering
   
   ![Screenshot 2024-03-05 at 5 24 01 
PM](https://github.com/apache/cloudstack-terraform-provider/assets/1401014/dee7763c-e127-4db8-812b-9404010d4f55)
   
   
   
   Terraform is performing the  resize operation :
   
   ```
     # cloudstack_disk.test-disk will be updated in-place
     ~ resource "cloudstack_disk" "test-disk" {
           id                 = "d5a695d5-7bd7-46f8-b63f-be81152584bf"
           name               = "test-disk"
         ~ size               = 5 -> 10
           tags               = {}
           # (6 unchanged attributes hidden)
       }
   ```
       
       
   
   Please make sure to use a custom disk offering
   
   ```
   resource "cloudstack_disk" "default" {
     name               = "test-disk"
     attach             = "true"
     disk_offering      = "custom"
     size               = 50
     virtual_machine_id = "server-1"
     zone               = "zone-1"
   }
   ```


-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to