You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates and manages GatewayNetworks (connections between a Public Gateway and a Private Network).
9
9
10
-
It allows the attachment of Private Networks to Public Gateways and DHCP configurations.
11
-
For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
10
+
It allows the attachment of Private Networks to Public Gateways.
11
+
For more information, see [the API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#step-3-attach-private-networks-to-the-vpc-public-gateway).
12
12
13
13
## Example Usage
14
14
@@ -80,71 +80,20 @@ resource scaleway_vpc_gateway_network main {
-`gateway_id` - (Required) The ID of the Public Gateway.
139
88
-`private_network_id` - (Required) The ID of the Private Network.
140
-
-`dhcp_id` - (Required) The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
141
-
-`enable_masquerade` - (Defaults to true) Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
142
-
-`enable_dhcp` - (Defaults to true) Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
143
-
-`cleanup_dhcp` - (Defaults to false) Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
144
-
-`static_address` - Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
145
89
-`ipam_config` - Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service). Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
146
-
-`push_default_route` - Defines whether to enable the default route on the GatewayNetwork.
147
-
-`ipam_ip_id` - Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
90
+
-`push_default_route` - Defines whether to enable the default route on the GatewayNetwork.
91
+
-`ipam_ip_id` - Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
92
+
-`enable_masquerade` - (Defaults to true) Whether masquerade (dynamic NAT) should be enabled on this GatewayNetwork
93
+
-`dhcp_id` - (Deprecated) Please use `ipam_config`. The ID of the Public Gateway DHCP configuration. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
94
+
-`enable_dhcp` - (Deprecated) Please use `ipam_config`. Whether a DHCP configuration should be enabled on this GatewayNetwork. Requires a DHCP ID.
95
+
-`cleanup_dhcp` - (Deprecated) Please use `ipam_config`. Whether to remove DHCP configuration on this GatewayNetwork upon destroy. Requires DHCP ID.
96
+
-`static_address` - (Deprecated) Please use `ipam_config`. Enable DHCP configration on this GatewayNetwork. Only one of `dhcp_id`, `static_address` and `ipam_config` should be specified.
148
97
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the gateway network should be created.
~> **Important:** The resource `scaleway_vpc_public_gateway_dhcp` has been deprecated and will no longer be supported. In 2023, DHCP functionality was moved from Public Gateways to Private Networks, DHCP resources are now no longer needed.
9
+
8
10
Creates and manages Scaleway VPC Public Gateway DHCP configurations.
9
11
For more information, see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#dhcp-c05544).
0 commit comments