Terraform-provider-google: Feature Request: support regional google instance group managers

Created on 13 Jun 2017  ·  12Comments  ·  Source: hashicorp/terraform-provider-google

_This issue was originally opened by @mschroeder223 as hashicorp/terraform#8866. It was migrated here as part of the provider split. The original body of the issue is below._


The GCP docs and ui allow for the creation of regional (multi-zone) instance group managers.

After looking through the source I believe this actually tracks back to a limitation with the current google compute api library. In the current v1 only InstanceGroupManagersInsertCall exists, which in the beta v0.beta an additional set of calls for RegionInstanceGroupManagersInsertCall has been added.

InstanceGroupManagersInsertCall in v1 (stable)
https://code.googlesource.com/google-api-go-client/+/master/compute/v1/compute-gen.go#21873

RegionInstanceGroupManagersInsertCall in v0.beta
https://code.googlesource.com/google-api-go-client/+/master/compute/v0.beta/compute-gen.go#37848

Are there any current workarounds for this?

enhancement

Most helpful comment

Multi-zone instance group manager will be supported in our next release. Yay! :)

All 12 comments

Any update on this?

I believe @zachgersh was working on this. Zach, are you still working on this or should we fork your PR and continue that way?

Desperately need this to be supported by Terraform. Any chance it will make it into upcoming release?

Multi-zone instance group manager will be supported in our next release. Yay! :)

thanks @rosbo

@rosbo i dont see this feature yet in current release v0.11.7 When is the expected release of this feature?
Thanks
Shankar

@shankarkc it works from version 1.0.0 of google provider, see Features in this changelog

You provided Terraform version while providers are separated from main Terraform binary. What you should check is google provider version.

@zbikmarc is correct. The feature was released on October 2nd 2017.

@zbikmarc / @rosbo
I have below libaries under .terraform folder

 Directory of C:\AI\provision\gcp\cluster\.terraform\plugins\windows_amd64

04/27/2018  10:27 AM    <DIR>          .
04/27/2018  10:27 AM    <DIR>          ..
05/02/2018  04:13 PM               244 lock.json
04/27/2018  10:26 AM        33,184,256 terraform-provider-google_v1.10.0_x4.exe
04/27/2018  10:27 AM        11,751,936 terraform-provider-random_v1.2.0_x4.exe
04/27/2018  10:27 AM        11,774,976 terraform-provider-template_v1.0.0_x4.exe

They looked latest. But when i use region = "${var.region} it throws error saying its not valid for google_compute_instance_group_manager I looked at terraform documentation It doesnt show this option either. can you pls clarify why its not available though i have 1.+ google provider as shown?

Hi,

You need to use the google_compute_region_instance_group_manager resource.

https://www.terraform.io/docs/providers/google/r/compute_region_instance_group_manager.html

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 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings