I have an AWS Cloudwatch RDS dashboard whose datasource is a variable passed in the query string. Like: https://(URL and other query params)&var-datasource=atlas
The issue is that for each panel, I also need to set the DBClusterIdentifier when changing data sources:
Using a template variable here seems the obvious solution. Something like: [[datasource]]-nonprod-um-aurora. But I have been unable to get this to work. What type of variable should I be using? Have tried several, but “Custom” seems like the one to use. When I put something like [[datasource]]-nonprod-um-aurora in the value or query field, I get that literally in the preview of values area. No interpolation of the datasource variable is taking place.
Do I have this completely wrong? Is it even possible (seems like it should be).