Skip to content

Instantly share code, notes, and snippets.

{
"variables": {
"aws_access_key": "",
"aws_secret_key": "",
"aws_subnet_id": "{{env `AWS_SUBNET_ID`}}",
"aws_vpc_id": "{{env `AWS_VPC_ID`}}",
"aws_region": null,
"aws_ssh_username": null,
"aws_instance_type": null,
"aws_source_ami": null,
@gardleopard
gardleopard / gist:597378585a698c09f3f5
Created January 12, 2016 08:23
amazon-chroot builder fails packer 0.8.6
amazon-chroot output will be in this color.
==> amazon-chroot: Prevalidating AMI Name...
==> amazon-chroot: Gathering information about this EC2 instance...
==> amazon-chroot: Inspecting the source AMI...
==> amazon-chroot: Checking the root device on source AMI...
==> amazon-chroot: Creating the root volume...
==> amazon-chroot: Attaching the root volume to /dev/sdf
==> amazon-chroot: Error attaching volume: InvalidParameterValue: Invalid value '/dev/sdf' for unixDevice. Attachment point /dev/sdf is already in use
==> amazon-chroot: status code: 400, request id: []