amazon web services - List of instance which are attached to specific security group thru AWS CLI -
i need list of instances attached specific security group tried below
aws ec2 describe-instances --group-name abc \ --query 'reservations[].instances[].[instanceid], tags[?key==`applications`].value' \ --output table
but not giving me output.
i need following details:
- application
- application owner
- app owner
- security group id
- security group name
- attached instance
- port 20 open public
Comments
Post a Comment