Skip to content

Commit 9669d4c

Browse files
authored
doc: add a warning about push_default_route for scaleway_vpc_public_gateway_dhcp (#2879)
1 parent 5dfb307 commit 9669d4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/resources/vpc_public_gateway_dhcp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ page_title: "Scaleway: scaleway_vpc_public_gateway_dhcp"
55

66
# Resource: scaleway_vpc_public_gateway_dhcp
77

8+
9+
810
Creates and manages Scaleway VPC Public Gateway DHCP configurations.
911
For more information, see [the documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).
1012

@@ -31,6 +33,9 @@ The following arguments are supported:
3133
- `renew_timer` - (Optional) After how long, in seconds, a renewal will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
3234
- `rebind_timer` - (Optional) After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
3335
- `push_default_route` - (Optional) Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to `true`.
36+
37+
~> **Warning**: If you need to setup a default route, it's recommended to use the [`scaleway_vpc_gateway_network`](vpc_gateway_network.md#create-a-gatewaynetwork-with-ipam-configuration) resource instead.
38+
3439
- `push_dns_server` - (Optional) Whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution. Defaults to `true`.
3540
- `dns_servers_override` - (Optional) Override the DNS server list pushed to DHCP clients, instead of the gateway itself.
3641
- `dns_search` - (Optional) Additional DNS search paths

0 commit comments

Comments
 (0)