You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
v0.10.7
Affected Resource(s)
Please list the resources as a list, for example:
google_compute_disk
google_compute_instance
Terraform Configuration Files
resource "google_compute_disk" "disk" {
name = "disk"
type = "pd-standard"
zone = "europe-west1-b"
size = "50"
image = "debian-cloud/debian-8"
}
resource "google_compute_instance" "vm" {
name = "vm"
machine_type = "n1-standard-1"
zone = "europe-west1-b"
From what I saw there : hashicorp/terraform#15077, GCP provider support resize of disk without delete/recreate the instance.
Actual Behavior
When i re-run the script with size = "70". The VM is deleted and recreated.
GCP is able to resize the disk on the fly even boot disk so I expect to have the size increased but without deleting re-creating the VM.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Mar 30, 2020
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
v0.10.7
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
resource "google_compute_disk" "disk" {
name = "disk"
type = "pd-standard"
zone = "europe-west1-b"
size = "50"
image = "debian-cloud/debian-8"
}
resource "google_compute_instance" "vm" {
name = "vm"
machine_type = "n1-standard-1"
zone = "europe-west1-b"
boot_disk {
source ="${google_compute_disk.disk.self_link}"
}
network_interface {
subnetwork = "default"
}
service_account {
scopes = ["userinfo-email", "compute-ro", "storage-ro"]
}
min_cpu_platform="Intel Skylake"
}
Expected Behavior
From what I saw there : hashicorp/terraform#15077, GCP provider support resize of disk without delete/recreate the instance.
Actual Behavior
When i re-run the script with size = "70". The VM is deleted and recreated.
GCP is able to resize the disk on the fly even boot disk so I expect to have the size increased but without deleting re-creating the VM.
Steps to Reproduce
References
hashicorp/terraform#15077
The text was updated successfully, but these errors were encountered: