resource "infoblox_ipv4_network" "ipv4net" {
parent_cidr = var.parent_cidr
allocate_prefix_len = local.new_cidr_length
comment = var.comment
ext_attrs = local.extended_attributes
}
output "gateway" {
description = "The IP of the CIDR block gateway"
value = infoblox_ipv4_network.ipv4net.gateway
}
When using version 2.0.1 the gateway would be output with the first IP in the network. Version 2.2.0 returns gateway="".
In addition v2.2.0 in this case does dot set the reservation for the gateway in infoblox (v2.0.1 did create the IP reservation).
also importing existing networks created by v2.0.1 (following deletion of state file) using the code snippet in the problem resources leads to "gateway": null in the state file
resource "infoblox_ipv4_network" "ipv4net" { parent_cidr = var.parent_cidr allocate_prefix_len = local.new_cidr_length comment = var.comment ext_attrs = local.extended_attributes } output "gateway" { description = "The IP of the CIDR block gateway" value = infoblox_ipv4_network.ipv4net.gateway }
When using version 2.0.1 the gateway would be output with the first IP in the network. Version 2.2.0 returns gateway="". In addition v2.2.0 in this case does dot set the reservation for the gateway in infoblox (v2.0.1 did create the IP reservation).
also importing existing networks created by v2.0.1 (following deletion of state file) using the code snippet in the problem resources leads to "gateway": null in the state file