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