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

Resize VMs disk wthout it recreation

Open pisohaka opened this issue 4 years ago • 6 comments

Do you have plans to modify the yandex_compute_instance resource so when boot_disk.initialize_params.size is changed the boot_disk would not be recreated? If we add yandex_compute_disk and use it in yandex_compute_instance resource boot_disk.disk_id - we have to stop and start VM manually when changing VMs disk size

pisohaka avatar Oct 15 '20 08:10 pisohaka

Thank for posting this.

Did you try using allow_stopping_for_update flag for your yandex_compute_instance resource?

apilikov avatar Feb 01 '21 07:02 apilikov

We are working on the issue. Once it is resolved you'll get notified. Thank you.

apilikov avatar Feb 08 '21 08:02 apilikov

Just accidently destroyed VM after changing boot_disk size. (used EC2 for some time and forgot about this feature in yandex-cloud terraform provider)

ei-grad avatar May 09 '22 06:05 ei-grad

up

ash16888 avatar Dec 12 '22 10:12 ash16888

up

aceqbaceq avatar Mar 10 '23 23:03 aceqbaceq

up

denisvll avatar Jun 30 '23 12:06 denisvll