I have defined a dashboard using newrelic_dashboard. It has already been applied and exists in NR One. I then defined newrelic_entity and newrelic_entity_tags resources for this dashboard. I have the “name” for the newrelic_entity set to the title for the dashboard, since dashboards don’t have a name attribute. I set the domain to APM and the type to DASHBOARD, but the terraform provider returns the following error (where XXXX is my dashboard’s title).
Error: the name ‘XXXX’ does not match any New Relic One entity for the given search parameters
I wasn’t sure if the domain was supposed to be APM, so I tried every other possible option for that attribute, and they all give me the same error. It must be possible to set up a newrelic_entity (and associated tags) for a dashboard because DASHBOARD is one of the options for type on newrelic_entity. What am I doing wrong?