terraform-provider-logicmonitor icon indicating copy to clipboard operation
terraform-provider-logicmonitor copied to clipboard

Inherited properties not picked up by data source filters

Open clarkm5 opened this issue 7 years ago • 1 comments

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.

clarkm5 avatar Aug 07 '18 16:08 clarkm5

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

pyang55 avatar Aug 07 '18 17:08 pyang55