<commit_before>resource "aws_internet_gateway" "cncf" {
  vpc_id = "${ aws_vpc.cncf.id }"

  tags {
    KubernetesCluster = "${ var.name }"
    Name = "${ var.name }"
  }
}

resource "aws_subnet" "cncf" {
  availability_zone = "${ var.aws_availability_zone }"
  cidr_block = "${ var.subnet_cidr }"
  vpc_id = "${ aws_vpc.cncf.id }"

  tags {
    KubernetesCluster = "${ var.name }"
    Name = "${ var.name }-public"
  }
}

resource "aws_route" "cncf" {
  route_table_id = "${ aws_vpc.cncf.main_route_table_id }"
  destination_cidr_block = "0.0.0.0/0"
  gateway_id = "${ aws_internet_gateway.cncf.id }"
}

resource "aws_route_table_association" "cncf" {
  route_table_id = "${ aws_vpc.cncf.main_route_table_id }"
  subnet_id = "${ aws_subnet.cncf.id }"
}
<commit_msg>Create a new route table with the correct KubernetesCluster tags<commit_after>resource "aws_internet_gateway" "cncf" {
  vpc_id = "${ aws_vpc.cncf.id }"

  tags {
    KubernetesCluster = "${ var.name }"
    Name = "${ var.name }"
  }
}

resource "aws_subnet" "cncf" {
  availability_zone = "${ var.aws_availability_zone }"
  cidr_block = "${ var.subnet_cidr }"
  vpc_id = "${ aws_vpc.cncf.id }"

  tags {
    KubernetesCluster = "${ var.name }"
    Name = "${ var.name }-public"
  }
}

resource "aws_route_table" "cncf" {
  vpc_id = "${ aws_vpc.cncf.id }"

  route {
    cidr_block = "0.0.0.0/0"
    gateway_id = "${ aws_internet_gateway.cncf.id }"
  }

  tags {
    KubernetesCluster = "${ var.name }"
    Name = "${ var.name }-public"
  }
}

resource "aws_route_table_association" "cncf" {
  route_table_id = "${ aws_route_table.cncf.id }"
  subnet_id = "${ aws_subnet.cncf.id }"

}
{'fraction_non_alphanumeric': 0.16787878787878788, 'fraction_numerical': 0.006060606060606061, 'mean_word_length': 3.4742547425474255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '890304', 'n_tokens_mistral': 691, 'n_tokens_neox': 696, 'n_words': 98}