Handle case of both Key and key (#15468)

pull/15934/head
Rob 10 years ago committed by Jonathan Davila
parent cc61531a74
commit ba63ccb880

@ -364,7 +364,10 @@ def boto3_tag_list_to_ansible_dict(tags_list):
tags_dict = {}
for tag in tags_list:
tags_dict[tag['Key']] = tag['Value']
if 'key' in tag:
tags_dict[tag['key']] = tag['value']
elif 'Key' in tag:
tags_dict[tag['Key']] = tag['Value']
return tags_dict

Loading…
Cancel
Save