Add support for default VPCs and subnets.

The first VPC created will be elected as default.
All subnets of the default VPC are considered default for their availability zone.
This commit is contained in:
Marco Rucci 2015-12-06 20:58:54 +01:00
commit 284641e8cf
4 changed files with 17 additions and 5 deletions

View file

@ -73,6 +73,7 @@ DESCRIBE_SUBNETS_RESPONSE = """
<cidrBlock>{{ subnet.cidr_block }}</cidrBlock>
<availableIpAddressCount>251</availableIpAddressCount>
<availabilityZone>{{ subnet.availability_zone }}</availabilityZone>
<defaultForAz>{{ subnet.defaultForAz }}</defaultForAz>
<tagSet>
{% for tag in subnet.get_tags() %}
<item>