Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
fix for #45
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxlife committed Dec 25, 2016
1 parent 8ef4307 commit f534691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sevenseconds/config/vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def terminitate_nat_instance(instance, az_name):

def create_routing_tables(vpc: object, nat_instance_by_az: dict):
for route_table in vpc.route_tables.all():
for association in route_table.associations.all():
for association in route_table.associations:
if association.main:
for igw in vpc.internet_gateways.all():
route_table.create_route(DestinationCidrBlock='0.0.0.0/0',
Expand Down

0 comments on commit f534691

Please sign in to comment.