when rebuilding a boot disk it does not re attach. #20997
Labels
enhancement
forward/review
In review; remove label to forward
service/compute-instances
service/compute-pd
Community Note
Description
when rebuilding a boot disk it does not attach. terraform will detach and destroy, then rebuild the boot disk, but will not re attach the new one.
there is not flag on the google_compute_attached_disk to attach as boot.
New or Affected Resource(s)
google_compute_attached_disk
or
google_compute_instance
Potential Terraform Configuration
resource "google_compute_attached_disk" "boot_disks" {
device_name = boot_disk
disk = "projects/${var.project_id}/zones/${var.zone}/disks/disk_name"
instance = google_compute_instance.default.id
project = google_compute_instance.default.project
zone = google_compute_instance.default.zone
boot = true
}
References
No response
The text was updated successfully, but these errors were encountered: