<commit_before>variable "notification_vpc_id" {}
variable "notification_vpc_cidr" {}
variable "notification_route_table_id_1a" {}
variable "notification_route_table_id_1b" {}

resource "aws_vpc_peering_connection" "notification" {
  peer_owner_id = "${var.peer_owner_id}"
  peer_vpc_id = "${var.notification_vpc_id}"
  vpc_id = "${aws_vpc.default.id}"
  auto_accept = true
}

# Add current VPC route into Notification Route Tables
resource "aws_route" "peering-route-notification1a-to-vpc" {
  route_table_id = "${var.notification_route_table_id_1a}"
  destination_cidr_block = "${var.vpc_cidr}"
  vpc_peering_connection_id = "${aws_vpc_peering_connection.notification.id}"
}

resource "aws_route" "peering-route-notifivation1b-to-vpc" {
  route_table_id = "${var.notification_route_table_id_1b}"
  destination_cidr_block = "${var.vpc_cidr}"
  vpc_peering_connection_id = "${aws_vpc_peering_connection.notification.id}"
}

# Add Notification route to current VPCs Private route table
resource "aws_route" "notification-peering-private" {
  route_table_id = "${aws_route_table.private.id}"
  destination_cidr_block = "${var.notification_vpc_cidr}"
  vpc_peering_connection_id = "${aws_vpc_peering_connection.notification.id}"
}<commit_msg>attempt to fix route already exists related to peering<commit_after>variable "notification_vpc_id" {}
variable "notification_vpc_cidr" {}
variable "notification_route_table_id_1a" {}
variable "notification_route_table_id_1b" {}

resource "aws_vpc_peering_connection" "notification" {
  peer_owner_id = "${var.peer_owner_id}"
  peer_vpc_id = "${var.notification_vpc_id}"
  vpc_id = "${aws_vpc.default.id}"
  auto_accept = true
}

# Add current VPC route into Notification Route Tables
resource "aws_route" "peering-route-notification1a-to-vpc" {
  route_table_id = "${var.notification_route_table_id_1a}"
  destination_cidr_block = "${var.vpc_cidr}"
  vpc_peering_connection_id = "${aws_vpc_peering_connection.notification.id}"
}

resource "aws_route" "peering-route-notifivation1b-to-vpc" {
  route_table_id = "${var.notification_route_table_id_1b}"
  destination_cidr_block = "${var.vpc_cidr}"
  vpc_peering_connection_id = "${aws_vpc_peering_connection.notification.id}"
}
{'fraction_non_alphanumeric': 0.1166365280289331, 'fraction_numerical': 0.0054249547920434, 'mean_word_length': 7.414448669201521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2548487', 'n_tokens_mistral': 794, 'n_tokens_neox': 795, 'n_words': 116}