<commit_before># Configure the Consul provider
provider "consul" {
    address = "${var.consul}:8500"
    datacenter = "${var.region}"
}

resource "consul_keys" "app" {
    # Read the launch AMI from Consul
    key {
        name = "ami"
        path = "nubis/ci/releases/${var.ci_release}.${var.ci_build}/${var.region}"
    }
}

# Consul outputs
resource "consul_keys" "jenkins" {
    # Set the CNAME of our load balancer as a key
    key {
        name = "<KEY>"
        path = "aws/jenkins/${var.project}/url"
        value = "http://${aws_elb.jenkins.dns_name}/"
    }
    
    key {
    	name = "instance-id"
	path = "aws/jenkins/${var.project}/instance-id"
	value = "${aws_instance.jenkins.id}"
    }
}

# Configure the AWS Provider
provider "aws" {
    access_key = "${var.aws_access_key}"
    secret_key = "${var.aws_secret_key}"
    region = "${var.region}"
}<commit_msg>we need to make sure to be exlicit about DCs for consul to be happy<commit_after># Configure the Consul provider
provider "consul" {
    address = "${var.consul}:8500"
    datacenter = "${var.region}"
}

resource "consul_keys" "app" {
    # Read the launch AMI from Consul
    key {
        name = "ami"
        path = "nubis/ci/releases/${var.ci_release}.${var.ci_build}/${var.region}"
    }
}

# Consul outputs
resource "consul_keys" "jenkins" {
    datacenter = "${var.region}"

    # Set the CNAME of our load balancer as a key
    key {
        name = "<KEY>"
        path = "aws/jenkins/${var.project}/url"
        value = "http://${aws_elb.jenkins.dns_name}/"
    }
    
    key {
    	name = "instance-id"
	path = "aws/jenkins/${var.project}/instance-id"
	value = "${aws_instance.jenkins.id}"
    }
}

# Configure the AWS Provider
provider "aws" {
    access_key = "${var.aws_access_key}"
    secret_key = "${var.aws_secret_key}"
    region = "${var.region}"
}
{'fraction_non_alphanumeric': 0.15854978354978355, 'fraction_numerical': 0.004329004329004329, 'mean_word_length': 2.773469387755102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6238820', 'n_tokens_mistral': 667, 'n_tokens_neox': 659, 'n_words': 148}