<commit_before>resource "aws_s3_bucket" "sierra_data" {
  bucket = "wellcomecollection-sierra-adapter-data"

  lifecycle_rule {
    id      = "records_bibs"
    prefix  = "records_bibs/"
    enabled = true

    expiration {
      days = 7
    }
  }

  lifecycle_rule {
    id      = "records_items"
    prefix  = "records_items/"
    enabled = true

    expiration {
      days = 7
    }
  }

  lifecycle {
    prevent_destroy = true
  }
}<commit_msg>Disable lifecycle rules on the S3 bucket<commit_after>resource "aws_s3_bucket" "sierra_data" {
  bucket = "wellcomecollection-sierra-adapter-data"

#  lifecycle_rule {
#    id      = "records_bibs"
#    prefix  = "records_bibs/"
#    enabled = true
#
#    expiration {
#      days = 7
#    }
#  }
#
#  lifecycle_rule {
#    id      = "records_items"
#    prefix  = "records_items/"
#    enabled = true
#
#    expiration {
#      days = 7
#    }
#  }

  lifecycle {
    prevent_destroy = true
  }
}
{'fraction_non_alphanumeric': 0.11286919831223628, 'fraction_numerical': 0.007383966244725738, 'mean_word_length': 2.283737024221453, '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': '5875755', 'n_tokens_mistral': 356, 'n_tokens_neox': 340, 'n_words': 62}