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

Added netbox_location datasource #467

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

w87x
Copy link
Contributor

@w87x w87x commented Sep 11, 2023

Added netbox_location datasource
Added filtering by location_id and rack_id for netbox_device

@fbreckle
Copy link
Collaborator

Please add tests for the new datasource. See other singular datasources for examples. If you need help, ping me.

Danil Tolkalin and others added 2 commits September 13, 2023 10:11
@fbreckle
Copy link
Collaborator

fbreckle commented Sep 13, 2023

I implemented the test and found a bug. Hooray for tests!

@fbreckle fbreckle merged commit 929d110 into e-breuninger:master Sep 13, 2023
twink0r pushed a commit to twink0r/terraform-provider-netbox that referenced this pull request Sep 15, 2023
* Added netbox_location datasource
Added filtering by location_id and rack_id

* test: Add tests for location datasource

* fix(test): Use correct attribute for site_id in location datasource

---------

Co-authored-by: Danil Tolkalin <dtolkalin@t1-cloud.ru>
Co-authored-by: Fabian Breckle <fabian.breckle@breuninger.de>
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

Successfully merging this pull request may close these issues.

2 participants