Subject: | Net-Amazon-EC2-0.21 protocol error |
Date: | Fri, 26 Oct 2012 13:32:25 -0700 |
To: | bug-Net-Amazon-EC2 [...] rt.cpan.org |
From: | Peter Shipley <peter.shipley [...] gmail.com> |
sub authorize_security_group_ingress
there is a bug where it requires the CidrIP when
calling adding a rule to a security group based that references
another source security group.
The code enforces that a CidrIP used when specifying a the IpProtocol
when and GroupName
where this is an error if a GroupName is specified with CidrIP
which makes sense since the inclusion of a Group tale the place of the
Cidr when describing the source IP addrs
according to
http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AuthorizeSecurityGroupIngress.html
:
GroupName : Cannot be used when specifying a CIDR IP address
Amazon Elastic Compute Cloud
API