<commit_before>var publicSubnets = {
    'eu-west-1': {
        'eu-west-1a': '10.42.1.0/24',
        'eu-west-1b': '10.42.2.0/24'
    },
    'eu-central-1': {
        'eu-central-1a': '10.42.1.0/24',
        'eu-central-1b': '10.42.2.0/24'
    },
};

var privateSubnets = {
    'eu-west-1': {
        'eu-west-1a': '10.42.3.0/24',
        'eu-west-1b': '10.42.4.0/24'
    },
    'eu-central-1': {
        'eu-central-1a': '10.42.3.0/24',
        'eu-central-1b': '10.42.4.0/24'
    },
};

var images = {
    'eu-west-1': 'ami-748e2903',
    'eu-central-1': 'ami-b43503a9'
};

module.exports = function(region) {
    if (!publicSubnets[region]) {
        throw new Error('Unsupported public subnet region');
    }

    if (!privateSubnets[region]) {
        throw new Error('Unsupported private subnet region');
    }

    if (!images[region]) {
        throw new Error('Unsupported instance image subnet region');
    }

    return {
        vpcCidrBlock: '10.42.0.0/0',
        publicSubnets: publicSubnets[region],
        privateSubnets: privateSubnets[region],
        genericImageId: images[region]
    };
};<commit_msg>fix vpc cidr block in examples config - min is 16<commit_after>var publicSubnets = {
    'eu-west-1': {
        'eu-west-1a': '10.42.1.0/24',
        'eu-west-1b': '10.42.2.0/24'
    },
    'eu-central-1': {
        'eu-central-1a': '10.42.1.0/24',
        'eu-central-1b': '10.42.2.0/24'
    },
};

var privateSubnets = {
    'eu-west-1': {
        'eu-west-1a': '10.42.3.0/24',
        'eu-west-1b': '10.42.4.0/24'
    },
    'eu-central-1': {
        'eu-central-1a': '10.42.3.0/24',
        'eu-central-1b': '10.42.4.0/24'
    },
};

var images = {
    'eu-west-1': 'ami-748e2903',
    'eu-central-1': 'ami-b43503a9'
};

module.exports = function(region) {
    if (!publicSubnets[region]) {
        throw new Error('Unsupported public subnet region');
    }

    if (!privateSubnets[region]) {
        throw new Error('Unsupported private subnet region');
    }

    if (!images[region]) {
        throw new Error('Unsupported instance image subnet region');
    }

    return {
        vpcCidrBlock: '10.42.0.0/16',
        publicSubnets: publicSubnets[region],
        privateSubnets: privateSubnets[region],
        genericImageId: images[region]
    };
};
{'fraction_non_alphanumeric': 0.19353429445172565, 'fraction_numerical': 0.08693752730449979, 'mean_word_length': 2.1456043956043955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 18, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3554786', 'n_tokens_mistral': 1005, 'n_tokens_neox': 907, 'n_words': 141}