Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: support regional google instance group managers #45

Closed
hashibot opened this issue Jun 13, 2017 · 12 comments · Fixed by #394
Closed

Feature Request: support regional google instance group managers #45

hashibot opened this issue Jun 13, 2017 · 12 comments · Fixed by #394

Comments

@hashibot
Copy link

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?

@zbikmarc
Copy link
Contributor

zbikmarc commented Aug 7, 2017

Any update on this?

@danawillow
Copy link
Contributor

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

@timurshevekhman
Copy link

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

@mattes
Copy link

mattes commented Aug 31, 2017

work has been done in hashicorp/terraform#10907

@rosbo
Copy link
Contributor

rosbo commented Sep 9, 2017

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

@mattes
Copy link

mattes commented Sep 9, 2017

thanks @rosbo

@shankarkc
Copy link

shankarkc commented May 9, 2018

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

@zbikmarc
Copy link
Contributor

zbikmarc commented May 9, 2018

@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.

@rosbo
Copy link
Contributor

rosbo commented May 9, 2018

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

@shankarkc
Copy link

shankarkc commented May 10, 2018

@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?

@rosbo
Copy link
Contributor

rosbo commented May 10, 2018

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

@ghost
Copy link

ghost commented Nov 18, 2018

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!

@ghost ghost locked and limited conversation to collaborators Nov 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants