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

HA option in google_compute_vpn_gateway #3625

Closed
selslack opened this issue May 15, 2019 · 6 comments
Closed

HA option in google_compute_vpn_gateway #3625

selslack opened this issue May 15, 2019 · 6 comments
Assignees

Comments

@selslack
Copy link

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

GCP supports Cloud VPN HA configuration: https://cloud.google.com/vpn/docs/concepts/topologies#configurations_that_support_9999_availability.

When using Terraform's google_compute_vpn_gateway, there's no option to create such gateway.

Since IPs are allocated automatically with this option enabled, the resource should have an output of newly allocated IPs.

New or Affected Resource(s)

  • google_compute_vpn_gateway

Potential Terraform Configuration

# Propose what you think the configuration to take advantage of this feature should look like.
# We may not use it verbatim, but it's helpful in understanding your intent.
@ghost ghost added the enhancement label May 15, 2019
@selslack
Copy link
Author

I've found this (for reference): GoogleCloudPlatform/magic-modules#1760.

@slevenick
Copy link
Collaborator

slevenick commented May 15, 2019

Hey @selslack

As you found in that Magic Modules PR I'm currently working on generating a new google_compute_ha_vpn_gateway resource for the HA VPN Gateway.

This option is preferred because the API that supports the HA VPN Gateway is separate from the one that supports Target VPN Gateway (which is what the current google_compute_vpn_gateway uses)

I'll leave this issue open until we support the HA functionality

@slevenick
Copy link
Collaborator

Important note: the HA VPN Gateway resource is currently in beta, so this feature will be first made available in https://github.com/terraform-providers/terraform-provider-google-beta

@slevenick
Copy link
Collaborator

This is available via the google_compute_ha_vpn_gateway resource introduced in GoogleCloudPlatform/magic-modules#1760

Currently this is only available in the beta provider.

@tobiaskohlbau
Copy link

tobiaskohlbau commented May 29, 2019

Hello,

as far as I could read there exists no option to create an external vpn gateway with ha mode from the terraform-provider-google-beta (called externalVpnGateways within the beta API). Are there any plans to support this beta feature as well?

@ghost
Copy link

ghost commented Jun 23, 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 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 23, 2019
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

4 participants