def METHOD_NAME(ec2_client):
    # use lock to prevent race condition when tests are running concurrently
    with lock.lock(LOCK_PATH):
        if _vpc_exists(ec2_client, VPC_NAME):
            print("using existing vpc: {}".format(VPC_NAME))
            return (
                _get_subnet_ids_by_name(ec2_client, VPC_NAME),
                _get_security_id_by_name(ec2_client, VPC_NAME),
            )
        else:
            print("creating new vpc: {}".format(VPC_NAME))
            return _create_vpc_with_name(ec2_client, VPC_NAME)