input.json
{
"Stack": {
"KeypairNameB651C0C1": "key-0123456abcdefg",
"AsgNameA7D05B90": "my-asg-name"
}
}
The key names could vary, but will always begin with a set string
Similar question here but want to somehow get the value based on a select(startswith("AsgName"))
for the key
Is this possible with jq?