jtopjian / terraform-provider-sensu

A Terraform provider for Sensu Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Support "silenced" top-level attribute for check resource

paulchoi opened this issue · comments

Add support for silenced top-level attribute.

Description says: Silences that apply to the check.

https://docs.sensu.io/sensu-go/6.3/observability-pipeline/observe-schedule/checks/#top-level-attributes

@paulchoi The sensu rest client function used to retrieve a check doesn't provide this attribute.

The RestClient use the FetchCheck function, which return the corev2 CheckConfig type with no field Silenced.

The Silenced field is in type Check and it is not used by the rest client.