<commit_before>{
  "AWSTemplateFormatVersion": "2010-09-09",

  "Description": "Infrastructure for a MicroBOSH deployment with an ELB.",

  "Parameters": {
    "KeyName": {
      "Description": "SSH Keypair to use for instances",
      "Type": "AWS::EC2::KeyPair::KeyName",
      "Default": "bosh"
    },

    "HostedZoneName": {
      "Description": "(Optional) Route53 Hosted Zone in which to register the ELB's DNS record.",
      "Type": "String",
      "Default": ""
    },
    "ELBRecordSetName": {
      "Description": "(Optional) Route53 Record Set name for the ELB.",
      "Type": "String",
      "Default": ""
    },

    "BOSHInboundCIDR": {
      "Description": "CIDR to permit access to BOSH (e.g. 192.168.127.12/32 for your specific IP)",
      "Type": "String",
      "Default": "0.0.0.0/0"
    },

    "VPCCIDR": {
      "Description": "CIDR block for the VPC.",
      "Type": "String",
      "Default": "10.0.0.0/16"
    },
    "BOSHSubnetCIDR": {
      "Description": "CIDR block for the BOSH subnet.",
      "Type": "String",
      "Default": "10.0.0.0/24"
    },
    "LoadBalancerSubnetCIDR": {
      "Description": "CIDR block for the BOSH subnet.",
      "Type": "String",
      "Default": "10.0.2.0/24"
    },
    "InternalSubnetCIDR": {
      "Description": "CIDR block for the Internal subnet.",
      "Type": "String",
      "Default": "10.0.16.0/20"
    },
    "LoadBalancerCertName": {
      "Description": "Name of the SSL cert to use for the ELB.",
      "Type": "String",
      "Default": ""
    }
  },

  "Mappings": {
    "AWSNATAMI" : {
      "us-east-1":      { "AMI": "ami-ad227cc4" },
      "us-west-1":      { "AMI": "ami-d69aad93" },
      "us-west-2":      { "AMI": "ami-f032acc0" },
      "eu-west-1":      { "AMI": "ami-f3e30084" },
      "ap-southeast-1": { "AMI": "ami-f22772a0" },
      "ap-southeast-2": { "AMI": "ami-3bae3201" },
      "ap-northeast-1": { "AMI": "ami-cd43d9cc" },
      "ap-northeast-2": { "AMI": "ami-4118d72f" },
      "sa-east-1":      { "AMI": "ami-d78325ca" }
    }
  },

  "Conditions": {
    "CreateRecordSet": {<commit_msg>Update AMI to use HVM instance types<commit_after>{
  "AWSTemplateFormatVersion": "2010-09-09",

  "Description": "Infrastructure for a MicroBOSH deployment with an ELB.",

  "Parameters": {
    "KeyName": {
      "Description": "SSH Keypair to use for instances",
      "Type": "AWS::EC2::KeyPair::KeyName",
      "Default": "bosh"
    },

    "HostedZoneName": {
      "Description": "(Optional) Route53 Hosted Zone in which to register the ELB's DNS record.",
      "Type": "String",
      "Default": ""
    },
    "ELBRecordSetName": {
      "Description": "(Optional) Route53 Record Set name for the ELB.",
      "Type": "String",
      "Default": ""
    },

    "BOSHInboundCIDR": {
      "Description": "CIDR to permit access to BOSH (e.g. 192.168.127.12/32 for your specific IP)",
      "Type": "String",
      "Default": "0.0.0.0/0"
    },

    "VPCCIDR": {
      "Description": "CIDR block for the VPC.",
      "Type": "String",
      "Default": "10.0.0.0/16"
    },
    "BOSHSubnetCIDR": {
      "Description": "CIDR block for the BOSH subnet.",
      "Type": "String",
      "Default": "10.0.0.0/24"
    },
    "LoadBalancerSubnetCIDR": {
      "Description": "CIDR block for the BOSH subnet.",
      "Type": "String",
      "Default": "10.0.2.0/24"
    },
    "InternalSubnetCIDR": {
      "Description": "CIDR block for the Internal subnet.",
      "Type": "String",
      "Default": "10.0.16.0/20"
    },
    "LoadBalancerCertName": {
      "Description": "Name of the SSL cert to use for the ELB.",
      "Type": "String",
      "Default": ""
    }
  },

  "Mappings": {
    "AWSNATAMI" : {
      "us-east-1":      { "AMI": "ami-68115b02" },
      "us-west-1":      { "AMI": "ami-ef1a718f" },
      "us-west-2":      { "AMI": "ami-77a4b816" },
      "eu-west-1":      { "AMI": "ami-c0993ab3" },
      "eu-central-1":   { "AMI": "ami-0b322e67" },
      "ap-southeast-1": { "AMI": "ami-e2fc3f81" },
      "ap-southeast-2": { "AMI": "ami-e3217a80" },
      "ap-northeast-1": { "AMI": "ami-f885ae96" },
      "ap-northeast-2": { "AMI": "ami-4118d72f" },
      "sa-east-1":      { "AMI": "ami-8631b5ea" }
    }
  },

  "Conditions": {
    "CreateRecordSet": {
{'fraction_non_alphanumeric': 0.20065635255508674, 'fraction_numerical': 0.05532114392873887, 'mean_word_length': 2.367797947908445, 'pattern_counts': {'":': 122, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 12, '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': '6175089', 'n_tokens_mistral': 1768, 'n_tokens_neox': 1645, 'n_words': 341}