smutel / terraform-provider-netbox

Terraform provider for Netbox
ISC License
58 stars 19 forks source link

feat: Add filter to JSON data sources #175

Closed jgrexa closed 1 year ago

jgrexa commented 1 year ago

Fixes https://github.com/smutel/terraform-provider-netbox/issues/176

Add possibility to filter JSON datasources.

For example:

data "netbox_json_ipam_prefixes_list" "test" {
  limit = 0
  filter {
    name = "foo"
    value = "bar"
  }
  filter {
    name = "foo_n"
    value = "barbar" 
}
smutel commented 1 year ago

Could you please fixup your commits with the message "feat: Add filter to JSON data sources".
Could you please also create an issue linked to this PR.

Thanks.

jgrexa commented 1 year ago

Title updated & issue created.