Since you don't seems to change anything, just remove the
launch_block_device_mappings section of your packer template. Or do you
want to change anything?

On Thu, Jul 11, 2019, 17:49 Greg Coit <[email protected]> wrote:

> This is the describe-images for the Amazon Linux 2 instance I want to
> use:
>
> {
>     "Images": [
>         {
>             "VirtualizationType": "hvm",
>             "Description": "Amazon Linux 2 AMI 2.0.20190618 x86_64 HVM
> gp2",
>             "Hypervisor": "xen",
>             "ImageOwnerAlias": "amazon",
>             "EnaSupport": true,
>             "SriovNetSupport": "simple",
>             "ImageId": "ami-0b898040803850657",
>             "State": "available",
>             "BlockDeviceMappings": [
>                 {
>                     "DeviceName": "/dev/xvda",
>                     "Ebs": {
>                         "Encrypted": false,
>                         "DeleteOnTermination": true,
>                         "VolumeType": "gp2",
>                         "VolumeSize": 8,
>                         "SnapshotId": "snap-08091107f3acb12b2"
>                     }
>                 }
>             ],
>             "Architecture": "x86_64",
>             "ImageLocation":
> "amazon/amzn2-ami-hvm-2.0.20190618-x86_64-gp2",
>             "RootDeviceType": "ebs",
>             "OwnerId": "137112412989",
>             "RootDeviceName": "/dev/xvda",
>             "CreationDate": "2019-06-19T21:59:15.000Z",
>             "Public": true,
>             "ImageType": "machine",
>             "Name": "amzn2-ami-hvm-2.0.20190618-x86_64-gp2"
>         }
>     ]
> }
>
> What I'm attempting to do is launch an instance from this AMI, modify it,
> and make my own AMI.
>
> We're able to do this with Centos7 - I cloned that packer script and
> modified it do the same for Amazon LInux 2.
>
> Thank you,
>
> Greg
>
> --
> 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/be739877-43c8-4883-9f30-794c6510f472%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/be739877-43c8-4883-9f30-794c6510f472%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/CALz9Rt9JKxu8bofj%3DQJ2mLMoffSP%3DKRZZNPp6LrP-u9FrRwsOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to