Add Descriptions to authorize-security-group-ingress CloudShell command #8480
Unanswered
mpetersen71
asked this question in
Q&A
Replies: 1 comment
-
I was able to do the same thing with the Description by using the --ip-permissions option: aws ec2 authorize-security-group-ingress --group-id $SECURITY_GROUP_ID --ip-permissions "IpProtocol=tcp,FromPort=135,ToPort=135,IpRanges=[{CidrIp=10.0.0.0/8,Description="Allow Remote Procedure Call RPC on 10. (TCP/135)"}]" --no-cli-pager Since this is not very "Command Line Friendly" - any plans on simply adding a --description option to the aws ec2 authorize-security-group-ingress command? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to Standardize on our Security Groups across all of our AWS accounts and am having trouble trying to add descriptions to the Rules. Here is an example of what I am trying:
aws ec2 authorize-security-group-ingress --group-id $SECURITY_GROUP_ID --protocol tcp --port 135 --cidr 10.0.0.0/8 --description "Allow Remote Procedure Call RPC on 10. (TCP/135)"
Apparently there is no --description option?? If this is so, how do you add a description when creating the Rule in CloudShell?
Beta Was this translation helpful? Give feedback.
All reactions