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
Thank you for opening an issue. In order to better assist you with your issue, we kindly ask to follow the template format and instructions. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests only. General usage questions submitted as issues will be closed and redirected to New Relic's Explorers Hub https://discuss.newrelic.com/c/build-on-new-relic/developer-toolkit.
Please include the following with your bug report
⚠️Important: Failure to include the following, such as omitting the Terraform configuration in question, may delay resolving the issue.
Your New Relic providerconfiguration (sensitive details redacted)
Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed. Terraform v0.14.2
Affected Resource(s)
Please list the resources as a list, for example:
newrelic_alerts_muting_rule
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
The text was updated successfully, but these errors were encountered:
jaymcgrath
changed the title
Terraform import of newrelic_alert_muting_rule resource results in crash
Terraform import of newrelic_alert_muting_rule resource without accountID results in crash
Feb 1, 2021
Hi there,
Thank you for opening an issue. In order to better assist you with your issue, we kindly ask to follow the template format and instructions. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests only. General usage questions submitted as issues will be closed and redirected to New Relic's Explorers Hub https://discuss.newrelic.com/c/build-on-new-relic/developer-toolkit.
Please include the following with your bug report
provider
configuration (sensitive details redacted)Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Terraform v0.14.2
Affected Resource(s)
Please list the resources as a list, for example:
newrelic_alerts_muting_rule
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration
Actual Behavior
trying to import an existing rule using
terraform import "newrelic_alert_muting_rule.bar" "123456"
results in a crash
Expected Behavior
We should get some sort of error indicating that the format was invalid (accountId missing)
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
rm terraform.tfstate
(to set up a situation where import of existing resource is necessary)Debug Output
<script src="https://gist.github.com/jaymcgrath/6fb48c7540059c2e56a5a7eabcfe8be8.js"></script>Version appears is 0.99, but this is a local version compiled from master w newrelic go client 0.56.1
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: