Monday, April 26, 2021

AWS Test

The article demonstrate how to interaction with AWS service by using CLI application

This command is to list the security group, displaying security group name and group ID

c:\>aws ec2 --profile testec2 describe-security-groups --query “SecurityGroups[*].{Name:GroupName,ID:GroupId}”