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

Commit

Permalink
Merge pull request #109 from zalando-stups/fix-var-declaration
Browse files Browse the repository at this point in the history
Fixes var declaration.
  • Loading branch information
gargravarr committed Apr 26, 2021
2 parents 168daca + 3bc3c77 commit 91d79a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sevenseconds/config/vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ def configure_routing_table(vpc: object, nat_instance_by_az: dict, replace_defau
if get_tag(rt.tags, 'Name', 'undef-rt-name') == get_tag(subnet.tags, 'Name', 'undef-subnet-name'):
route_table = rt
break
destination = None
if route_via_igw:
for igw in vpc.internet_gateways.all():
destination = {'GatewayId': igw.id}
Expand Down

0 comments on commit 91d79a3

Please sign in to comment.