How do I use a variable with an AWS query??
There does not seem to documentation on the query syntax, mearly examples.
Im trying to do the following:
API_ID=$(aws apigateway get-rest-apis --query 'items[?name == `${API_NAME}`] | [0].{id: id}' --output text)
The problem is that ${API_NAME} is read literally. Any ideas?