Open bluemalkin opened 6 years ago
In addition with Local IP ranges, I cannot add more than 1 range.
Invalid value for field 'resource.localTrafficSelector': ''. Multiple traffic selectors are not supported for IKEv1
However this appears to be a GCP limitation, not terraform, hence it would be great to add Local subnetworks support.
The request is regarding support for the localSubnetworks
field in computeVpnTunnel
resource. It is possible using the gCloud console but isn't supported via Terraform.
While going through the documentation to configure tunnel, I found that we can add localSubnetworks but couldn't find the field representing the same in API Docs.
Even if the value is set using a console, as there are no fields in the API supporting it, we won't be able to fetch it via GET.
The localTrafficSelector allows only a single value, it cannot be changed because that is the GCP Behavior.
Hence, in order to support localSubnetworks
using Terraform, it needs to be supported via API.
b/262349088
Affected Resource(s)
Terraform version
Description
The resource
google_compute_vpn_tunnel
doesn't support selecting a list of local subnetworks which you can do via the GCP console.local_traffic_selector
only supports a list of network ranges and renders:Since I use
secondary_ip_range
on mygoogle_compute_subnetwork
resources, I need to self_link to them rather than adding manually all the ranges.