Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.18 KB

File metadata and controls

60 lines (48 loc) · 2.18 KB
page_title subcategory description
solidserver_ip6_address Resource - SOLIDserver
IPv6 address resource allows to create and manage reserved addresses for specific devices, apps or users. More importantly it allows to store useful meta-data for both tracking and automation purposes.

solidserver_ip6_address (Resource)

IPv6 address resource allows to create and manage reserved addresses for specific devices, apps or users. More importantly it allows to store useful meta-data for both tracking and automation purposes.

Example Usage

resource "solidserver_ip6_address" "myFirstIP6Address" {
  space   = "${solidserver_ip_space.myFirstSpace.name}"
  subnet  = "${solidserver_ip6_subnet.myFirstIP6Subnet.name}"
  name    = "myfirstip6address"
  device  = "${solidserver_device.myFirstDevice.name}"
  class   = "AWS_VPC_ADDRESS"
  class_parameters = {
    interfaceid = "eni-d5b961d5"
  }
}

// When using IPv6-MAC association, consider using the lifecycle property on the associated IPv6 address for statefull management of the MAC address.
resource "solidserver_ip6_address" "myFirstIP6Address" {
  space   = "${solidserver_ip_space.myFirstSpace.name}"
  subnet  = "${solidserver_ip6_subnet.myFirstIP6Subnet.name}"
  name    = "myfirstip6address"
  lifecycle {
    ignore_changes = ["mac"]
  }
}

Schema

Required

  • name (String) The short name or FQDN of the IPv6 address to create.
  • space (String) The name of the space into which creating the IPv6 address.
  • subnet (String) The name of the subnet into which creating the IPv6 address.

Optional

  • class (String) The class associated to the IPv6 address.
  • class_parameters (Map of String) The class parameters associated to the IPv6 address.
  • device (String) Device Name to associate with the IPv6 address (Require a 'Device Manager' license).
  • mac (String) The MAC Address of the IPv6 address to create.
  • pool (String) The name of the pool into which creating the IPv6 address.
  • request_ip (String) The optionally requested IPv6 address.

Read-Only

  • address (String) The provisionned IPv6 address.
  • id (String) The ID of this resource.