Variable Interpolation for CloudWatch Datasource

Hi ,

I have a variable dropdown , called instance, and the user can choose one or more. When searching in cloudwatch, multiple variables are stated as (var1 OR var2 OR varZ) . Currently, the closest format I got is by using :lucene format, however that throws an error in cloudwatch since the variable is interpolated as (“var1” OR “var2” OR “varZ”).

How can I achieve the above when using cloudwatch datasource?