1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Looking at the AWS CLI documentation, there is no "--description" option.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/authorize-security-group-ingress.html
So you need to use a command like the following.
aws ec2 authorize-security-group-ingress --group-id sg-1111111111 --ip-permissions FromPort=3306,IpProtocol=tcp,IpRanges="[{"CidrIp"="1.1.1.1/32","Description"="test"}]",ToPort=3306
Relevant content
- Accepted Answerasked 2 years ago
- asked 7 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago