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

Allow specifying browser runtime environment for Synthetics Scripted Browser

Open PhilippTreupel opened this issue 2 years ago • 1 comments

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.

PhilippTreupel avatar Jun 27 '22 15:06 PhilippTreupel

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.

mbazhlekova avatar Jun 27 '22 19:06 mbazhlekova

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.

bearfoot avatar Aug 19 '22 09:08 bearfoot

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).

badeball avatar Aug 19 '22 13:08 badeball

I am also eagerly awaiting an update. Thanks in advance.

Emmet-McGuire avatar Aug 19 '22 14:08 Emmet-McGuire

Runtime configuration is now available using newrelic_synthetics_script_monitor.

thomazfohr avatar Aug 29 '22 15:08 thomazfohr

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.

kidk avatar Aug 29 '22 15:08 kidk