moto-152 - return vpc.id if exists else return nothing
This commit is contained in:
parent
63799f3af8
commit
853d6768ce
1 changed files with 3 additions and 1 deletions
|
|
@ -109,7 +109,9 @@ DESCRIBE_SECURITY_GROUPS_RESPONSE = """<DescribeSecurityGroupsResponse xmlns="ht
|
|||
<groupId>{{ group.id }}</groupId>
|
||||
<groupName>{{ group.name }}</groupName>
|
||||
<groupDescription>{{ group.description }}</groupDescription>
|
||||
<vpcId>{{ group.vpc_id or ""}}</vpcId>
|
||||
{% if group.vpc_id %}
|
||||
<vpcId>{{ group.vpc_id }}</vpcId>
|
||||
{% endif %}
|
||||
<ipPermissions>
|
||||
{% for rule in group.ingress_rules %}
|
||||
<item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue