<commit_before># replace manually setup jenkins-aws credentials
# + add s3 object deletion

data "aws_caller_identity" "current" {}

module "snapshot_user" {
  source = "github.com/lsst-sqre/tf_aws_iam_user"
  name   = "${var.env_name}-snap-master-funk"

  policy = <<POLICY
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowListingVolumesAndSnapshots",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeVolumes",
        "ec2:DescribeSnapshots",
        "ec2:DescribeTags"
      ],
      "Resource": [ "*" ]
    },
    {
      "Sid": "AllowSnapshots",<commit_msg>update aws-iam-user mod source url<commit_after># replace manually setup jenkins-aws credentials
# + add s3 object deletion

data "aws_caller_identity" "current" {}

module "snapshot_user" {
  source = "git::https://github.com/lsst-sqre/terraform-aws-iam-user"
  name   = "${var.env_name}-snap-master-funk"

  policy = <<POLICY
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowListingVolumesAndSnapshots",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeVolumes",
        "ec2:DescribeSnapshots",
        "ec2:DescribeTags"
      ],
      "Resource": [ "*" ]
    },
    {
      "Sid": "AllowSnapshots",
{'fraction_non_alphanumeric': 0.16303470540758677, 'fraction_numerical': 0.01937046004842615, 'mean_word_length': 3.0, 'pattern_counts': {'":': 14, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2160245', 'n_tokens_mistral': 456, 'n_tokens_neox': 451, 'n_words': 73}