I wanted to find out how other people use the AZURE_CONFIG_DIR
environment variable1 and I came across a rather ingenious way2 to not rely on JQ3 for working with JSON in simpler use cases:
|
|
This is wholly unnecessary when working Azure CLI as that already has the --query
option for defining a JMESPath4 query, but could still be useful nonetheless in more constrained environments.