1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- 已提問 6 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前