<commit_before>provider "aws" {
    region = "eu-west-2"
}

terraform {
    backend "s3" {
    bucket = "automatictester.co.uk-lightning-aws-lambda-tf-state"
    key    = "lightning-lambda.tfstate"
    region = "eu-west-2"
    }
}

resource "aws_lambda_function" "lightning_ci" {

    function_name = "Lightning"
    handler = "uk.co.automatictester.lightning.lambda.LightningHandler"
    runtime = "java8"
    s3_bucket = "automatictester.co.uk-lightning-aws-lambda-jar"
    s3_key = "lightning-aws-lambda.jar"
    source_code_hash = "${base64sha256(file("${path.module}/../target/lightning-aws-lambda.jar"))}"
    role = "arn:aws:iam::611654469811:role/LightningLambda"
    memory_size = "${var.memory}"
    timeout = "${var.timeout}"
}<commit_msg>Apply formatting<commit_after>provider "aws" {
  region = "eu-west-2"
}

terraform {
  backend "s3" {
    bucket = "automatictester.co.uk-lightning-aws-lambda-tf-state"
    key = "lightning-lambda.tfstate"
    region = "eu-west-2"
  }
}

resource "aws_lambda_function" "lightning_ci" {
  function_name = "Lightning"
  handler = "uk.co.automatictester.lightning.lambda.LightningHandler"
  runtime = "java8"
  s3_bucket = "automatictester.co.uk-lightning-aws-lambda-jar"
  s3_key = "lightning-aws-lambda.jar"
  source_code_hash = "${base64sha256(file("${path.module}/../target/lightning-aws-lambda.jar"))}"
  role = "arn:aws:iam::611654469811:role/LightningLambda"
  memory_size = "${var.memory}"
  timeout = "${var.timeout}"
}
{'fraction_non_alphanumeric': 0.16271186440677965, 'fraction_numerical': 0.031186440677966103, 'mean_word_length': 4.054794520547945, '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': '7126464', 'n_tokens_mistral': 571, 'n_tokens_neox': 549, 'n_words': 69}