$ AWS_DEFAULT_REGION=us-east-1 aws ec2 describe-images --image-ids
ami-01544b839262649a2
{
    "Images": []
}

This seems to be a private AMI, can you provide the output of the above
command, using the same credentials as you run packer with.

On Tue, Oct 23, 2018 at 2:19 PM 'Vivek' via Packer <
[email protected]> wrote:

> sure.
>
> "builders": [{
>
>     "type": "amazon-ebs",
>
>     "region": "us-east-1",
>
>     "source_ami": "ami-01544b839262649a2",
>
>     "ami_virtualization_type": "hvm",
>
>     "kms_key_id": "{{`keyid`}}",
>
>     "instance_type": "m3.xlarge",
>
>     "ssh_username": "ec2-user",
>
>     "ami_name": "ooh-api-{{user `branch_name`}} {{isotime \"02-Jan-06
> 03-04-05 MST\"}}",
>
>     "iam_instance_profile": "DOOH-CW",
>
>     "launch_block_device_mappings": [
>
>     {
>
>       "device_name": "/dev/sdb",
>
>       "snapshot_id": "snap-037ea359f8b20a1cf"
>
>     },
>
>     {
>
>       "device_name": "/dev/sda1",
>
>       "snapshot_id": "snap-0cb01242fb7d1c3e0"
>
>     }]
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/dd7af0f1-a6fa-4a16-9707-a2116af2670f%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/dd7af0f1-a6fa-4a16-9707-a2116af2670f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9DHpMfPW2E_ztz2N1ZfRfFT5QKwAYfLy6cZ0V3-tyZ2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to