Use appropriate launch_block_device_mappings or (ami_block_device_mappings)
"launch_block_device_mappings": [ {
"device_name": "/dev/xvda",
"volume_size": 80,
"delete_on_termination": true
} ]
See
https://www.packer.io/docs/builders/amazon-ebs.html#ami_block_device_mappings
Also see this previous thread:
https://groups.google.com/d/msgid/packer-tool/ea501630-7e60-43aa-a543-cb60f90cbaa5%40googlegroups.com?utm_medium=email&utm_source=footer
On Fri, 31 Aug 2018 at 00:12, Arunkumar Janarthanan <
[email protected]> wrote:
> Hi All,
>
> I am trying to copy a ECS-Optimized AMI with encryption enabled and
> default volume size to 80 gig, kindly advise if there is any sample config
> I could use to provision the same.
>
> Thanks,
> Arun Janarthanan
>
> --
> 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/6e270b5f-c6a0-42a8-a522-abf04643f5f8%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/6e270b5f-c6a0-42a8-a522-abf04643f5f8%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/CALz9Rt8M5BzvMBLNa70P%2BOqcjBtSuGQcruHpNA5p-gPeK1j-gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.