mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 03:33:10 +00:00
Fix pep8 error in ec2_vpc
This commit is contained in:
@@ -339,7 +339,7 @@ def create_vpc(module, vpc_conn):
|
||||
|
||||
# Associate with subnets
|
||||
for sn in rt['subnets']:
|
||||
rsn = vpc_conn.get_all_subnets(filters={'cidr': sn })
|
||||
rsn = vpc_conn.get_all_subnets(filters={'cidr': sn})
|
||||
if len(rsn) != 1:
|
||||
module.fail_json(
|
||||
msg='The subnet {0} to associate with route_table {1} ' \
|
||||
|
||||
Reference in New Issue
Block a user