bluecat_ipv4network 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 IPv4 Network in Address Manager.

Attributes
Attribute Required/Optional Description Example
configuration Optional The name of the BlueCat Configuration that contains the Network. If this is not supplied, the Gateway default configuration name is used. Terraform_demo
name Optional The name of the 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 Options are ivp4 and ipv6. If left blank, ipv4 will be used. ipv4
properties Optional The properties of the 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_ipv4network" "toronto_network" {
  configuration="Terraform_demo"
  name="Server Farm"
  cidr="10.0.0.0/24"
}

output "id" {
  value = data.bluecat_ipv4network.toronto_network
}

output "cidr" {
  value = data.bluecat_ipv4network.toronto_network.cidr
}