hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

Add support for detaching and reattaching boot disks instances for google_compute_instance #4663

Open chefbc opened 4 years ago

chefbc commented 4 years ago

Community Note

Description

Hello, Looking to implement detach-reattach-boot-disk gcp feature similar to compute_attached_disk that is already implemented.

https://cloud.google.com/compute/docs/disks/detach-reattach-boot-disk https://www.terraform.io/docs/providers/google/r/compute_attached_disk.html

New or Affected Resource(s)

References

https://cloud.google.com/compute/docs/disks/detach-reattach-boot-disk https://www.terraform.io/docs/providers/google/r/compute_attached_disk.html

Chupaka commented 4 years ago

So, looks like we simply need boot parameter exposed for google_compute_attached_disk - it's in API but not in the resource.

AarshDhokai commented 1 year ago

b/262698959

AarshDhokai commented 1 year ago