Skip to content

Commit a73ab00

Browse files
authored
improve(doc): add configuration to allow the instances to access internet (#1247)
Signed-off-by: rodesousa <[email protected]>
1 parent e20ff09 commit a73ab00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/resources/vpc_gateway_network.md

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ resource "scaleway_vpc_public_gateway_ip" "gw01" {
2222
2323
resource "scaleway_vpc_public_gateway_dhcp" "dhcp01" {
2424
subnet = "192.168.1.0/24"
25+
push_default_route = true
2526
}
2627
2728
resource "scaleway_vpc_public_gateway" "pg01" {
@@ -34,6 +35,8 @@ resource "scaleway_vpc_gateway_network" "main" {
3435
gateway_id = scaleway_vpc_public_gateway.pg01.id
3536
private_network_id = scaleway_vpc_private_network.pn01.id
3637
dhcp_id = scaleway_vpc_public_gateway_dhcp.dhcp01.id
38+
cleanup_dhcp = true
39+
enable_masquerade = true
3740
}
3841
```
3942

0 commit comments

Comments
 (0)