Skip to content
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

Feature Request: Allow custom status choices #542

Open
sirance opened this issue Jan 25, 2024 · 0 comments
Open

Feature Request: Allow custom status choices #542

sirance opened this issue Jan 25, 2024 · 0 comments

Comments

@sirance
Copy link

sirance commented Jan 25, 2024

Hi there,

Currently field choices appear to be validated against a hard coded list. It would be great if they could instead be validated against a list obtained from the netbox api. This would then support the use of custom field choices. I believe this can be obtained via the api as documented here

An example use case for this is for the IP Range resource. We have added a DHCP status choice, so we can document our DHCP pools. However we can't add these via terraform as the status validation currently fails.

Thanks!

@sirance sirance changed the title Feature Request: Allow custom field choices Feature Request: Allow custom status choices Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant