Terraform: Support for Google Cloud Router for VPN

Created on 6 Jul 2016  ยท  6Comments  ยท  Source: hashicorp/terraform

Currently Terraform only supports GCP VPNs using static routing. I'd like to request an enhancement to support the Google Cloud Router which adds support for dynamic routing via BGP.

https://cloud.google.com/compute/docs/cloudrouter
https://cloud.google.com/compute/docs/reference/latest/routers

enhancement providegoogle-cloud

Most helpful comment

Would definitely love to see cloud router and dynamic BGP routing options. While these resources aren't critical when it comes to maintaining Infrastructure as code their absence leaves a gaping hole.

All 6 comments

I am also looking for this functionality in order to create full redundancy via BGP. In addition, the static VPN gateway has some deficiencies with CHILD_SA compatibility. I'll need to use an alternate platform if Terraform doesn't have plans to implement.

@codyrat Is the issue you're seeing with CHILD_SA's on the Terraform side, or on the Google side? If it's the Terraform side you may wish to open a separate issue with details so it can get fixed (and doesn't get lost in this enhancement request).

Would definitely love to see cloud router and dynamic BGP routing options. While these resources aren't critical when it comes to maintaining Infrastructure as code their absence leaves a gaping hole.

This is now supported as of 0.9.6.

Here is an example:

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

Fixed in #12411.

Thanks, @drebes !

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

radeksimko picture radeksimko  ยท  80Comments

glenjamin picture glenjamin  ยท  112Comments

mirogta picture mirogta  ยท  74Comments

gwagner picture gwagner  ยท  81Comments

shubhambhartiya picture shubhambhartiya  ยท  72Comments