<commit_before>#################################################
# DHCP Options
resource "aws_vpc_dhcp_options" "default" {
  domain_name = "${aws_route53_zone.int.name}"
  domain_name_servers = ["${var.domain_name_servers}"]

  tags {
    Name        = "${var.tag_project}-${var.tag_environment}-dopt"
    Build       = "Automatic"
    Creator     = "${var.tag_creator}"
    Department  = "${var.tag_department}"
    Environment = "${var.tag_environment}"
    Project     = "${var.tag_project}"
    Service     = "${var.tag_service}"
  }
}

resource "aws_vpc_dhcp_options_association" "default" {
  vpc_id = "${aws_vpc.default.id}"
  dhcp_options_id = "${aws_vpc_dhcp_options.default.id}"
}

# dns
resource "aws_route53_record" "endpoint" {
   zone_id = "${var.aws_route53_zone}"
   name = "${var.endpoint_cname}-${var.tag_environment}"
   type = "CNAME"
   ttl = "60"
   records = ["${aws_elb.nginx.dns_name}"]
}

#resource "aws_route53_record" "database" {
#   zone_id = "${aws_route53_zone.int.id}"<commit_msg>Update dns.tf<commit_after>#################################################
# DHCP Options
resource "aws_vpc_dhcp_options" "default" {
  domain_name = "${aws_route53_zone.int.name}"
  domain_name_servers = ["${var.domain_name_servers}"]

  tags {
    Name        = "${var.tag_project}-${var.tag_environment}-dopt"
    Build       = "Automatic"
    Creator     = "${var.tag_creator}"
    Department  = "${var.tag_department}"
    Environment = "${var.tag_environment}"
    Project     = "${var.tag_project}"
    Service     = "${var.tag_service}"
  }
}

resource "aws_vpc_dhcp_options_association" "default" {
  vpc_id = "${aws_vpc.default.id}"
  dhcp_options_id = "${aws_vpc_dhcp_options.default.id}"
}

# dns
resource "aws_route53_record" "endpoint" {
   zone_id = "${var.aws_route53_zone}"
   name = "${var.endpoint_cname}-${var.tag_environment}.snap-preprod.trainz.io"
   type = "CNAME"
   ttl = "60"
   records = ["${aws_elb.nginx.dns_name}"]
}

#resource "aws_route53_record" "database" {
#   zone_id = "${aws_route53_zone.int.id}"
{'fraction_non_alphanumeric': 0.2052657240370551, 'fraction_numerical': 0.011701608971233545, 'mean_word_length': 4.3023255813953485, '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': '6166479', 'n_tokens_mistral': 763, 'n_tokens_neox': 744, 'n_words': 102}