terraform-provider-netbox
terraform-provider-netbox copied to clipboard
Feature request: Create netbox_location data source
Hi there,
The first thing is thank you for your Netbox provider version because it's very good and integration is very easy.
My question: Can you add "netbox_location" datasource on this provider ?
The puprose of this feature request is to find netbox Location resource by Name or/and Slug but without Name or Slug as Required, and passed the both in Optional. In this case you can use "Name" OR/AND "Slug" attribute.
I use e-breuninger/netbox provider in version 2.0.5.
Terraform Version
$ terraform -v
Terraform v1.2.8
on linux_amd64
+ provider registry.terraform.io/e-breuninger/netbox v2.0.7
Affected Resource(s)
Please list the resources as a list, for example:
- netbox_platform (Data Source)
Terraform Configuration Files
data "netbox_location" "location_a" {
slug = "location_A"
}
Thank you for your job on this provider.
Regards,