def create_route_table(vpc_id=None, vpc_name=None, route_table_name=None, tags=None, region=None, key=None, keyid=None, profile=None):
 vpc_id = check_vpc(vpc_id, vpc_name, region, key, keyid, profile)
 if (not vpc_id):
  return {'created': False, 'error': {'message': 'VPC {0} does not exist.'.format((vpc_name or vpc_id))}}
 return _create_resource('route_table', route_table_name, tags=tags, vpc_id=vpc_id, region=region, key=key, keyid=keyid, profile=profile)

def create_route_table ( vpc_id = None , vpc_name = None , route_table_name = None , tags = None , region = None , key = None , keyid = None , profile = None ) : vpc_id = check_vpc ( vpc_id , vpc_name , region , key , keyid , profile ) if ( not vpc_id ) : return { 'created' : False , 'error' : { 'message' : 'VPC {0} does not exist.' . format ( ( vpc_name or vpc_id ) ) } } return _create_resource ( 'route_table' , route_table_name , tags = tags , vpc_id = vpc_id , region = region , key = key , keyid = keyid , profile = profile )
creates a route table .