moto-152 - return vpc.id if exists else return nothing
This commit is contained in:
parent
63799f3af8
commit
853d6768ce
@ -109,7 +109,9 @@ DESCRIBE_SECURITY_GROUPS_RESPONSE = """<DescribeSecurityGroupsResponse xmlns="ht
|
|||||||
<groupId>{{ group.id }}</groupId>
|
<groupId>{{ group.id }}</groupId>
|
||||||
<groupName>{{ group.name }}</groupName>
|
<groupName>{{ group.name }}</groupName>
|
||||||
<groupDescription>{{ group.description }}</groupDescription>
|
<groupDescription>{{ group.description }}</groupDescription>
|
||||||
<vpcId>{{ group.vpc_id or ""}}</vpcId>
|
{% if group.vpc_id %}
|
||||||
|
<vpcId>{{ group.vpc_id }}</vpcId>
|
||||||
|
{% endif %}
|
||||||
<ipPermissions>
|
<ipPermissions>
|
||||||
{% for rule in group.ingress_rules %}
|
{% for rule in group.ingress_rules %}
|
||||||
<item>
|
<item>
|
||||||
|
Loading…
Reference in New Issue
Block a user