terraform-provider-newrelic
terraform-provider-newrelic copied to clipboard
Allow specifying browser runtime environment for Synthetics Scripted Browser
Feature Description
Please add a parameter to the resource newrelic_synthetics_monitor
for defining the browser runtime environment for the monitor type SCRIPT_BROWSER
. Currently you can select Chrome 100
or Chrome 72 (Legacy)
via the New Relic UI.
Hi @PhilippTreupel 👋 this work is currently in progress as we migrate Synthetics to the new API. It will be out with v3 of the Provider expected this summer.
Hello, this highly expected since my scripts are only compatible with Chrome 100, I need manual manipulation on each terraform apply which is quite annoying.
Seconded. A new runtime has been sought-after for a while and it's frustrating to await adaptation due unrelated refactoring without any ETA («this summer» is unfortunately meaningless for practical purposes).
I am also eagerly awaiting an update. Thanks in advance.
Runtime configuration is now available using newrelic_synthetics_script_monitor.
Well spotted @thomazfohr The V3 release is indeed out which supports the latest runtime. You can find a migration guide here: https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/guides/migration_guide_v3
We have some documentation changes in pipeline which should be released this week. I think this might be relevant for whoever wants to start playing with it.
runtime_type_version = "100"
runtime_type = "CHROME_BROWSER"
script_language = "JAVASCRIPT"
I'm going to close this ticket as the functionality has been released, but feel free to continue the discussion.