Add VPC state.
This commit is contained in:
parent
0fcb00dcf5
commit
68d2db55d4
3 changed files with 3 additions and 2 deletions
|
|
@ -1280,6 +1280,7 @@ class VPC(TaggedEC2Resource):
|
|||
self.id = vpc_id
|
||||
self.cidr_block = cidr_block
|
||||
self.dhcp_options = None
|
||||
self.state = 'available'
|
||||
|
||||
@classmethod
|
||||
def create_from_cloudformation_json(cls, resource_name, cloudformation_json):
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ DESCRIBE_VPCS_RESPONSE = """
|
|||
{% for vpc in vpcs %}
|
||||
<item>
|
||||
<vpcId>{{ vpc.id }}</vpcId>
|
||||
<state>available</state>
|
||||
<state>{{ vpc.state }}</state>
|
||||
<cidrBlock>{{ vpc.cidr_block }}</cidrBlock>
|
||||
<dhcpOptionsId>dopt-7a8b9c2d</dhcpOptionsId>
|
||||
<instanceTenancy>default</instanceTenancy>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue