-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data resource uses hinting to search #3
Comments
@gradinDotCom The hint based search is definitely quirky and not optimal. I based my original workflow off of some internal PowerShell code we have. I don't want to break the existing data source, but adding a new data source for searchByObjectTypes seems like it might be useful. |
@gradinDotCom What if you set |
Modifying the data source should be a good method to get this. When I read the documentation resources on the Terraform site, I didn't get the impression that was an option. Is that an option today, or are you just thinking about an easy to solve it? |
@gradinDotCom You should be able to change the type on the existing bluecat_ip4_network-block-range to control what is returned. That said, I'm not sure how it will handle nested blocks. |
If you have a network which is built semantically on block divisions:
A hint-based search on a host (10.0.0.1) is always going to refer to the network when you may want one of the blocks instead.
Could the data resource be based upon the
searchByObjectTypes(cidr, type, 0, 1)
instead?The text was updated successfully, but these errors were encountered: