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,560 points

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,940 points
+1 vote
1 answer

How is VPC Security Group different than a DB Security Group?

There are 3 different security groups that ...READ MORE

answered Nov 20, 2018 in AWS by Rishav Ram
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,940 points
0 votes
1 answer