Merge pull request #1865 from dennisconrad/devel
Fix for existing ENIs w/ multiple security groups
This commit is contained in:
commit
8d8d418e94
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ def compare_eni(connection, module):
|
|||
|
||||
for eni in all_eni:
|
||||
remote_security_groups = get_sec_group_list(eni.groups)
|
||||
if (eni.subnet_id == subnet_id) and (eni.private_ip_address == private_ip_address) and (eni.description == description) and (remote_security_groups == security_groups):
|
||||
if (eni.subnet_id == subnet_id) and (eni.private_ip_address == private_ip_address) and (eni.description == description) and (sorted(remote_security_groups) == sorted(security_groups)):
|
||||
return eni
|
||||
|
||||
except BotoServerError as e:
|
||||
|
|
Loading…
Add table
Reference in a new issue