}]
}
$ packer version
Packer v1.4.3-dev (39076f82e+CHANGES)
$ env AWS_PROFILE=packer-demo packer build --force template.json
amazon-ebs output will be in this color.
==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name
amazon-ebs: Found Image ID: ami-0b898040803850657
==> amazon-ebs: Creating temporary keypair: packer_5d277b09-f8c4-1256-af38-998b9f3cc52b
==> amazon-ebs: Creating temporary security group for this instance: packer_5d277b0b-65bf-5d08-1a2f-e63c32edd759
==> amazon-ebs: Authorizing access to port 22 from [
0.0.0.0/0] in the temporary security groups...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-0f5e792c4b313ab4f
==> amazon-ebs: Waiting for instance (i-0f5e792c4b313ab4f) to become ready...
==> amazon-ebs: Using ssh communicator to connect: 52.90.41.137
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Stopping the source instance...
amazon-ebs: Stopping instance
==> amazon-ebs: Waiting for the instance to stop...
==> amazon-ebs: Deregistered AMI REDACTED, id: ami-08cbc649096e89485
==> amazon-ebs: Creating AMI REDACTED from instance i-0f5e792c4b313ab4f
amazon-ebs: AMI: ami-048281d412997f871
==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' finished.
==> Builds finished. The artifacts of successful builds are:
--> amazon-ebs: AMIs were created:
us-east-1: ami-048281d412997f871
I suggest that you remove most things from your template or start with mine above and add thinks, and rebuild until you find what change introduces the error.