bluecat_ipv6network data source - Adaptive Plugins - BlueCat Gateway - 2.2.1

BlueCat Terraform Plugin Administration Guide

ft:locale
en-US
Product name
BlueCat Gateway
Version
2.2.1

This data source allows for the retrieval of information and attributes for an IPv6 Network in Address Manager.

Attributes
Attribute Required/Optional Description Example
configuration Optional The name of the BlueCat Configuration that contains the IPv4/IPv6 Network. If this is not supplied, the Gateway default configuration name is used. Terraform_demo
name Optional The name of the IPv4/IPv6 Network. Server Farm
cidr Required The network address in CIDR format. 10.0.0.0/24
gateway Optional The IP address reserved for the gateway address. By default, the first IP address of the network is reserved as the gateway address. 10.0.0.1
ip_version Optional The value ipv6 must be used here. ipv6
properties Optional The properties of the IPv4/IPv6 Network. attribute=value
allowed_property_keys Optional Defines a list of alternative properties to be returned by the data source. ["propertyName", "propertyName2"]
Example
data "bluecat_ipv6network" "toronto_ipv6_network" {
  configuration="terraform_demo"
  ip_version="ipv6"
  cidr="2003:1000::/65"
}
output "toronto_ipv6_network_id" {
  value = data.bluecat_ipv6network.toronto_ipv6_network.id
}
output "toronto_ipv6_network_cidr" {
  value = data.bluecat_ipv6network.toronto_ipv6_network.cidr
}