newrelic / terraform-provider-newrelic

Terraform provider for New Relic
https://registry.terraform.io/providers/newrelic/newrelic/latest/docs
Mozilla Public License 2.0
200 stars 244 forks source link

Please add ignore time range to query dashboard variables #2609

Closed dmurphyfa closed 3 months ago

dmurphyfa commented 3 months ago

Feature Description

In the UI it is possible to select ignore time range when creating a dashboard query variable, but it is not possible via the TF provider. This also defaults to true when created via TF which leads to an incomplete list of options vs what would be expected for the time range

Describe Alternatives

Currently you must manually unselect this after every deploy of a dashboards to disable this behaviour

Additional context

Screenshot 2024-03-20 at 09 49 53

pranav-new-relic commented 3 months ago

Hi @dmurphyfa, changes for this have been made and have recently been merged (and are awaiting a release). We shall keep you posted when the change is out. Thank you for reaching out.

dmurphyfa commented 3 months ago

Oh great! Thank you for the quick reply!

pranav-new-relic commented 3 months ago

@dmurphyfa this could be the fastest we've closed an issue/reached resolution - coincidentally because your ask was in alignment with the timelines of our development for this :)

We've just released v3.33.0 of the Terraform Provider which includes a new options field for variables that includes ignore_time_range which helps perform what we've discussed in this thread. Please check it out. Thanks for reporting!