You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
required_providers {
vault = {
source = "hashicorp/vault"
version = "3.20.1"
}
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
mysql = {
source = "petoju/mysql"
version = "3.0.43"
}
random = {
source = "hashicorp/random"
version = "3.5.1"
}
newrelic = {
source = "newrelic/newrelic"
version = "3.45.2"
}
}
What actually happened?
When trying to submit an high number of synthetics, it seems that state file is not properly updated by NR TF API. So if we try to add or modify existing checks, terraform apply returned this message randomly:
Error: BAD_REQUEST: Monitor name already exists.
│
│ with module.synthetics_scripted_browser["blablabla"].newrelic_synthetics_script_monitor.monitor,
│ on .terraform/modules/synthetics_scripted_browser/synthetics_api.tf line 1, in resource "newrelic_synthetics_script_monitor" "monitor":
│ 1: resource "newrelic_synthetics_script_monitor" "monitor" {
What should have happened?
Apply new synthetics configuration on NR UI
Steps to Reproduce
terraform plan -var-file newrelic-stg-euc1.tfvars -var="new_relic_account_id=xxxxxxx" -var="new_relic_api_key=xxxxx" -var="aws_account_name=xxxxx"
Error: BAD_REQUEST: Monitor name already exists.
│
│ with module.synthetics_scripted_browser["blablabla"].newrelic_synthetics_script_monitor.monitor,
│ on .terraform/modules/synthetics_scripted_browser/synthetics_api.tf line 1, in resource "newrelic_synthetics_script_monitor" "monitor":
│ 1: resource "newrelic_synthetics_script_monitor" "monitor" {
The text was updated successfully, but these errors were encountered:
Terraform Version
1.9.7
Affected Resource(s)
newrelic_synthetic_monitor
Terraform Configuration
Actual Behavior
required_providers {
vault = {
source = "hashicorp/vault"
version = "3.20.1"
}
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
mysql = {
source = "petoju/mysql"
version = "3.0.43"
}
random = {
source = "hashicorp/random"
version = "3.5.1"
}
newrelic = {
source = "newrelic/newrelic"
version = "3.45.2"
}
}
What actually happened?
When trying to submit an high number of synthetics, it seems that state file is not properly updated by NR TF API. So if we try to add or modify existing checks, terraform apply returned this message randomly:
Error: BAD_REQUEST: Monitor name already exists.
│
│ with module.synthetics_scripted_browser["blablabla"].newrelic_synthetics_script_monitor.monitor,
│ on .terraform/modules/synthetics_scripted_browser/synthetics_api.tf line 1, in resource "newrelic_synthetics_script_monitor" "monitor":
│ 1: resource "newrelic_synthetics_script_monitor" "monitor" {
What should have happened?
Apply new synthetics configuration on NR UI
Steps to Reproduce
terraform apply
-var-file newrelic-stg-euc1.tfvars -var="new_relic_account_id=xxxxxxx" -var="new_relic_api_key=xxxxx" -var="aws_account_name=xxxxx"Debug Output
Error: BAD_REQUEST: Monitor name already exists.
│
│ with module.synthetics_scripted_browser["blablabla"].newrelic_synthetics_script_monitor.monitor,
│ on .terraform/modules/synthetics_scripted_browser/synthetics_api.tf line 1, in resource "newrelic_synthetics_script_monitor" "monitor":
│ 1: resource "newrelic_synthetics_script_monitor" "monitor" {
The text was updated successfully, but these errors were encountered: