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
When applying the below plan, the below error was surfaced by Terraform.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# newrelic_nrql_alert_condition.foo will be updated in-place
~ resource "newrelic_nrql_alert_condition" "foo" {
~ account_id = ******* -> *******
id = "*******:*******"
name = "foo"
# (16 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
newrelic_nrql_alert_condition.foo: Modifying... [id=*******:*******]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to
│ newrelic_nrql_alert_condition.foo, provider
│ "provider[\"registry.terraform.io/newrelic/newrelic\"]" produced an
│ unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.
Expected Behavior
The resource should have been modified to use the new account ID.
Steps to Reproduce
Apply a plan to a newrelic_nrql_alert_condition resource that modifies its account_id value.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this @RobertoGraham, appreciate the detail. We shall take a look at this sometime, based on our current priority queue.
pranav-new-relic
changed the title
Cannot change account ID of newrelic_nrql_alert_condition resource.
Resource newrelic_nrql_alert_condition: Cannot change account ID of newrelic_nrql_alert_condition resource.
Jul 1, 2024
pranav-new-relic
changed the title
Resource newrelic_nrql_alert_condition: Cannot change account ID of newrelic_nrql_alert_condition resource.
Resource newrelic_nrql_alert_condition: Cannot change account ID of the resource.
Jul 1, 2024
Terraform Version
1.8.5
Affected Resource(s)
newrelic_nrql_alert_condition
Terraform Configuration
Actual Behavior
When applying the below plan, the below error was surfaced by Terraform.
Expected Behavior
The resource should have been modified to use the new account ID.
Steps to Reproduce
newrelic_nrql_alert_condition
resource that modifies itsaccount_id
value.The text was updated successfully, but these errors were encountered: