Didn't see anything obvious wrong but the launch_block_device_mappings section in your template is unnecessary, remove it and try to run with -on-error=ask. That will give you an opportunity to review the state of the failing instance.
On Tue, Oct 23, 2018 at 2:30 PM 'Vivek' via Packer < [email protected]> wrote: > yes it is a private AMI > > Output is: > > { > > "Images": [ > > { > > "VirtualizationType": "hvm", > > "Name": "ooh-test-encry-tomcat7", > > "Hypervisor": "xen", > > "EnaSupport": true, > > "SriovNetSupport": "simple", > > "ImageId": "ami-01544b839262649a2", > > "State": "available", > > "BlockDeviceMappings": [ > > { > > "DeviceName": "/dev/sda1", > > "Ebs": { > > "DeleteOnTermination": false, > > "SnapshotId": "snap-0cb01242fb7d1c3e0", > > "VolumeSize": 10, > > "VolumeType": "gp2", > > "Encrypted": true > > } > > }, > > { > > "DeviceName": "/dev/sdb", > > "Ebs": { > > "DeleteOnTermination": false, > > "SnapshotId": "snap-037ea359f8b20a1cf", > > "VolumeSize": 10, > > "VolumeType": "gp2", > > "Encrypted": true > > } > > } > > ], > > "Architecture": "x86_64", > > "RootDeviceType": "ebs", > > "RootDeviceName": "/dev/sda1", > > "CreationDate": "2018-10-22T19:58:27.000Z", > > "Public": false, > > "ImageType": "machine", > > "Description": "ooh-test-encry-tomcat7" > > } > > ] > > } > > > -- > 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/c7bc3fbb-62af-4395-8480-2eafe74e58b4%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/c7bc3fbb-62af-4395-8480-2eafe74e58b4%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/CALz9Rt-0JA4zBh9ObgzrVaMhpxh%3DsXXrKZvPTZzm4yvZuGM%3DBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
