logicmonitor / terraform-provider-logicmonitor

Terraform LogicMonitor provider.
https://registry.terraform.io
Mozilla Public License 2.0
24 stars 16 forks source link

Inherited properties not picked up by data source filters #9

Open clarkm5 opened 6 years ago

clarkm5 commented 6 years ago

Given a parent device group P with the property

"environment": "my_environment"

and a child device group C that inherits the environment property,

I would expect to be able to do the following:

data "logicmonitor_device_group" "some_name" { filters { custom_property_name = "environment" custom_property_value = "some_environment" operator = ":" } }

but this only works if the properties are also specifically applied to C rather than inherited.

pyang55 commented 6 years ago

@clarkm5 thank you for the input, i can put in a fix for this soon