You'll get an error like below and dashboard won't be synced:
Warning CannotObserveExternalResource 2m38s (x21 over 17m) managed/oss.grafana.crossplane.io/v1alpha1, kind=dashboard cannot run refresh: refresh failed: Invalid reference: A reference to a resource type must be followed by at least one attribute access, specifying the resource name.
Invalid reference: A reference to a resource type must be followed by at least one attribute access, specifying the resource name.
If you change in configJson ${env} to something then everything is OK (but you won't have dynamic datasource in panel)
You'll get an error like below and dashboard won't be synced:
If you change in configJson ${env} to
something
then everything is OK (but you won't have dynamic datasource in panel)