github.com/djenriquez/nomad-1@v0.8.1/terraform/aws/packer.json (about)

     1  {
     2    "builders": [{
     3      "type": "amazon-ebs",
     4      "region": "us-east-1",
     5      "source_ami": "ami-80861296",
     6      "instance_type": "t2.medium",
     7      "ssh_username": "ubuntu",
     8      "ami_name": "hashistack {{timestamp}}",
     9      "ami_groups": ["all"]
    10    }],
    11    "provisioners":  [
    12    {
    13      "type": "shell",
    14      "inline": [
    15        "sudo mkdir /ops",
    16        "sudo chmod 777 /ops"
    17      ]
    18    },
    19    {
    20      "type": "file",
    21      "source": "../shared",
    22      "destination": "/ops"
    23    },
    24    {
    25      "type": "file",
    26      "source": "../examples",
    27      "destination": "/ops"
    28    },
    29    {
    30      "type": "shell",
    31      "script": "../shared/scripts/setup.sh"
    32    }]
    33  }