Fetch Site-to-Site VPN customer gateway information
mainUse the scaleway_s2s_vpn_customer_gateway data source to retrieve details about an existing Scaleway Site-to-Site VPN customer gateway. You can look up a gateway using either its unique ID or its name.
Note: Customer Gateway IDs are regional and follow the format {region}/{id} (e.g., fr-par/11111111-1111-1111-1111-111111111111).
# Get info by gateway ID
data "scaleway_s2s_vpn_customer_gateway" "my_gateway" {
customer_gateway_id = "11111111-1111-1111-1111-111111111111"
}
# Get info by name
data "scaleway_s2s_vpn_customer_gateway" "my_gateway" {
name = "foobar"
}