I started this as a separate resource called infoblox_network_allocation following the naming convention of the infoblox_ip_allocation. The file is essentially a copy of the infoblox_network resource, so I there could be some improvements and consolidation that could happen. I am just not sure exactly how as I am new to provider development.
Since the new provider is affectively using the same functions and the network create provider for Delete, Update, and Read functions, it would probably make more sense to use the function in the infoblox_network provider instead of rewriting them in this provider since they would essentially be the same.
I have some done some testing with this, and it seems to work fine. If you would like for me to write a go test for it as well, I can work on that too.
Fixes #25
I started this as a separate resource called
infoblox_network_allocation
following the naming convention of theinfoblox_ip_allocation
. The file is essentially a copy of theinfoblox_network
resource, so I there could be some improvements and consolidation that could happen. I am just not sure exactly how as I am new to provider development.Since the new provider is affectively using the same functions and the network create provider for Delete, Update, and Read functions, it would probably make more sense to use the function in the
infoblox_network
provider instead of rewriting them in this provider since they would essentially be the same.I have some done some testing with this, and it seems to work fine. If you would like for me to write a go test for it as well, I can work on that too.
Any feedback you might have will be appreciated!