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

Monitors and connections should document template variables

Open mccartney opened this issue 4 years ago • 0 comments

In sumologic_monitor resources you can use special variables, e.g. {{NumQueryResults}}. It's hard to guess their names.

They should:

  • either be documented inline at https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/resources/monitor
  • or at least a link to https://help.sumologic.com/Visualizations-and-Alerts/Alerts/Monitors/Template_Variables should be provided

=====

Similarly when using sumologic_connection it's hard to guess all the variables one can use: {{SearchQueryUrl}} or {{TimeRange}}. They should be documented too.

mccartney avatar Dec 14 '20 23:12 mccartney