<commit_before>{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "logs:*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:*"
      ],
      "Resource": [
        "${config_bucket_arn}/gocd",
        "${config_bucket_arn}/gocd/*",
        "${cloudinit_bucket_arn}/gocd",
        "${cloudinit_bucket_arn}/gocd/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:List*",
        "s3:Get*"
      ],
      "Resource": [
        "${config_bucket_arn}/etcd/initial-cluster",
        "${config_bucket_arn}/docker-registry/registry-certificates/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:Describe*",
        "autoscaling:Describe*"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:*",
        "SNS:*",
        "ec2:*",
        "autoscaling:*",
        "elasticloadbalancing:*",
        "cloudwatch:*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "PackerPolicy",
      "Effect": "Allow",
      "Action": [
        "ec2:AttachVolume",
        "ec2:CreateVolume",
        "ec2:DeleteVolume",
        "ec2:CreateKeypair",
        "ec2:DeleteKeypair",
        "ec2:DescribeSubnets",
        "ec2:CreateSecurityGroup",
        "ec2:DeleteSecurityGroup",<commit_msg>Add prod buckets to policy<commit_after>{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "logs:*"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:*"
      ],
      "Resource": [
        "${config_bucket_arn}/gocd",
        "${config_bucket_arn}/gocd/*",
        "${cloudinit_bucket_arn}/gocd",
        "${cloudinit_bucket_arn}/gocd/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:List*",
        "s3:Get*"
      ],
      "Resource": [
        "${config_bucket_arn}/etcd/initial-cluster",
        "${config_bucket_arn}/docker-registry/registry-certificates/*",
        "arn:aws:s3:::${prod_cloudinit_bucket_name}/",
        "arn:aws:s3:::${prod_cloudinit_bucket_name}/*"
      ]
    },
    {
        "Effect": "Allow",
        "Action": [
            "s3:Put*"
        ],
        "Resource": [
            "arn:aws:s3:::${prod_config_bucket_name}/keypairs",
            "arn:aws:s3:::${prod_config_bucket_name}/keypairs/*"
        ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:Describe*",
        "autoscaling:Describe*"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "route53:*"
      ],
      "Resource": [
        "arn:aws:route53:::*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:*",
        "SNS:*",
        "ec2:*",
        "autoscaling:*",
        "elasticloadbalancing:*",
        "cloudwatch:*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "PackerPolicy",
      "Effect": "Allow",
      "Action": [
        "ec2:AttachVolume",
        "ec2:CreateVolume",
        "ec2:DeleteVolume",
        "ec2:CreateKeypair",
        "ec2:DeleteKeypair",
        "ec2:DescribeSubnets",
        "ec2:CreateSecurityGroup",
        "ec2:DeleteSecurityGroup",
{'fraction_non_alphanumeric': 0.19825248568846038, 'fraction_numerical': 0.015366074118710455, 'mean_word_length': 1.688259109311741, 'pattern_counts': {'":': 46, '<': 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': '985820', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1157, 'n_words': 128}