def dict_to_aws_tags(d):
    """
    Transforms a python dict {'a': 'b', 'c': 'd'} to the
    aws tags format [{'Key': 'a', 'Value': 'b'}, {'Key': 'c', 'Value': 'd'}]
    Only needed for boto3 api calls
    :param d: dict: the dict to transform
    :return: list: the tags in aws format

    >>> from pprint import pprint
    >>> pprint(sorted(dict_to_aws_tags({'a': 'b', 'c': 'd'}), key=lambda d: d['Key']))
    [{'Key': 'a', 'Value': 'b'}, {'Key': 'c', 'Value': 'd'}]
    """
    return [{'Key': k, 'Value': v} for k, v in d.items()]