-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Labels
Description
Terraform allows for the filtering of data sources: https://www.terraform.io/docs/configuration/data-sources.html
The baremetal provider does not support this feature.
$ terraform apply
1 error(s) occurred:
* data.baremetal_core_subnets.filter_fails: : invalid or unknown key: filter
Being able to limit the scope of the response from a data source would make the resulting information much more valuable.
Some of the underlying resources already support a version of filtering which is implemented in the data source resource, such as images. But others, such as subnets, do not.
A simple example demonstrating expected usage, which results in the error above, is attached.