Error: Unknown Option: group, security

0 votes

I am trying to create a security group using AWS CLI and am getting an error.

aws ec2 create-security-group --group-name my-sg1 --description My security group
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help

Unknown options: group, security
Nov 20, 2018 in AWS by Jino
• 5,520 points
48 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hello @Jino,

This is a simple syntax error you have here. Description will be in 'quotes'

aws ec2 create-security-group --group-name my-sg1 --description "My security group"
answered Nov 20, 2018 by Nabarupa

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

Do you get charged for a security group in AWS EC2?

There is no charge applicable to Security ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 56,140 points
20 views
+1 vote
1 answer
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 56,140 points
1,018 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.