I'm looking for syntax like:
aws ec2 describe-security-groups --instance-id i-0xyz
however, the above sub-command doesn't support --instance-id parameter.
I've checked and there are --filters and --query parameters, but I'm not sure about the syntax.
What would be the easiest way to display the description of the security group of the instance?
parse error: Invalid numeric literal at line 1, column 13. I suspect there is some "unanticipated" line in my cli output. – CODE-REaD Dec 20 '21 at 22:24--output=jsonon the command line caused the prescribed invocation to operate correctly. – CODE-REaD Dec 21 '21 at 19:03