Change subnets to only have a reference to the vpc_id.

This commit is contained in:
Steve Pulec 2014-03-28 16:37:55 -04:00
commit 815bb8846c
2 changed files with 5 additions and 6 deletions

View file

@ -33,7 +33,7 @@ CREATE_SUBNET_RESPONSE = """
<subnet>
<subnetId>{{ subnet.id }}</subnetId>
<state>pending</state>
<vpcId>{{ subnet.vpc.id }}</vpcId>
<vpcId>{{ subnet.vpc_id }}</vpcId>
<cidrBlock>{{ subnet.cidr_block }}</cidrBlock>
<availableIpAddressCount>251</availableIpAddressCount>
<availabilityZone>us-east-1a</availabilityZone>
@ -55,7 +55,7 @@ DESCRIBE_SUBNETS_RESPONSE = """
<item>
<subnetId>{{ subnet.id }}</subnetId>
<state>available</state>
<vpcId>{{ subnet.vpc.id }}</vpcId>
<vpcId>{{ subnet.vpc_id }}</vpcId>
<cidrBlock>{{ subnet.cidr_block }}</cidrBlock>
<availableIpAddressCount>251</availableIpAddressCount>
<availabilityZone>us-east-1a</availabilityZone>