newrelic-quickstarts
newrelic-quickstarts copied to clipboard
unable to create dashboard using example in terraform
Basically I am copying this dashboard: https://github.com/newrelic/newrelic-quickstarts/blob/main/dashboards/confluent-cloud/confluent-cloud.json
And then replacing the accountId with my unique accountId from NR. I've also inserted my accountId in the "accountIDs" array at the bottom of the file. I have confirmed it is valid json. Here's the error I am getting on running terraform apply:
newrelic_one_dashboard_json.cc_dashboard: Creating... ╷ │ Error: Argument "dashboard" has invalid value $dashboard. │ In field "facet": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "dataFormatters": Unknown field. │ In field "facet": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "facet": Unknown field. │ In field "legend": Unknown field. │ In field "nrqlQueries": Unknown field. │ In field "platformOptions": Unknown field. │ In field "units": Unknown field. │ In field "yAxisLeft": Unknown field. │ In field "permissions": Expected type "DashboardPermissions!", found "". │ │ with newrelic_one_dashboard_json.cc_dashboard, │ on main.tf line 137, in resource "newrelic_one_dashboard_json" "cc_dashboard": │ 137: resource "newrelic_one_dashboard_json" "cc_dashboard" { │ ╵