test ip_ranges when authorizing security group ingress rules
This commit is contained in:
parent
b82507e41b
commit
b9f747fb4f
4 changed files with 33 additions and 4 deletions
|
|
@ -284,6 +284,14 @@ class InvalidID(EC2ClientError):
|
|||
.format(resource_id))
|
||||
|
||||
|
||||
class InvalidCIDRSubnetError(EC2ClientError):
|
||||
def __init__(self, cidr):
|
||||
super(InvalidCIDRSubnetError, self).__init__(
|
||||
"InvalidParameterValue",
|
||||
"invalid CIDR subnet specification: {0}"
|
||||
.format(cidr))
|
||||
|
||||
|
||||
ERROR_RESPONSE = u"""<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Response>
|
||||
<Errors>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue