Allows for the allocation of an IP address or next available IP address from a network while creating a host record.
Attributes
| Attribute | Required/Optional | Description | Example |
|---|---|---|---|
configuration |
Optional | The name of the BlueCat Configuration to be used for the allocating the IP address and host record. If this is not supplied, the Gateway default configuration name is used. | terraform_demo |
view |
Optional | The view that contains the details of the zone. If this is not supplied, the Gateway default view name is used. | Internal |
zone |
Optional | The zone that contains the host record to be allocated. | bluecatnetworks.com |
name |
Required | The name of the IP address or host record. | webapp.bluecatnetworks.com |
network |
Required | The network address in CIDR format. | 10.0.0.0/24 |
ip_address |
Optional | The IP address to allocate to the host record. If this is not supplied, the next available IP address in the network is allocated. | 10.0.0.12 |
mac_address |
Optional | The MAC address of the host record. | 11:22:33:44:55:66 |
action |
Optional | The desired IP address state. The state is one of the following:
|
MAKE_STATIC |
template |
Optional | The IPv4 Template to assign to the address. | IPv4Template |
ip_version |
Optional | Options are ivp4 and ipv6. If
left blank, ipv4 will be used. |
ipv4 |
depends_on |