Resource newrelic_workload
: Workload Resource rule
fails without nrql_query
#2751
Labels
newrelic_workload
: Workload Resource rule
fails without nrql_query
#2751
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
1.5.7
Affected Resource(s)
newrelic_workload
Terraform Configuration
Actual Behavior
Rule should apply when at least one of entity_guids or nrql_query is specified. However if you don't specify nrql_query it fails with the following message:
Expected Behavior
It should apply without failing
Steps to Reproduce
Setup workload resource as per Terraform doc. Create a rule with entity_guids and nrql_query. Apply and it will work fine. If you then remove nrql_query block from the rule it will fail.
The text was updated successfully, but these errors were encountered: