{
  "builders": [{
    "type": "amazon-ebs",
    "region": "us-east-1",
    "source_ami_filter": {
      "filters": {
        "virtualization-type": "hvm",
        "architecture": "x86_64",
        "name": "*amzn2-ami-hvm-*",
        "block-device-mapping.volume-type": "gp2",
        "root-device-type": "ebs"
      },
      "owners": [
        "amazon"
      ],
      "most_recent": true
    },
    "instance_type": "t3.medium",
    "ssh_username": "ec2-user",
    "ami_name": "Jenkins common agent v{{timestamp}}",
    "vpc_id": "vpc-0ca801feb79f22108",
    "subnet_id": "subnet-0a058fdbd4cf00890",
    "security_group_id": "sg-076308b4ea635bb92",
    "associate_public_ip_address": true,
    "kms_key_id": "alias/default_ebs",
    "encrypt_boot": true,
    "launch_block_device_mappings": [
      {
        "device_name": "/dev/xvda",
        "encrypted": true,
        "kms_key_id": "alias/default_ebs",
        "volume_size": 8,
        "delete_on_termination": true
      }
    ],
    "tags": {
      "Name": "Common Agent v{{timestamp}}",
      "type": "common",
      "platform": "Delphi",
      "environment": "Common",
      "project": "Infrastructure",
      "service": "EC2",
      "plat_env_project_service": "DLP_CMN_INFRA_EC2"
    },
    "run_tags": {
      "Name": "Common Agent v{{timestamp}}",
      "type": "common",
      "platform": "Delphi",
      "environment": "Common",
      "project": "Infrastructure",
      "service": "EC2",
      "plat_env_project_service": "DLP_CMN_INFRA_EC2"
    },
    "run_volume_tags": {
      "Name": "Common Agent v{{timestamp}}",
      "type": "common",
      "platform": "Delphi",
      "environment": "Common",
      "project": "Infrastructure",
      "service": "EC2",
      "plat_env_project_service": "DLP_CMN_INFRA_EC2"
    },
    "snapshot_tags": {
      "platform": "Delphi",
      "environment": "Common",
      "project": "Infrastructure",
      "service": "EC2",
      "plat_env_project_service": "DLP_CMN_INFRA_EC2",
      "Name": "Common Agent v{{timestamp}}",
      "type": "common"
    }
  }],
  "provisioners": [
    {
      "type": "ansible",
      "playbook_file": "./common.yml",
      "use_proxy": false
    }
  ]
}
