How to get unique values ​​in an array in jmespath request?

In an aws cli jmespath query, for example, with the output ["a","a","b","a","b"] , how to extract unique values ​​to get ["a","b"] ?

+5
source share
1 answer

Unfortunately, this is currently not possible in jmespath.

+7
source

All Articles