GoogleCloudPlatform / terraform-google-managed-instance-group

Modular Google Compute Engine managed instance group for Terraform.
Apache License 2.0
63 stars 138 forks source link

adding second disk #31

Open sagivle opened 6 years ago

sagivle commented 6 years ago

hi is it possible to use terraform-google-managed-instance-group and have a second disk attached to the instances?

SpencerSharkey commented 5 years ago

We'd like to see this feature too, but I believe some current limitations of the HCL and modules prevent this from becoming a reality.

Unfortunately, I think the best bet is to wait for terraform 0.12 to hit stable so we can use dynamic blocks to define disks via a map of disk configs.

For now, we got around this by forking the repo and copying/pasting it around for different disk configurations. Definitely not our idea of an ideal solution, but it works for now as we eagerly await 0.12.