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,550 points
50 views

1 answer to this question.

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,160 points
25 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,160 points
1,226 views
0 votes
1 answer