page_title | subcategory | description |
---|---|---|
cloudavenue_edgegateway_dhcp_forwarding Resource - cloudavenue |
Edge Gateway (Tier-1) |
The cloudavenue_edgegateway_dhcp_forwarding resource allows you to manage DHCP Forwarding for an Edge Gateway. |
The cloudavenue_edgegateway_dhcp_forwarding
resource allows you to manage DHCP Forwarding for an Edge Gateway.
resource "cloudavenue_edgegateway_dhcp_forwarding" "example" {
edge_gateway_id = data.cloudavenue_edgegateway.example.id
dhcp_servers = [
"192.168.10.10"
]
}
data "cloudavenue_edgegateway" "example" {
name = "myEdgeName"
}
~> Warning
dhcp_servers
attribute can be updated only if enabled
attribute is set to true
.
dhcp_servers
(Set of String) IP addresses of the DHCP servers. Set or change the IP addresses is allowed only when the DHCP Forwarding is enable. Set must contain at least 1 elements. Set must contain at most 8 elements.
edge_gateway_id
(String) (ForceNew) The ID of the Edge Gateway. Ensure that one and only one attribute from this collection is set :edge_gateway_name
,edge_gateway_id
.edge_gateway_name
(String) (ForceNew) The name of the Edge Gateway. Ensure that one and only one attribute from this collection is set :edge_gateway_name
,edge_gateway_id
.enabled
(Boolean) Enable or disable DHCP Forwarding for the Edge Gateway. Value defaults totrue
.
id
(String) The ID of the DHCP Forwarding.
Import is supported using the following syntax:
# use the name to import the edge gateway dhcp forwarding
terraform import cloudavenue_edgegateway_dhcp_forwarding.example EdgeGatewayNameOrID