Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.89 KB

edgegateway_dhcp_forwarding.md

File metadata and controls

53 lines (38 loc) · 1.89 KB
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.

cloudavenue_edgegateway_dhcp_forwarding (Resource)

The cloudavenue_edgegateway_dhcp_forwarding resource allows you to manage DHCP Forwarding for an Edge Gateway.

Example Usage

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.

Schema

Required

  • 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.

Optional

  • 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 to true.

Read-Only

  • id (String) The ID of the DHCP Forwarding.

Import

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