bluecat_ipv6block 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 the following information for an IPv6 Block in Address Manager.

Attributes
Attribute Required/Optional Description Example
configuration Optional The name of the BlueCat Configuration that contains the IPv6 Block. If this is not supplied, the Gateway default configuration name is used. Terraform_demo
name Required The name of the IPv6 Block. Server Farm
parent_block Optional The CIDR of the block as a parent block. Specify this field to retrieve the child block. The parent_block must be in CIDR format. 10.0.0.0/8
cidr Required The CIDR of the IPv6 Block. 10.0.0.0/24
ip_version Optional The value ipv6 must be used here. ipv6
properties Optional The properties of the IPv4 Block. attribute=value
allowed_property_keys Optional Defines a list of alternative properties to be returned by the data source. ["propertyName", "propertyName2"]
Example
data "bluecat_ipv6_block" "toronto_ipv6_block" {
  configuration="terraform_demo"
  ip_version="ipv6"
  cidr="2003:1000::/65"
}

output "toronto_ipv6_block_data" {
  value = data.bluecat_ipv6block.toronto_ipv6_block
}

output "toronto_ipv6_block_id" {
  value = data.bluecat_ipv6block.toronto_ipv6_block.id
}