def get_vpc(client, tag_name, **kwargs):
    'Method to fetch vpc based on the tag_name.\n    Args:\n        client (boto client): Boto Client for the region to query.\n        tag_name (str): VPC tag name.\n    Returns:\n        VPC obj: VPC object or None.\n    '
    filters = get_tag_filter(tag_name)
    return next(iter(client.vpcs.filter(Filters=filters)), None)
Method to fetch vpc based on the tag_name.
Args:
    client (boto client): Boto Client for the region to query.
    tag_name (str): VPC tag name.
Returns:
    VPC obj: VPC object or None.
def get_vpc(client, tag_name, **kwargs):
    'Method to fetch vpc based on the tag_name.\n    Args:\n        client (boto client): Boto Client for the region to query.\n        tag_name (str): VPC tag name.\n    Returns:\n        VPC obj: VPC object or None.\n    '
    filters = get_tag_filter(tag_name)
    return next(iter(client.vpcs.filter(Filters=filters)), None)