-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removing runbook_url from newrelic_nrql_alert_condition has no effect #2332
Comments
Hi @lauri-paypay , thanks for reporting this issue. We've been able to reproduce this issue based on the steps you've described, and it looks like the NerdGraph API isn't updating the
We shall take this up based on priority, and get it fixed. Thank you! |
Hi @pranav-new-relic, thanks for the response. I am not sure the problem is with the API: I tested manually mutating my condition to set runbook_url to null via GraphiQL as follows:
and it seems that successfully removes the url. |
One more note: setting |
Hi @lauri-paypay, The fix for the issue reported has been rolled out in our latest Terraform provider release version (v3.23.0). Could you please verify and confirm if the issue is resolved and works as expected with the latest release ? Thanks ! |
Confirmed, the problem is gone in v3.23.0. Thank you! |
Terraform Version
Affected Resource(s)
newrelic_nrql_alert_condition
Terraform Configuration
Steps to Reproduce
terraform apply
sed -i '' /runbook_url/d main.tf
terraform apply
terraform apply
Actual Behavior
On step 3, terraform states it will remove
runbook_url
from the resource.However, nothing changes on server side: the old
runbook_url
remains. That can be verified by rerunningterraform apply
(step 4) which shows the same change as step 3. I also verified via the NerdGraph API that the resource in question still hasrunbook_url
set tohttps://example.com/
after this.Expected Behavior
The removal of
runbook_url
should happen on server side.Debug Output
Available upon request; I can't share it publicly.
The text was updated successfully, but these errors were encountered: