def make_tags_in_aws_format(tags):
 formatted_tags = list()
 for (key, val) in tags.items():
  formatted_tags.append({'Key': key, 'Value': val})
 return formatted_tags

def make_tags_in_aws_format ( tags ) : formatted_tags = list ( ) for ( key , val ) in tags . items ( ) : formatted_tags . append ( { 'Key' : key , 'Value' : val } ) return formatted_tags
take a dictionary of tags and convert them into the aws tags format .