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

Add support for network endpoint groups #2263

Closed
morgante opened this issue Oct 16, 2018 · 9 comments
Closed

Add support for network endpoint groups #2263

morgante opened this issue Oct 16, 2018 · 9 comments
Assignees

Comments

@morgante
Copy link

morgante commented Oct 16, 2018

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

We should add support for creating and managing network endpoint groups via Terraform.

REST API: https://cloud.google.com/compute/docs/reference/rest/beta/networkEndpointGroups/

New or Affected Resource(s)

  • google_compute_network_endpoint_group
  • google_compute_network_endpoint

Potential Terraform Configuration

google_compute_network_endpoint_group "mine" {
  name = "my-neg"
  description = "new-neg"
  network = "${google_compute_network.mine.selfLink}"
  subnetwork = "${google_compute_subnetwork.mysubnet.selfLink}"
  defaultPort = "90"
}

google_compute_network_endpoint "vm1" {
  endpoint_group = "${google_compute_network_endpoint_group.mine.id}"
  instance = "${google_compute_instance.mine.name}"
  port = "100"
  ipAddress = "192.167.3.10"
}
@josiahp
Copy link

josiahp commented Dec 28, 2018

This has been assigned to "modular-magician" for a few months yet but has yet to be autogenerated (I assume that means using the REST API to dynamically generate some terraform implementation?) Is there something I could do to help? I'm using network endpoint groups currently and I'd really like to manage them with terraform.

@danawillow
Copy link
Contributor

Hey @josiahp, sorry that it's taking so long! The code is all ready to go, but there's an issue with the API itself that I'm waiting to get fixed. Once the holidays are over, I'll ping that team again to see if they have an ETA.

@boxrick
Copy link

boxrick commented Mar 6, 2019

@danawillow Hello! Did this ever get fixed?

@danawillow
Copy link
Contributor

The issue with the API got fixed, but I haven't finished the resource yet. I'm taking a break from Terraform until late April, and I have it on my plate for when I get back.

@bukzor
Copy link

bukzor commented Mar 22, 2019

@danawillow is there a work-in-progress branch that we can toy with?

@danawillow
Copy link
Contributor

danawillow commented Mar 24, 2019

Sure- danawillow/magic-modules@25fe50d (https://github.com/danawillow/magic-modules/tree/tf-2263). It'll need to be rebased on master, and there may have been changes to what gets put in the terraform.yaml file or the example, but you can go from there. https://github.com/GoogleCloudPlatform/magic-modules has more information on how to generate Terraform code with Magic Modules.

@danawillow
Copy link
Contributor

@emilymye this can be closed now, right?

@danawillow
Copy link
Contributor

Pretty sure there's nothing left to do here, but feel free to open if I'm mistaken.

@ghost
Copy link

ghost commented Jul 29, 2019

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 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jul 29, 2019
@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-networking-neg labels Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants