<commit_before>module "appautoscaling" {
  source = "git::https://github.com/wellcometrust/terraform.git//autoscaling/app/ecs?ref=v1.1.0"
  name   = "sierra_to_dynamo_${var.resource_type}"

  cluster_name = "${var.cluster_name}"
  service_name = "${module.sierra_to_dynamo_service.service_name}"
}

module "sqs_autoscaling_alarms" {
  source = "git::https://github.com/wellcometrust/terraform.git//autoscaling/alarms/sqs?ref=v1.1.0"
  name   = "sierra_to_dynamo_${var.resource_type}"

  queue_name = "${module.windows_queue.name}"

  scale_up_arn   = "${module.appautoscaling.scale_up_arn}"
  scale_down_arn = "${module.appautoscaling.scale_down_arn}"
}

module "sierra_to_dynamo_service" {
  source             = "git::https://github.com/wellcometrust/terraform.git//services?ref=s3-mystery"
  name               = "sierra_to_dynamo_${var.resource_type}"
  cluster_id         = "${var.cluster_id}"
  task_role_arn      = "${module.ecs_sierra_to_dynamo_iam.task_role_arn}"
  vpc_id             = "${var.vpc_id}"
  app_uri            = "${var.ecr_repository_url}:${var.release_id}"
  listener_https_arn = "${var.alb_listener_https_arn}"
  listener_http_arn  = "${var.alb_listener_http_arn}"
  path_pattern       = "/sierra_to_dynamo/${var.resource_type}/*"
  alb_priority       = "${var.alb_priority}"
  healthcheck_path   = "/sierra_to_dynamo/${var.resource_type}/management/healthcheck"
  infra_bucket       = "${var.infra_bucket}"
  https_domain       = "services.wellcomecollection.ac.uk"

  config_key           = "config/${var.build_env}/sierra_to_dynamo_${var.resource_type}.ini"
  config_template_path = "config/sierra_to_dynamo.ini.template"
<commit_msg>Make sure that reference works<commit_after>module "appautoscaling" {
  source = "git::https://github.com/wellcometrust/terraform.git//autoscaling/app/ecs?ref=v1.1.0"
  name   = "sierra_to_dynamo_${var.resource_type}"

  cluster_name = "${var.cluster_name}"
  service_name = "${module.sierra_to_dynamo_service.service_name}"
}

module "sqs_autoscaling_alarms" {
  source = "git::https://github.com/wellcometrust/terraform.git//autoscaling/alarms/sqs?ref=v1.1.0"
  name   = "sierra_to_dynamo_${var.resource_type}"

  queue_name = "${module.windows_queue.name}"

  scale_up_arn   = "${module.appautoscaling.scale_up_arn}"
  scale_down_arn = "${module.appautoscaling.scale_down_arn}"
}

module "sierra_to_dynamo_service" {
  source             = "git::https://github.com/wellcometrust/terraform.git//services?ref=v1.3.0"
  name               = "sierra_to_dynamo_${var.resource_type}"
  cluster_id         = "${var.cluster_id}"
  task_role_arn      = "${module.ecs_sierra_to_dynamo_iam.task_role_arn}"
  vpc_id             = "${var.vpc_id}"
  app_uri            = "${var.ecr_repository_url}:${var.release_id}"
  listener_https_arn = "${var.alb_listener_https_arn}"
  listener_http_arn  = "${var.alb_listener_http_arn}"
  path_pattern       = "/sierra_to_dynamo/${var.resource_type}/*"
  alb_priority       = "${var.alb_priority}"
  healthcheck_path   = "/sierra_to_dynamo/${var.resource_type}/management/healthcheck"
  infra_bucket       = "${var.infra_bucket}"
  https_domain       = "services.wellcomecollection.ac.uk"

  config_key           = "config/${var.build_env}/sierra_to_dynamo_${var.resource_type}.ini"
  config_template_path = "config/sierra_to_dynamo.ini.template"

{'fraction_non_alphanumeric': 0.14474078513635003, 'fraction_numerical': 0.00479472580161822, 'mean_word_length': 4.215625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3310151', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1255, 'n_words': 112}