In the newrelic_synthetics_script_monitor resource, it seems that the value for locations_public is not being retrieved.
While creating and updating resources via Terraform works without any issues, any manual updates to the locations_public value from the Web UI do not reflect in Terraform, and therefore, no differences are outputted.
Additionally, when using the generate-config-out option with the import command, the locations_public is outputted as null. This leads me to believe that there is a bug preventing the actual value of locations_public from being retrieved.
Terraform Version
v1.9.8
newrelic v3.51.0
Affected Resource(s)
newrelic_synthetics_script_monitor
newrelicsynthetics* ?
Terraform Configuration
I checked with SCRIPT_API.
resource "newrelic_synthetics_script_monitor" "monitor" {
status = "ENABLED"
name = "script_monitor"
type = "SCRIPT_API"
locations_public = ["AP_SOUTH_1", "AP_EAST_1"]
period = "EVERY_6_HOURS"
script = "console.log('it works!')"
script_language = "JAVASCRIPT"
runtime_type = "NODE_API"
runtime_type_version = "16.10"
tag {
key = "some_key"
values = ["some_value"]
}
}
Actual Behavior
Differences in locations_public are not detected.
Expected Behavior
The locations_public value should be retrieved and any differences should be outputted.
Steps to Reproduce
Create or update a newrelic_synthetics_script_monitor resource via Terraform.
Manually update locations_public in the Web UI.
Run terraform plan and observe that no differences in locations_public are detected.
Hi there,
In the
newrelic_synthetics_script_monitor
resource, it seems that the value forlocations_public
is not being retrieved.While creating and updating resources via Terraform works without any issues, any manual updates to the
locations_public
value from the Web UI do not reflect in Terraform, and therefore, no differences are outputted.Additionally, when using the
generate-config-out
option with the import command, thelocations_public
is outputted as null. This leads me to believe that there is a bug preventing the actual value oflocations_public
from being retrieved.Terraform Version
Affected Resource(s)
Terraform Configuration
I checked with SCRIPT_API.
Actual Behavior
Differences in
locations_public
are not detected.Expected Behavior
The
locations_public
value should be retrieved and any differences should be outputted.Steps to Reproduce
newrelic_synthetics_script_monitor
resource via Terraform.locations_public
in the Web UI.terraform plan
and observe that no differences inlocations_public
are detected.