This repository has been archived by the owner on Dec 17, 2020. It is now read-only.
Issues #25 - Utilize Network Allocate Function #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!