infobloxopen / terraform-provider-infoblox

Infoblox NIOS Terraform Provider
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
67 stars 73 forks source link

Ability to put exclude or network range with ip allocation #310

Open ravithinknyx opened 1 year ago

ravithinknyx commented 1 year ago

While trying to allocate IP to create host record can we have ability to put exclude ip ranges we dont want or is not allowed .

eg

Exclude specific IP addresses when acquiring next

avaiable IP from a network CIDR

resource "infoblox_ip" "excludedIPAddress" { cidr = "10.0.0.0/24"

exclude = [ "10.0.0.1", "10.0.0.2"

etc.

] }

Acquire free IP address from within a specific

range of addresses

resource "infoblox_ip" "ipAddressFromRange" { ip_range = "10.0.0.20-10.0.0.60" }

I dont see any example or feature in the module . The above is coming from

https://github.com/prudhvitella/terraform-provider-infoblox

I see that in Ansible module for infoblox we have the exclude ip feature