Search code examples
amazon-web-servicesaws-clijmespath

How can I get unique values in array in a jmespath query?


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


Solution

  • Unfortunately this is not currently possible in jmespath.