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

Support Routing Mode in net-swp module #2624

Open
a200462790 opened this issue Oct 15, 2024 · 4 comments
Open

Support Routing Mode in net-swp module #2624

a200462790 opened this issue Oct 15, 2024 · 4 comments

Comments

@a200462790
Copy link

Describe the bug
A new field(routing_mode) has been rolled out in the network services gateway terraform resource:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/network_services_gateway#routing_mode

This is a feature request to add it to the net-swp module.

@juliocc
Copy link
Collaborator

juliocc commented Oct 16, 2024

According to your link, this field has only one allowed value SECURE_WEB_GATEWAY. Is this right?

@a200462790
Copy link
Author

a200462790 commented Oct 17, 2024

The routing mode only has one allowed value(NEXT_HOP_ROUTING_MODE), although strangely I think the API allows 2(EXPLICIT_ROUTING_MODE).
https://cloud.google.com/secure-web-proxy/docs/deploy-next-hop

If not specified it defaults to EXPLICIT. Though, im not sure the provider supports specifying EXPLICIT

@ludoo
Copy link
Collaborator

ludoo commented Oct 24, 2024

Closing this, feel free to reopen once/if provider support is implemented.

@ludoo ludoo closed this as completed Oct 24, 2024
@a200462790
Copy link
Author

@ludoo the provider does support

  1. Not setting the routing mode(which gets defaulted to EXPLICIT_ROUTING_MODE)
  2. setting the routing mode to NEXT_HOP_ROUTING_MODE

The fabric module does not support 2. Id like to re-open to add support for 2.

@ludoo ludoo reopened this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants