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 21, 2018 in AWS by Jino
• 5,820 points
1,155 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 21, 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
• 58,020 points
13,066 views
+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
2,779 views
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
• 58,020 points
10,124 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP